Thread (14 messages) flat view 14 messages, 5 authors, 2016-08-11

Re: powerpc: Fix crash during static key init on ppc32

From: Michael Ellerman <hidden>
Date: 2016-08-11 11:16:44

On Wed, 2016-10-08 at 07:27:34 UTC, Benjamin Herrenschmidt wrote:
We cannot do those initializations from apply_feature_fixups() as
this function runs in a very restricted environment in 32-bit where
the kernel isn't running at its linked address and the PTRRELOC()
macro must be used for any global accesss.

Instead, split them into a separtate steup_feature_keys() function
which is called in a more suitable spot on ppc32.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/97f6e0cc35026a2a09147a6da6

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help