Re: [PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode
From: Sachin Sant <hidden>
Date: 2022-09-26 09:08:09
From: Sachin Sant <hidden>
Date: 2022-09-26 09:08:09
On 26-Sep-2022, at 11:48 AM, Ganesh Goudar [off-list ref] 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 <redacted> --- v2: Force inline few more functions. v3: Adding noinstr to few functions instead of __always_inline. ---
Tested-by: Sachin Sant <redacted> - Sachin