]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: Fix UE detection logic for BE3
authorSuresh Reddy <suresh.reddy@broadcom.com>
Thu, 25 May 2017 02:24:38 +0000 (22:24 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 11 Jul 2017 07:10:06 +0000 (00:10 -0700)
commit555f2ddb44321a63fda7c1afe9dc3704fb109b8e
tree7a7a2d4b4427ae6741e0921a4b025c2294a4f6ed
parent8df723c2c2043efc259633c499c123f0e24f9a36
be2net: Fix UE detection logic for BE3

On certain platforms BE3 chips may indicate spurious UEs (unrecoverable
error). Because of the UE detection logic was disabled in the driver
for BE3 chips. Because of this, even in cases of a real UE,
a failover will not occur. This patch re-enables UE detection on BE3
and if a UE is detected, reads the POST register. If the POST register,
reports either a FAT_LOG_STATE or a ARMFW_UE, then it means that a valid
UE occurred in the chip.

Orabug: 26403655

Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/emulex/benet/be_hw.h
drivers/net/ethernet/emulex/benet/be_main.c