sfc: Fix EEH with legacy interrupts.
PCI legacy interrupts are level-triggered, and we cannot mask them up on an isolated device. Instead, disable the IRQ at the controller until we have recovered. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
3717348840
commit
b28405b0f2
4 changed files with 18 additions and 1 deletions
|
@ -788,6 +788,7 @@ struct efx_nic {
|
|||
const struct efx_nic_type *type;
|
||||
int legacy_irq;
|
||||
bool legacy_irq_enabled;
|
||||
bool eeh_disabled_legacy_irq;
|
||||
struct workqueue_struct *workqueue;
|
||||
char workqueue_name[16];
|
||||
struct work_struct reset_work;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue