Re: [PATCH v4 00/14] LoongArch: Add livepatch build (KLP) support

George Guo <[email protected]>
Newsgroups dev.linux.lists.loongarch,dev.linux.lists.llvm,org.kernel.vger.linux-kernel,org.kernel.vger.live-patching
Message-ID <[email protected]>
Hi Huacai,

On Mon, Jul 27, 2026 at 10:15:03PM +0800, Huacai Chen wrote:
> It is better to reorganize this series like this:
>
> objtool/klp: Convert local label references
> objtool/klp: Fix ANNOTATE_DATA_SPECIAL parsing for local label references
> objtool/klp: Add LoongArch jump opcode bytes support
> objtool/klp: Fold LoongArch paired ADD/SUB relocations into PCREL
> objtool/klp: Keep LoongArch tablejump annotation table entries
> objtool/klp: Rewrite PC-relative data references to GOT on LoongArch
> objtool/LoongArch: Add arch_adjusted_addend() for KLP support
> objtool/LoongArch: Enable inline alternative cloning for KLP
> klp-build: use -fPIC and drop direct-extern-access on LoongArch
> klp-build: Add LoongArch syscall patching macro
> LoongArch: Mark special sections for KLP support
> LoongArch: Fix EFI linking with -fdata-sections
> LoongArch: Add livepatch build (KLP) support
> LoongArch: Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY

Done. The series is reordered exactly as above. I re-ran the full klp-build
integration suite under both GCC and Clang, and every test still builds,
loads, and runs. I will send this as v5.

Josh, Joe:

I'd welcome any further comments on the livepatch build patches before
I send v5.

Thanks,
George
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.