Bug 88061
Summary: | brcmfmac lacks proper runtime-pm support | ||
---|---|---|---|
Product: | Networking | Reporter: | Michael Shigorin (mike) |
Component: | Wireless | Assignee: | networking_wireless (networking_wireless) |
Status: | NEW --- | ||
Severity: | enhancement | CC: | aspriel, briannorris, mika.westerberg, natalieportman209, nedirneiseyararblog, ovilewade9, sharmanivedita2019 |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 3.18-rc4 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Michael Shigorin
2014-11-11 18:13:24 UTC
CCing Intel and Broadcom folks who might know innards of Baytrail and brcmfmac. The systems typically come with sdhci-acpi driver used for the SDIO host controller, which does runtime-pm. However, the brcmfmac driver does not support runtime-pm so when host controller goes into runtime suspend the firmware can not communicate with the host and brcmfmac is idle as it waits for firmware response. So please confirm it works with runtime-pm disabled for the host controller through sysfs. To locate the host controller, I think you need to go to /sys/bus/platform/drivers/sdhci-acpi. It can be bound to multiple devices so you have to find the correct one or disable runtime-pm for both. Confirmed: --- bus/platform/drivers/sdhci-acpi/80860F14:00/power/control = on bus/platform/drivers/sdhci-acpi/80860F14:01/power/control = on bus/platform/drivers/sdhci-acpi/INT33BB:00/power/control = on --- /etc/sysfs.conf gets me working wlan0; looks like INT33BB:00 is responsible for wifi on this particular platform. This is a valid workaround, thank you; is the bug still valid as a feature request to implement runtime PM support? Not sure whether bugzilla is to track feature requests. We could add runtime-pm in brcmfmac, but that does not solve this issue. It would require an API that brcmfmac could use to inform the mmc host-controller not to go into runtime-suspend or at least allow the device to wake it up. I did not look into runtime-pm yet but from a quick glance I guess we should use pm_runtime_forbid()/pm_runtime_allow() on mmc_host->parent, which should be the sdhci-acpi device if I am not mistaken. It's definitely up to you, Arend :-) Always glad to test of course. Could this patch be related? https://github.com/AdamWill/baytrail-m/blob/master/kernel/sdhci-pm.patch Actually this was enough: --- bus/platform/drivers/sdhci-acpi/INT33BB:00/power/control = on --- Hello, I'm writing to the old article. Sorry, but I have a problem with kernel 3.18-rc4. Following this post: https://www.tolgabagci.com/en/install-ubuntu/ on my old desktop computer (sorry for the link) I installed an Ubuntu/Linux with the virtual machine on Windows. I am running Ubuntu 14.10 (kernel: 3.18-rc4) on my virtual machine, but I have not been able to install the WiFi with the Realtek RTL8188 chipset I bought recently. What can I do about it? (In reply to rowlandduke from comment #11) > I am running Ubuntu 14.10 (kernel: 3.18-rc4) on my virtual machine, but I That's a severely-out-of-date distribution and kernel. You're not going to get any support from anyone for that. > have not been able to install the WiFi with the Realtek RTL8188 chipset I > bought recently. What can I do about it? This is not the right place for this question. The current report is about Broadcom WiFi, not Realtek. This is also not the right place because a bug tracker is not the right place to ask for support. |