From: Sachin Sant <sachinp@linux.ibm.com>
To: Ganesh Goudar <ganeshgr@linux.ibm.com>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
mahesh@linux.ibm.com, npiggin@gmail.com
Subject: Re: [PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode
Date: Mon, 26 Sep 2022 14:37:09 +0530 [thread overview]
Message-ID: <C4EF1929-2154-4CFF-96D5-93221E3AAFF3@linux.ibm.com> (raw)
In-Reply-To: <20220926061827.95102-1-ganeshgr@linux.ibm.com>
> On 26-Sep-2022, at 11:48 AM, Ganesh Goudar <ganeshgr@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@linux.ibm.com>
> ---
> v2: Force inline few more functions.
>
> v3: Adding noinstr to few functions instead of __always_inline.
> ---
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
- Sachin
next prev parent reply other threads:[~2022-09-26 9:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 6:18 [PATCH v3] powerpc/pseries/mce: Avoid instrumentation in realmode Ganesh Goudar
2022-09-26 9:07 ` Sachin Sant [this message]
2022-09-26 9:39 ` Nicholas Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C4EF1929-2154-4CFF-96D5-93221E3AAFF3@linux.ibm.com \
--to=sachinp@linux.ibm.com \
--cc=ganeshgr@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.ibm.com \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox