From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH 0/4] powerpc/64: ELFv2 conversion
Date: Fri, 5 May 2023 17:18:46 +1000 [thread overview]
Message-ID: <20230505071850.228734-1-npiggin@gmail.com> (raw)
This series has the steps to remove ELFv1 from the kernel build.
Patch 1 is a build fix, 2 defaults everything to ELFv2, 3 is
really a separate issue that concerns userspace. 4 removes v1
support.
Would like to try getting patch 1 in as a fix, then 2,3 merged in
the next merge window.
Thanks,
Nick
Nicholas Piggin (4):
powerpc/64: Force ELFv2 when building with LLVM linker
powerpc/64: Make ELFv2 the default for big-endian builds
powerpc/64s: Remove support for ELFv1 little endian userspace
powerpc/64: Remove support for kernel's built with ELFv1 ABI
arch/powerpc/Kconfig | 21 ------
arch/powerpc/Makefile | 15 +----
arch/powerpc/boot/Makefile | 4 +-
arch/powerpc/include/asm/code-patching.h | 36 ++--------
arch/powerpc/include/asm/elf.h | 6 ++
arch/powerpc/include/asm/kfence.h | 4 --
arch/powerpc/include/asm/linkage.h | 9 ---
arch/powerpc/include/asm/module.h | 3 -
arch/powerpc/include/asm/ppc_asm.h | 38 +----------
arch/powerpc/include/asm/ptrace.h | 17 +----
arch/powerpc/include/asm/sections.h | 4 --
arch/powerpc/include/asm/thread_info.h | 6 +-
arch/powerpc/kernel/exceptions-64s.S | 2 +-
arch/powerpc/kernel/fadump.c | 6 +-
arch/powerpc/kernel/head_64.S | 5 +-
arch/powerpc/kernel/interrupt_64.S | 4 --
arch/powerpc/kernel/kprobes.c | 39 +----------
arch/powerpc/kernel/misc_64.S | 4 --
arch/powerpc/kernel/module.c | 8 ---
arch/powerpc/kernel/module_64.c | 84 ++++--------------------
arch/powerpc/kernel/trace/ftrace.c | 10 ---
arch/powerpc/kernel/vdso/Makefile | 2 +-
arch/powerpc/kernel/vdso/gettimeofday.S | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 8 ---
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 36 +++++-----
arch/powerpc/kvm/book3s_interrupts.S | 14 ++--
arch/powerpc/kvm/book3s_rmhandlers.S | 12 +---
arch/powerpc/net/bpf_jit.h | 6 --
arch/powerpc/net/bpf_jit_comp.c | 14 ++--
arch/powerpc/net/bpf_jit_comp64.c | 13 ++--
arch/powerpc/platforms/Kconfig.cputype | 6 --
drivers/crypto/vmx/Makefile | 4 --
kernel/extable.c | 2 +-
kernel/trace/ftrace.c | 12 ----
34 files changed, 79 insertions(+), 377 deletions(-)
--
2.40.1
next reply other threads:[~2023-05-05 7:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-05 7:18 Nicholas Piggin [this message]
2023-05-05 7:18 ` [PATCH 1/4] powerpc/64: Force ELFv2 when building with LLVM linker Nicholas Piggin
2023-05-05 21:39 ` Nathan Chancellor
2023-05-05 7:18 ` [PATCH 2/4] powerpc/64: Make ELFv2 the default for big-endian builds Nicholas Piggin
2023-05-05 7:18 ` [PATCH 3/4] powerpc/64s: Remove support for ELFv1 little endian userspace Nicholas Piggin
2023-05-05 7:18 ` [RFC PATCH 4/4] powerpc/64: Remove support for kernel's built with ELFv1 ABI Nicholas Piggin
2023-05-05 8:49 ` Christophe Leroy
2023-05-09 8:25 ` Nicholas Piggin
2023-05-05 8:51 ` [PATCH 0/4] powerpc/64: ELFv2 conversion Christophe Leroy
2023-05-05 12:21 ` Michael Ellerman
2023-05-05 15:08 ` Naveen N. Rao
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=20230505071850.228734-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).