From: Segher Boessenkool <segher@kernel•crashing.org>
To: Christophe Leroy <christophe.leroy@csgroup•eu>
Cc: pmladek@suse•com, peterz@infradead•org,
linux-kernel@vger•kernel.org, paulus@samba•org,
kan.liang@linux•intel.com, mikey@neuling•org,
maddy@linux•ibm.com, haren@linux•ibm.com, aik@ozlabs•ru,
kjain@linux•ibm.com, ravi.bangoria@linux•ibm.com,
john.ogness@linutronix•de, alistair@popple•id.au,
npiggin@gmail•com, jniethe5@gmail•com,
atrajeev@linux•vnet.ibm.com, Xiongwei Song <sxwjean@me•com>,
Xiongwei Song <sxwjean@gmail•com>,
oleg@redhat•com, aneesh.kumar@linux•ibm.com,
akpm@linux-foundation•org, linuxppc-dev@lists•ozlabs.org,
rppt@kernel•org
Subject: Re: [PATCH v3] powerpc/traps: Enhance readability for trap types
Date: Fri, 9 Apr 2021 12:45:06 -0500 [thread overview]
Message-ID: <20210409174506.GH26583@gate.crashing.org> (raw)
In-Reply-To: <70ece993-12bd-335c-d246-914564eb51dd@csgroup.eu>
On Fri, Apr 09, 2021 at 06:14:19PM +0200, Christophe Leroy wrote:
> >+#define INTERRUPT_SYSTEM_RESET 0x100
>
> INT_SRESET
SRESET exists on many PowerPC, it means "soft reset". Not the same
thing at all.
I think "INT" is not a great prefix fwiw, there are many things you can
abbr to "INT".
> >+#define INTERRUPT_DATA_SEGMENT 0x380
>
> INT_DSEG
exceptions-64s.S calls this "DSLB" (I remember "DSSI" though -- but neither
is a very official name). It probably is a good idea to look at that
existing code, not make up even more new names :-)
> >+#define INTERRUPT_DOORBELL 0xa00
>
> INT_DBELL
That saves three characters and makes it very not understandable.
Segher
next prev parent reply other threads:[~2021-04-09 17:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 14:07 [PATCH v3] powerpc/traps: Enhance readability for trap types Xiongwei Song
2021-04-09 16:14 ` Christophe Leroy
2021-04-09 17:45 ` Segher Boessenkool [this message]
2021-04-10 0:04 ` Michael Ellerman
2021-04-10 8:33 ` Xiongwei Song
2021-04-10 9:42 ` Christophe Leroy
2021-04-10 16:46 ` Segher Boessenkool
2021-04-10 8:31 ` Xiongwei Song
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=20210409174506.GH26583@gate.crashing.org \
--to=segher@kernel$(echo .)crashing.org \
--cc=aik@ozlabs$(echo .)ru \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alistair@popple$(echo .)id.au \
--cc=aneesh.kumar@linux$(echo .)ibm.com \
--cc=atrajeev@linux$(echo .)vnet.ibm.com \
--cc=christophe.leroy@csgroup$(echo .)eu \
--cc=haren@linux$(echo .)ibm.com \
--cc=jniethe5@gmail$(echo .)com \
--cc=john.ogness@linutronix$(echo .)de \
--cc=kan.liang@linux$(echo .)intel.com \
--cc=kjain@linux$(echo .)ibm.com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=maddy@linux$(echo .)ibm.com \
--cc=mikey@neuling$(echo .)org \
--cc=npiggin@gmail$(echo .)com \
--cc=oleg@redhat$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=peterz@infradead$(echo .)org \
--cc=pmladek@suse$(echo .)com \
--cc=ravi.bangoria@linux$(echo .)ibm.com \
--cc=rppt@kernel$(echo .)org \
--cc=sxwjean@gmail$(echo .)com \
--cc=sxwjean@me$(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