module loading issue/flaw in busy memory situation?

Steffen Rumler steffen.rumler.ext at nsn.com
Fri May 25 17:56:07 EST 2012


Hi,

The basic question is, has the GPR r11 a dedicated function (to point to the previous stack frame)
or is it still a volatile GPR, according to EABI definition ?
In the case of a dedicated function was assigned, the trampoline code generation in

     arch/powerpc/kernel/module_32.c

must be corrected. I'd suggest to use r12 instead of r11, in this case.

Best Regards
Steffen



More information about the Linuxppc-dev mailing list