mirror of https://gitee.com/openkylin/linux.git
8f16bc97fa
When using INTa, ISR might be called before device is configured for INTa [E.g., due to other device asserting the shared interrupt line], in which case the ISR would read the SISR registers that shouldn't be read unless HW is already configured for INTa. This might break interrupts later on. There's also an MSI-X issue due to this difference, although it's mostly theoretical. This patch changes the initialization order, calling request_irq() for the slowpath interrupt only after the chip is configured for working in the preferred interrupt mode. Signed-off-by: Sudarsana Kalluru <Sudarsana.Kalluru@qlogic.com> Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
qed.h | ||
qed_cxt.c | ||
qed_cxt.h | ||
qed_dev.c | ||
qed_dev_api.h | ||
qed_hsi.h | ||
qed_hw.c | ||
qed_hw.h | ||
qed_init_fw_funcs.c | ||
qed_init_ops.c | ||
qed_init_ops.h | ||
qed_int.c | ||
qed_int.h | ||
qed_l2.c | ||
qed_main.c | ||
qed_mcp.c | ||
qed_mcp.h | ||
qed_reg_addr.h | ||
qed_sp.h | ||
qed_sp_commands.c | ||
qed_spq.c |