[PACTH v2] powerpc/pseries/mce: Avoid instrumentation in realmode

Sachin Sant sachinp at linux.ibm.com
Tue Sep 6 14:58:34 AEST 2022



> On 05-Sep-2022, at 12:08 PM, Ganesh Goudar <ganeshgr at linux.ibm.com> wrote:
> 
> Part of machine check error handling is done in realmode,
> As of now instrumentation is not possible for any code that
> runs in realmode.
> When MCE is injected on KASAN enabled kernel, crash is
> observed, Hence force inline or mark no instrumentation
> for functions which can run in realmode, to avoid KASAN
> instrumentation.
> 
> Signed-off-by: Ganesh Goudar <ganeshgr at linux.ibm.com>
> ---
> v2: Force inline few more functions.

Thanks for the patch. The test successfully ran to completion.

Tested-by: Sachin Sant <sachinp at linux.ibm.com>



More information about the Linuxppc-dev mailing list