Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.6.2-armv7-x9 patch adds ioremap_nocache which breaks the build #48

Open
Megver83 opened this issue Apr 21, 2020 · 1 comment
Open

Comments

@Megver83
Copy link

As the title says, the patch for 5.6.2 re-adds that unused function to /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c , which breaks the kernel build. This is because Linux 5.6 removed ioremap_noncache:

remove ioremap_nocache and devm_ioremap_nocache
ioremap has provided non-cached semantics by default since the Linux 2.6
days, so remove the additional ioremap_nocache interface.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c?h=v5.6.5&id=4bdc0d676a643140bdf17dbf7eafedee3d496a3c

Simply replacing ioremap_nocache with ioremap fixes the issue. This patch does this.

@RobertCNelson
Copy link
Owner

RobertCNelson commented Apr 21, 2020

Thanks @Megver83 ! All merged (v5.6.x/v5.7.x branches)

I really wish we didn't have a brcmfmac wifi module on the beaglebone-ai, as we have to use the massive patchset to get SoftAp0 working on our module..

https://community.cypress.com/docs/DOC-19375

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants