RobertCNelson / armv7-multiplatform

MIT License
75 stars 42 forks source link

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

Open Megver83 opened 4 years ago

Megver83 commented 4 years ago

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 commented 4 years ago

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,