Second round of 64bit PowerPC little endian patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest39 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/39 | powerpc: Fix endian issues in VMX copy loopsarch/ arch/ | +63 | 0 replies | |
| 2/39 | powerpc: Book 3S MMU little endian supportarch/ arch/ arch/ | +46 | 0 replies | |
| 3/39 | powerpc: Fix offset of FPRs in VSX registers in little endian buildsarch/ | +10 | 0 replies | |
| 4/39 | powerpc: PTRACE_PEEKUSR/PTRACE_POKEUSER of FPR registers in little endian buildsarch/ | +4 | 0 replies | |
| 5/39 | powerpc: Little endian builds double word swap VSX state during context save/restorearch/ arch/ | +20 | 0 replies | |
| 6/39 | powerpc: Support endian agnostic MMIOarch/ | +49 | 0 replies | |
| 7/39 | powerpc: Add little endian support for word-at-a-time functionsarch/ | +71 | 0 replies | |
| 8/39 | powerpc: Set MSR_LE bit on little endian buildsarch/ | +6 | 0 replies | |
| 9/39 | powerpc: Reset MSR_LE on signal entryarch/ arch/ | +4 | 0 replies | |
| 10/39 | powerpc: Include the appropriate endianness headerarch/ | +4 | 0 replies | |
| 11/39 | powerpc: endian safe trampolinearch/ arch/ arch/ | +53 | 2 replies | |
| 12/39 | powerpc: Remove open coded byte swap macro in alignment handlerarch/ | +12 | 0 replies | |
| 13/39 | powerpc: Remove hard coded FP offsets in alignment handlerarch/ | +2 | 0 replies | |
| 14/39 | powerpc: Alignment handler shouldn't access VSX registers with TS_FPRarch/ | +1 | 0 replies | |
| 15/39 | powerpc: Add little endian support to alignment handlerarch/ | +63 | 0 replies | |
| 16/39 | powerpc: Handle VSX alignment faults in little endian modearch/ | +33 | 0 replies | |
| 17/39 | powerpc: Use generic checksum code in little endianarch/ arch/ arch/ +1 more | +17 | 0 replies | |
| 18/39 | powerpc: Use generic memcpy code in little endianarch/ arch/ arch/ | +12 | 0 replies | |
| 19/39 | powerpc: uname should return ppc64le/ppcle on little endian buildsarch/ | +11 | 0 replies | |
| 20/39 | powerpc: Little endian fixes for platforms/powernv/opal.carch/ | +1 | 0 replies | |
| 21/39 | powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci.carch/ | +5 | 0 replies | |
| 22/39 | powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci-p5ioc2.carch/ | +2 | 0 replies | |
| 23/39 | powerpc: Little endian sparse clean up for arch/powerpc/platforms/powernv/pci-ioda.carch/ | +2 | 0 replies | |
| 24/39 | powerpc/powernv: Fix endian issues in OPAL RTC driverarch/ | +7 | 0 replies | |
| 25/39 | powerpc/powernv: Fix endian issues in OPAL ICS backendarch/ | +9 | 0 replies | |
| 26/39 | powerpc/powernv: Make OPAL NVRAM device tree accesses endian safearch/ | +2 | 0 replies | |
| 27/39 | powerpc/powernv: Fix endian issues in powernv PCI codearch/ arch/ | +30 | 0 replies | |
| 28/39 | powerpc/powernv: Fix endian issues in OPAL console and udbg backendarch/ arch/ | +20 | 0 replies | |
| 29/39 | powerpc/powernv: Fix OPAL entry and exit in little endian modearch/ | +8 | 0 replies | |
| 30/39 | powerpc/powernv: Don't register exception handlers in little endian modearch/ | +2 | 0 replies | |
| 31/39 | powerpc/powernv: More little endian issues in OPAL RTC driverarch/ arch/ | +12 | 0 replies | |
| 32/39 | powerpc/powernv: Fix some PCI sparse errors and one LE bugarch/ arch/ arch/ +2 more | +19 | 0 replies | |
| 33/39 | powerpc/hvsi: Fix endian issues in HVSI driverarch/ drivers/ | +20 | 0 replies | |
| 34/39 | tty/hvc_opal: powerpc: Make OPAL HVC device tree accesses endian safedrivers/ | +2 | 0 replies | |
| 35/39 | KVM: PPC: Disable KVM on little endian buildsarch/ | +1 | 0 replies | |
| 36/39 | powerpc/kvm/book3s_hv: Add little endian guest supportarch/ arch/ arch/ +2 more | +52 | 7 replies | |
| 37/39 | powerpc: Add ability to build little endian kernelsarch/ arch/ arch/ +1 more | +31 | 0 replies | |
| 38/39 | powerpc: Don't set HAVE_EFFICIENT_UNALIGNED_ACCESS on little endian buildsarch/ | +1 | 0 replies | |
| 39/39 | powerpc: Work around little endian gcc bugarch/ | +1 | 0 replies |
Reviews trailers per patch
None of the 39 patches has a Reviewed-by or Acked-by.
| Patch | Greg Kurz |
|---|---|
| 1/39 | |
| 2/39 | |
| 3/39 | |
| 4/39 | |
| 5/39 | |
| 6/39 | |
| 7/39 | |
| 8/39 | |
| 9/39 | |
| 10/39 | |
| 11/39 | |
| 12/39 | |
| 13/39 | |
| 14/39 | |
| 15/39 | |
| 16/39 | |
| 17/39 | |
| 18/39 | |
| 19/39 | |
| 20/39 | |
| 21/39 | |
| 22/39 | |
| 23/39 | |
| 24/39 | |
| 25/39 | |
| 26/39 | |
| 27/39 | |
| 28/39 | |
| 29/39 | |
| 30/39 | |
| 31/39 | |
| 32/39 | |
| 33/39 | |
| 34/39 | |
| 35/39 | |
| 36/39 | T-b T-b |
| 37/39 | |
| 38/39 | |
| 39/39 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/39] Second round of 64bit PowerPC little endian patches
This patchset fixes little endian issues found in various places including the alignment handler, PCI, and ptrace code.
It also adds little endian support for KVM guests and PowerNV.
Alistair Popple (4):
powerpc: Little endian fixes for platforms/powernv/opal.c
powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci.c
powerpc: Little endian fix for
arch/powerpc/platforms/powernv/pci-p5ioc2.c
powerpc: Little endian sparse clean up for
arch/powerpc/platforms/powernv/pci-ioda.c
Anton Blanchard (22):
powerpc: Fix endian issues in VMX copy loops
powerpc: Book 3S MMU little endian support
powerpc: Fix offset of FPRs in VSX registers in little endian builds
powerpc: PTRACE_PEEKUSR/PTRACE_POKEUSER of FPR registers in little
endian builds
powerpc: Little endian builds double word swap VSX state during
context save/restore
powerpc: Add little endian support for word-at-a-time functions
powerpc: Set MSR_LE bit on little endian builds
powerpc: Reset MSR_LE on signal entry
powerpc: Remove open coded byte swap macro in alignment handler
powerpc: Remove hard coded FP offsets in alignment handler
powerpc: Alignment handler shouldn't access VSX registers with TS_FPR
powerpc: Add little endian support to alignment handler
powerpc: Handle VSX alignment faults in little endian mode
powerpc: Use generic checksum code in little endian
powerpc: Use generic memcpy code in little endian
powerpc: uname should return ppc64le/ppcle on little endian builds powerpc/powernv: More little endian issues in OPAL RTC driver powerpc/powernv: Fix some PCI sparse errors and one LE bug
KVM: PPC: Disable KVM on little endian builds powerpc/kvm/book3s_hv: Add little endian guest support
powerpc: Don't set HAVE_EFFICIENT_UNALIGNED_ACCESS on little endian
builds
powerpc: Work around little endian gcc bug
Benjamin Herrenschmidt (10):
powerpc: endian safe trampoline
powerpc/powernv: Fix endian issues in OPAL RTC driver powerpc/powernv: Fix endian issues in OPAL ICS backend powerpc/powernv: Make OPAL NVRAM device tree accesses endian safe powerpc/powernv: Fix endian issues in powernv PCI code powerpc/powernv: Fix endian issues in OPAL console and udbg backend powerpc/powernv: Fix OPAL entry and exit in little endian mode powerpc/powernv: Don't register exception handlers in little endian
mode
powerpc/hvsi: Fix endian issues in HVSI driver tty/hvc_opal: powerpc: Make OPAL HVC device tree accesses endian safe
Ian Munsie (3):
powerpc: Support endian agnostic MMIO
powerpc: Include the appropriate endianness header
powerpc: Add ability to build little endian kernels
arch/powerpc/Kconfig | 5 +- arch/powerpc/Makefile | 37 +++++- arch/powerpc/boot/Makefile | 3 +- arch/powerpc/include/asm/checksum.h | 5 + arch/powerpc/include/asm/hvsi.h | 16 +-- arch/powerpc/include/asm/io.h | 67 +++++++--- arch/powerpc/include/asm/kvm_host.h | 1 + arch/powerpc/include/asm/mmu-hash64.h | 4 +- arch/powerpc/include/asm/opal.h | 34 +++--- arch/powerpc/include/asm/ppc-opcode.h | 3 + arch/powerpc/include/asm/ppc_asm.h | 52 +++++++- arch/powerpc/include/asm/processor.h | 12 +- arch/powerpc/include/asm/reg.h | 7 +- arch/powerpc/include/asm/string.h | 4 + arch/powerpc/include/asm/word-at-a-time.h | 71 +++++++++++ arch/powerpc/include/uapi/asm/byteorder.h | 4 + arch/powerpc/kernel/align.c | 162 ++++++++++++++++--------- arch/powerpc/kernel/asm-offsets.c | 1 + arch/powerpc/kernel/entry_64.S | 36 +++--- arch/powerpc/kernel/head_64.S | 3 + arch/powerpc/kernel/ppc_ksyms.c | 4 + arch/powerpc/kernel/ptrace.c | 8 +- arch/powerpc/kernel/signal_32.c | 3 +- arch/powerpc/kernel/signal_64.c | 3 +- arch/powerpc/kernel/vdso32/vdso32.lds.S | 4 + arch/powerpc/kernel/vdso64/vdso64.lds.S | 4 + arch/powerpc/kvm/Kconfig | 1 + arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +- arch/powerpc/kvm/book3s_hv.c | 44 +++++++ arch/powerpc/kvm/book3s_hv_rmhandlers.S | 15 +-- arch/powerpc/lib/Makefile | 18 ++- arch/powerpc/lib/copyuser_power7.S | 54 +++++---- arch/powerpc/lib/memcpy_power7.S | 55 +++++---- arch/powerpc/mm/hash_native_64.c | 46 ++++--- arch/powerpc/mm/hash_utils_64.c | 38 +++--- arch/powerpc/platforms/powernv/opal-nvram.c | 4 +- arch/powerpc/platforms/powernv/opal-rtc.c | 12 +- arch/powerpc/platforms/powernv/opal-wrappers.S | 9 +- arch/powerpc/platforms/powernv/opal.c | 34 +++--- arch/powerpc/platforms/powernv/pci-ioda.c | 41 ++++--- arch/powerpc/platforms/powernv/pci-p5ioc2.c | 4 +- arch/powerpc/platforms/powernv/pci.c | 26 ++-- arch/powerpc/platforms/powernv/pci.h | 2 +- arch/powerpc/sysdev/xics/ics-opal.c | 17 +-- drivers/tty/hvc/hvc_opal.c | 4 +- drivers/tty/hvc/hvsi_lib.c | 25 ++-- 46 files changed, 685 insertions(+), 319 deletions(-)
Signature · 1 line
1.8.1.2