You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ARM Optimization making 4.2 impossible to compile #1082
When I tried to compile (today) the 4.2 branch I got:
arch/arm/kernel/built-in.o:(___ksymtab+mmiocpy+0x0): undefined reference to `mmiocpy'
arch/arm/kernel/built-in.o:(___ksymtab+mmioset+0x0): undefined reference to `mmioset'
I have been able to trace this to this patch: 1bd4678 .
If I revert it, I have a compiled and working kernel for Raspberry Pi B. I used the bcmrpi_defconfig + zswap module ( with zbud and lz4 compiled in the kernel). No other change done to the default config.
That is a different problem - it looks to be an ethernet checksum failure. Either there really is a problem in the hardware or there is a bug in the software.
Can you create a new issue for this, giving as much information as you can - steps to reproduce, frequency etc.?
Activity
pelwell commentedon Jul 21, 2015
Yes, same here. On the Pi 1 we use optimised implementations of memcpy and memset. These need the equivalent mmiocpy and mmioset aliases adding.
A patch is imminent.
arch/arm: Add mmiocpy/set aliases for memcpy/set
pelwell commentedon Jul 21, 2015
That works for me now:
Belphemur commentedon Jul 21, 2015
Compile works too !
Since I get those stack trace in dmesg, I don't know to what it's linked. This is before applying your patch.
http://pastie.org/10304085
pelwell commentedon Jul 21, 2015
That is a different problem - it looks to be an ethernet checksum failure. Either there really is a problem in the hardware or there is a bug in the software.
Can you create a new issue for this, giving as much information as you can - steps to reproduce, frequency etc.?
Belphemur commentedon Jul 21, 2015
That what I thought too. Just wanted to be sure it wasn't linked to a memory access failure.
I'll create another issue with my whole dmesg.
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
arch/arm: Add mmiocpy/set aliases for memcpy/set
Improve __copy_to_user and __copy_from_user performance
273 remaining items
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
rpi_1061_df9cb6888e9cc2811241ce0556498ec7b2816c8c
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance
Improve __copy_to_user and __copy_from_user performance