gcc miscompiles csum_tcpudp_magic() on ARMv5

Maxime Bizon mbizon at freebox.fr
Thu Dec 12 12:34:23 EST 2013


On Thu, 2013-12-12 at 15:41 +0000, Russell King - ARM Linux wrote:
> 
> What's more, I've just had this confirmed by compiler people in ARM
> Ltd - we can't rely on the state of the upper 16 bits when passing a
> u16 into an asm().  So, it seems that it _is_ a kernel bug after all.
> 
ok, I was not crazy

thanks for the deeper analysis, I will test your patch ASAP

-- 
Maxime





More information about the linux-arm-kernel mailing list