Searched hist:"97 f6e0cc35026a2a09147a6da636d901525e1969" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | feature-fixups.h | diff 97f6e0cc35026a2a09147a6da636d901525e1969 Wed Aug 10 02:27:34 CDT 2016 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/32: Fix crash during static key init
We cannot do those initializations from apply_feature_fixups() as this function runs in a very restricted environment on 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.
Fixes: 309b315b6ec6 ("powerpc: Call jump_label_init() in apply_feature_fixups()") Reported-and-tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | feature-fixups.c | diff 97f6e0cc35026a2a09147a6da636d901525e1969 Wed Aug 10 02:27:34 CDT 2016 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/32: Fix crash during static key init
We cannot do those initializations from apply_feature_fixups() as this function runs in a very restricted environment on 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.
Fixes: 309b315b6ec6 ("powerpc: Call jump_label_init() in apply_feature_fixups()") Reported-and-tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | setup_32.c | diff 97f6e0cc35026a2a09147a6da636d901525e1969 Wed Aug 10 02:27:34 CDT 2016 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/32: Fix crash during static key init
We cannot do those initializations from apply_feature_fixups() as this function runs in a very restricted environment on 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.
Fixes: 309b315b6ec6 ("powerpc: Call jump_label_init() in apply_feature_fixups()") Reported-and-tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | setup_64.c | diff 97f6e0cc35026a2a09147a6da636d901525e1969 Wed Aug 10 02:27:34 CDT 2016 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/32: Fix crash during static key init
We cannot do those initializations from apply_feature_fixups() as this function runs in a very restricted environment on 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.
Fixes: 309b315b6ec6 ("powerpc: Call jump_label_init() in apply_feature_fixups()") Reported-and-tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|