mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 15:16:45 +07:00
bnx2x: do not call link update without HW notification
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
This commit is contained in:
parent
30ae438b12
commit
361c391e23
@ -2847,9 +2847,15 @@ static void bnx2x_attn_int_asserted(struct bnx2x *bp, u32 asserted)
|
||||
|
||||
/* save nig interrupt mask */
|
||||
nig_mask = REG_RD(bp, nig_int_mask_addr);
|
||||
REG_WR(bp, nig_int_mask_addr, 0);
|
||||
|
||||
bnx2x_link_attn(bp);
|
||||
/* If nig_mask is not set, no need to call the update
|
||||
* function.
|
||||
*/
|
||||
if (nig_mask) {
|
||||
REG_WR(bp, nig_int_mask_addr, 0);
|
||||
|
||||
bnx2x_link_attn(bp);
|
||||
}
|
||||
|
||||
/* handle unicore attn? */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user