diff options
author | Michael Chan <michael.chan@broadcom.com> | 2019-01-31 14:31:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-31 12:55:28 -0800 |
commit | 5e66e35aab335b83d9ffb220d8a3a13986a7a60e (patch) | |
tree | 09ea2002d07c2e8954c75fedbf95c4034b6cb654 /net/mac80211/debugfs_netdev.h | |
parent | da0e51716646b8ca2aa91a98463778f4fe526dcd (diff) | |
download | talos-op-linux-5e66e35aab335b83d9ffb220d8a3a13986a7a60e.tar.gz talos-op-linux-5e66e35aab335b83d9ffb220d8a3a13986a7a60e.zip |
bnxt_en: Disable interrupts when allocating CP rings or NQs.
When calling firmware to allocate a CP ring or NQ, an interrupt associated
with that ring may be generated immediately before the doorbell is even
setup after the firmware call returns. When servicing the interrupt, the
driver may crash when trying to access the doorbell.
Fix it by disabling interrupt on that vector until the doorbell is
set up.
Fixes: 697197e5a173 ("bnxt_en: Re-structure doorbells.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/debugfs_netdev.h')
0 files changed, 0 insertions, 0 deletions