commit | bae361c54fb6ac6eba3b4762f49ce14beb73ef13 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Apr 26 16:24:40 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 27 11:44:05 2020 -0700 |
tree | 50dd125bfe3b4feaddcf610cea5a375d727d771f | |
parent | 9e68cb0359b20f99c7b070f1d3305e5e0a9fae6d [diff] |
bnxt_en: Improve AER slot reset. Improve the slot reset sequence by disabling the device to prevent bad DMAs if slot reset fails. Return the proper result instead of always PCI_ERS_RESULT_RECOVERED to the caller. Fixes: 6316ea6db93d ("bnxt_en: Enable AER support.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>