Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 373219 Details for
Bug 538523
b43 driver is causing oops on shutdown in F12
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Test patch
b43_rfkill_bandaid (text/plain), 1.69 KB, created by
Larry Finger
on 2009-11-23 19:59:38 UTC
(
hide
)
Description:
Test patch
Filename:
MIME Type:
Creator:
Larry Finger
Created:
2009-11-23 19:59:38 UTC
Size:
1.69 KB
patch
obsolete
>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. > >Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> >Tested-by: Christian Casteyde <casteyde.christian@free.fr> >--- > >Index: wireless-testing/drivers/net/wireless/b43/rfkill.c >=================================================================== >--- wireless-testing.orig/drivers/net/wireless/b43/rfkill.c >+++ wireless-testing/drivers/net/wireless/b43/rfkill.c >@@ -33,9 +33,16 @@ bool b43_is_hw_radio_enabled(struct b43_ > & B43_MMIO_RADIO_HWENABLED_HI_MASK)) > return 1; > } else { >- if (b43_status(dev) >= B43_STAT_STARTED && >- b43_read16(dev, B43_MMIO_RADIO_HWENABLED_LO) >- & B43_MMIO_RADIO_HWENABLED_LO_MASK) >+ /* To prevent CPU fault on PPC, do not read a register >+ * unless the interface is started; however, on resume >+ * for hibernation, this routine is entered early. When >+ * that happens, unconditionally return TRUE. >+ */ >+ if (b43_status(dev) >= B43_STAT_STARTED) { >+ if (b43_read16(dev, B43_MMIO_RADIO_HWENABLED_LO) >+ & B43_MMIO_RADIO_HWENABLED_LO_MASK) >+ return 1; >+ } else > return 1; > } > return 0; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 538523
:
370154
|
370158
| 373219 |
373224