Commit fb1e6e5
bnxt_en: Fix AER recovery.
A recent change skips sending firmware messages to the firmware when
pci_channel_offline() is true during fatal AER error. To make this
complete, we need to move the re-initialization sequence to
bnxt_io_resume(), otherwise the firmware messages to re-initialize
will all be skipped. In any case, it is more correct to re-initialize
in bnxt_io_resume().
Also, fix the reverse x-mas tree format when defining variables
in bnxt_io_slot_reset().
Fixes: b340dc6 ("bnxt_en: Avoid sending firmware messages when AER error is detected.")
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 74f88c1 commit fb1e6e5
1 file changed
+14
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12887 | 12887 | | |
12888 | 12888 | | |
12889 | 12889 | | |
| 12890 | + | |
12890 | 12891 | | |
12891 | 12892 | | |
12892 | 12893 | | |
12893 | | - | |
12894 | 12894 | | |
12895 | 12895 | | |
12896 | 12896 | | |
| |||
12919 | 12919 | | |
12920 | 12920 | | |
12921 | 12921 | | |
12922 | | - | |
12923 | | - | |
12924 | | - | |
12925 | | - | |
12926 | | - | |
12927 | | - | |
12928 | | - | |
12929 | | - | |
| 12922 | + | |
12930 | 12923 | | |
12931 | | - | |
12932 | | - | |
12933 | | - | |
12934 | | - | |
12935 | | - | |
12936 | | - | |
12937 | | - | |
12938 | 12924 | | |
12939 | 12925 | | |
12940 | 12926 | | |
| |||
12952 | 12938 | | |
12953 | 12939 | | |
12954 | 12940 | | |
| 12941 | + | |
| 12942 | + | |
12955 | 12943 | | |
| 12944 | + | |
12956 | 12945 | | |
12957 | 12946 | | |
12958 | | - | |
| 12947 | + | |
| 12948 | + | |
| 12949 | + | |
| 12950 | + | |
| 12951 | + | |
| 12952 | + | |
| 12953 | + | |
| 12954 | + | |
| 12955 | + | |
12959 | 12956 | | |
12960 | 12957 | | |
12961 | 12958 | | |
| |||
0 commit comments