Re: [PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode

2022-09-26 Thread Nicholas Piggin
On Mon Sep 26, 2022 at 4:18 PM AEST, Ganesh Goudar 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

Re: [PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode

2022-09-26 Thread Sachin Sant
> On 26-Sep-2022, at 11:48 AM, Ganesh Goudar 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

[PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode

2022-09-25 Thread Ganesh Goudar
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 KA