From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH 0/5] rework bad stack, sreset, hmi handling
Date: Fri, 28 Jun 2019 16:33:17 +1000 [thread overview]
Message-ID: <20190628063322.11628-1-npiggin@gmail.com> (raw)
These are some significant changes to generated code here, again
with the aim of simplifying and improving code sharing.
Patches 1, 2-3, and 4-5 are independent in case any run into problems.
Last big thing to do is machine check I'll try to send out tonight.
After that we can start more unwinding of macros.
[ BTW, the end game here is that each handler should be able to more or
less specify _what_ it wants to do in macro flags, and the generation
that takes care of _how_ will mostly be in a single place. e.g.,
Rather than some magic combination of EXCEPTION_<number>, it will just
specify that it wants an early realmode handler with an alternate stack. ]
Nicholas Piggin (5):
powerpc/64s/exception: remove bad stack branch
powerpc/64s/exception: optimise system_reset for idle, clean up
non-idle case
powerpc/64s/exception: sreset move trampoline ahead of common code
powerpc/64s/exception: hmi remove special case macro
powerpc/64s/exception: simplify hmi control flow
arch/powerpc/include/asm/exception-64s.h | 7 -
arch/powerpc/include/asm/paca.h | 2 +
arch/powerpc/kernel/asm-offsets.c | 2 +
arch/powerpc/kernel/exceptions-64s.S | 231 ++++++++---------------
arch/powerpc/xmon/xmon.c | 2 +
5 files changed, 86 insertions(+), 158 deletions(-)
--
2.20.1
next reply other threads:[~2019-06-28 6:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-28 6:33 Nicholas Piggin [this message]
2019-06-28 6:33 ` [PATCH 1/5] powerpc/64s/exception: remove bad stack branch Nicholas Piggin
2019-07-04 15:52 ` Michael Ellerman
2019-06-28 6:33 ` [PATCH 2/5] powerpc/64s/exception: optimise system_reset for idle, clean up non-idle case Nicholas Piggin
2019-06-28 6:33 ` [PATCH 3/5] powerpc/64s/exception: sreset move trampoline ahead of common code Nicholas Piggin
2019-06-28 6:33 ` [PATCH 4/5] powerpc/64s/exception: hmi remove special case macro Nicholas Piggin
2019-06-28 6:33 ` [PATCH 5/5] powerpc/64s/exception: simplify hmi control flow 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=20190628063322.11628-1-npiggin@gmail.com \
--to=npiggin@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).