Re: [PATCH 3/8] LoongArch: Add special section entry sizes for KLP support
WangYuli <[email protected]> Fri, 5 Jun 2026 16:38:39 +0800
| Newsgroups | org.kernel.vger.live-patching,dev.linux.lists.llvm,dev.linux.lists.loongarch,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi Dongtai,
Have you actually tested your changes with LLVM?
For example:
asm volatile(
".pushsection .altinstructions, \"aM\", @progbits, "
__stringify(ALT_INSTR_SIZE) "\n\t"
".long 0\n\t"
".popsection\n\t"
);
BTW, "awM" is dangerous, pls see how did x86 do.
And head.S doesn't need to include asm-offsets.h, it seems
stackframe.h has included it.
Thanks,
---
WangYuli