From: Michael Ellerman <mpe@ellerman•id.au>
To: Ganesh Goudar <ganeshgr@linux•ibm.com>, linuxppc-dev@lists•ozlabs.org
Cc: Ganesh Goudar <ganeshgr@linux•ibm.com>,
mahesh@linux•ibm.com, npiggin@gmail•com
Subject: Re: [PATCH] powerpc/mce: Remove per cpu variables from MCE handlers
Date: Tue, 08 Dec 2020 21:31:55 +1100 [thread overview]
Message-ID: <871rg0twpw.fsf@mpe.ellerman.id.au> (raw)
In-Reply-To: <20201204102310.76213-1-ganeshgr@linux.ibm.com>
Ganesh Goudar <ganeshgr@linux•ibm.com> writes:
> diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h
> index 9454d29ff4b4..4769954efa7d 100644
> --- a/arch/powerpc/include/asm/paca.h
> +++ b/arch/powerpc/include/asm/paca.h
> @@ -273,6 +274,17 @@ struct paca_struct {
> #ifdef CONFIG_MMIOWB
> struct mmiowb_state mmiowb_state;
> #endif
> +#ifdef CONFIG_PPC_BOOK3S_64
> + int mce_nest_count;
> + struct machine_check_event mce_event[MAX_MC_EVT];
> + /* Queue for delayed MCE events. */
> + int mce_queue_count;
> + struct machine_check_event mce_event_queue[MAX_MC_EVT];
> +
> + /* Queue for delayed MCE UE events. */
> + int mce_ue_count;
> + struct machine_check_event mce_ue_event_queue[MAX_MC_EVT];
> +#endif /* CONFIG_PPC_BOOK3S_64 */
> } ____cacheline_aligned;
How much does this expand the paca by?
pahole can tell you.
cheers
next prev parent reply other threads:[~2020-12-08 10:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 10:23 [PATCH] powerpc/mce: Remove per cpu variables from MCE handlers Ganesh Goudar
2020-12-08 10:31 ` Michael Ellerman [this message]
2020-12-08 10:46 ` Ganesh
2020-12-08 12:04 ` Mahesh Jagannath Salgaonkar
2020-12-09 5:09 ` Michael Ellerman
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=871rg0twpw.fsf@mpe.ellerman.id.au \
--to=mpe@ellerman$(echo .)id.au \
--cc=ganeshgr@linux$(echo .)ibm.com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mahesh@linux$(echo .)ibm.com \
--cc=npiggin@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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