From: Nicholas Piggin <nicholas.piggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Michael Ellerman <mpe@ellerman.id.au>
Subject: [RFC][PATCH 00/14] pseries exception cleanups
Date: Thu, 21 Jul 2016 16:43:59 +1000 [thread overview]
Message-ID: <1469083453-9279-1-git-send-email-npiggin@gmail.com> (raw)
Hi,
This series does two major things. First is to change how our
feature fixup code works, and second is to reorganise exception
vectors for pseries, and that requires the first.
This has not had a huge amount of testing. In particular endian,
cross compiling, embedded, etc. At this point I want to get
something out for comments because it's become quite a large
change.
To that end, it applies to quite an old -linus revision:
d325ea859490511322d1f151dc38577ee9a7c6da
Rebasing takes a bit of work, but I'll bring it up to date if
the response is positive.
Thanks,
Nick
Nicholas Piggin (14):
powerpc: add arch/powerpc/tools directory
powerpc/pseries: remove cross-fixup branches in exception code
powerpc: build-time fixup alternate feature relative addresses
powerpc/pseries: move decrementer exception vector out of line
powerpc/pseries: 4GB exception handler offsets
powerpc/pseries: h_facility_unavailable realmode exception location
powerpc/pseries: improved exception vector macros
powerpc/pseries: consolidate exception handler alignment
powerpc/64: use gas sections for arranging exception vectors
powerpc/pseries: move related exception code together
powerpc/pseries: use single macro for both parts of OOL exception
powerpc/pseries: remove unused exception code, small cleanups
powerpc/pseries: consolidate slb exceptions
powerpc/pseries: exceptions use short handler load again
arch/powerpc/Makefile | 23 +-
arch/powerpc/include/asm/exception-64s.h | 155 +-
arch/powerpc/include/asm/feature-fixups.h | 5 +-
arch/powerpc/include/asm/head-64.h | 351 ++++
arch/powerpc/include/asm/ppc_asm.h | 29 +-
arch/powerpc/kernel/exceptions-64s.S | 2052 ++++++++++-----------
arch/powerpc/kernel/head_64.S | 84 +-
arch/powerpc/kernel/vmlinux.lds.S | 32 +-
arch/powerpc/lib/feature-fixups.c | 19 +-
arch/powerpc/relocs_check.sh | 59 -
arch/powerpc/scripts/gcc-check-mprofile-kernel.sh | 23 -
arch/powerpc/tools/Makefile | 3 +
arch/powerpc/tools/gcc-check-mprofile-kernel.sh | 23 +
arch/powerpc/tools/relocs/.gitignore | 1 +
arch/powerpc/tools/relocs/Makefile | 9 +
arch/powerpc/tools/relocs/code-patching.c | 82 +
arch/powerpc/tools/relocs/code-patching.h | 7 +
arch/powerpc/tools/relocs/elf_sections.c | 337 ++++
arch/powerpc/tools/relocs/elf_sections.h | 50 +
arch/powerpc/tools/relocs/process_relocs.c | 437 +++++
arch/powerpc/tools/relocs_check.sh | 59 +
21 files changed, 2527 insertions(+), 1313 deletions(-)
create mode 100644 arch/powerpc/include/asm/head-64.h
delete mode 100755 arch/powerpc/relocs_check.sh
delete mode 100755 arch/powerpc/scripts/gcc-check-mprofile-kernel.sh
create mode 100644 arch/powerpc/tools/Makefile
create mode 100755 arch/powerpc/tools/gcc-check-mprofile-kernel.sh
create mode 100644 arch/powerpc/tools/relocs/.gitignore
create mode 100644 arch/powerpc/tools/relocs/Makefile
create mode 100644 arch/powerpc/tools/relocs/code-patching.c
create mode 100644 arch/powerpc/tools/relocs/code-patching.h
create mode 100644 arch/powerpc/tools/relocs/elf_sections.c
create mode 100644 arch/powerpc/tools/relocs/elf_sections.h
create mode 100644 arch/powerpc/tools/relocs/process_relocs.c
create mode 100755 arch/powerpc/tools/relocs_check.sh
--
2.8.1
next reply other threads:[~2016-07-21 6:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-21 6:43 Nicholas Piggin [this message]
2016-07-21 6:44 ` [PATCH 01/14] powerpc: add arch/powerpc/tools directory Nicholas Piggin
2016-07-21 6:44 ` [PATCH 02/14] powerpc/pseries: remove cross-fixup branches in exception code Nicholas Piggin
2016-07-21 6:44 ` [PATCH 03/14] powerpc: build-time fixup alternate feature relative addresses Nicholas Piggin
2016-07-21 13:39 ` Nicholas Piggin
2016-07-21 6:44 ` [PATCH 04/14] powerpc/pseries: move decrementer exception vector out of line Nicholas Piggin
2016-07-21 6:44 ` [PATCH 05/14] powerpc/pseries: 4GB exception handler offsets Nicholas Piggin
2016-07-21 14:34 ` David Laight
2016-07-22 7:52 ` Nicholas Piggin
2016-07-21 6:44 ` [PATCH 06/14] powerpc/pseries: h_facility_unavailable realmode exception location Nicholas Piggin
2016-07-21 6:44 ` [PATCH 07/14] powerpc/pseries: improved exception vector macros Nicholas Piggin
2016-07-21 6:44 ` [PATCH 08/14] powerpc/pseries: consolidate exception handler alignment Nicholas Piggin
2016-07-21 6:44 ` [PATCH 09/14] powerpc/64: use gas sections for arranging exception vectors Nicholas Piggin
2016-07-21 6:44 ` [PATCH 10/14] powerpc/pseries: move related exception code together Nicholas Piggin
2016-07-21 6:44 ` [PATCH 11/14] powerpc/pseries: use single macro for both parts of OOL exception Nicholas Piggin
2016-07-21 6:44 ` [PATCH 12/14] powerpc/pseries: remove unused exception code, small cleanups Nicholas Piggin
2016-07-21 6:44 ` [PATCH 13/14] powerpc/pseries: consolidate slb exceptions Nicholas Piggin
2016-07-21 6:44 ` [PATCH 14/14] powerpc/pseries: exceptions use short handler load again 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=1469083453-9279-1-git-send-email-npiggin@gmail.com \
--to=nicholas.piggin@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--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;
as well as URLs for NNTP newsgroup(s).