linux_dsm_epyc7002/drivers/net/wireless/b43
Larry Finger c2ff581aca b43: avoid PPC fault during resume
The routine b43_is_hw_radio_enabled() has long been a problem.
For PPC architecture with PHY Revision < 3, a read of the register
B43_MMIO_HWENABLED_LO will cause a CPU fault unless b43_status()
returns a value of 2 (B43_STAT_STARTED) (BUG 14181). Fixing that
results in Bug 14538 in which the driver is unable to reassociate
after resuming from hibernation because b43_status() returns 0.

The correct fix would be to determine why the status is 0; however,
I have not yet found why that happens. The correct value is found for
my device, which has PHY revision >= 3.

Returning TRUE when the PHY revision < 3 and b43_status() returns 0 fixes
the regression for 2.6.32.

This patch fixes the problem in Red Hat Bugzilla #538523.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Christian Casteyde <casteyde.christian@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-04 13:28:49 -05:00
..
b43.h b43: Remove deprecated 'qual' from returned RX status 2009-11-06 16:49:09 -05:00
debugfs.c
debugfs.h
dma.c b43: Rewrite DMA Tx status handling sanity checks 2009-11-23 17:05:28 -05:00
dma.h b43: Rewrite DMA Tx status handling sanity checks 2009-11-23 17:05:28 -05:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
leds.c b43: Don't use struct wldev after detach. 2009-10-07 16:33:49 -04:00
leds.h b43: add 'struct b43_wl' missing declaration 2009-10-27 16:29:46 -04:00
lo.c
lo.h
main.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-11 11:38:16 -08:00
main.h
Makefile
pcmcia.c
pcmcia.h
phy_a.c
phy_a.h
phy_common.c
phy_common.h
phy_g.c
phy_g.h
phy_lp.c b43: LP-PHY: Begin implementing calibration & software RFKILL support 2009-10-30 16:49:18 -04:00
phy_lp.h b43: LP-PHY: Begin implementing calibration & software RFKILL support 2009-10-30 16:49:18 -04:00
phy_n.c
phy_n.h
pio.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-18 22:19:03 -08:00
pio.h
rfkill.c b43: avoid PPC fault during resume 2009-12-04 13:28:49 -05:00
rfkill.h
sdio.c
sdio.h
sysfs.c
sysfs.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c
tables_nphy.h
tables.c
tables.h
wa.c
wa.h
xmit.c b43: Remove deprecated 'qual' from returned RX status 2009-11-06 16:49:09 -05:00
xmit.h b43: Rewrite TX bounce buffer handling 2009-11-11 15:23:40 -05:00