RFC pseries exception cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | powerpc: add arch/powerpc/tools directoryarch/ arch/ arch/ +2 more | +88 | 0 replies | |
| 2/14 | powerpc/pseries: remove cross-fixup branches in exception codearch/ | +7 | 0 replies | |
| 3/14 | powerpc: build-time fixup alternate feature relative addressesarch/ arch/ arch/ +9 more | +959 | 1 reply | |
| 4/14 | powerpc/pseries: move decrementer exception vector out of linearch/ arch/ | +14 | 0 replies | |
| 5/14 | powerpc/pseries: 4GB exception handler offsetsarch/ arch/ | +28 | 2 replies | |
| 6/14 | powerpc/pseries: h_facility_unavailable realmode exception locationarch/ | +1 | 0 replies | |
| 7/14 | powerpc/pseries: improved exception vector macrosarch/ arch/ arch/ | +527 | 0 replies | |
| 8/14 | powerpc/pseries: consolidate exception handler alignmentarch/ arch/ | +6 | 0 replies | |
| 9/14 | powerpc/64: use gas sections for arranging exception vectorsarch/ arch/ arch/ +3 more | +367 | 0 replies | |
| 10/14 | powerpc/pseries: move related exception code togetherarch/ | +967 | 0 replies | |
| 11/14 | powerpc/pseries: use single macro for both parts of OOL exceptionarch/ | +17 | 0 replies | |
| 12/14 | powerpc/pseries: remove unused exception code, small cleanupsarch/ | +11 | 0 replies | |
| 13/14 | powerpc/pseries: consolidate slb exceptionsarch/ | +69 | 0 replies | |
| 14/14 | powerpc/pseries: exceptions use short handler load againarch/ arch/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 00/14] pseries exception cleanups
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
Signature · 1 line
2.8.1