[PATCH v2 0/2] arm64/module: Enable late module relocations.

Dylan Hatch posted 2 patches 8 months, 1 week ago
arch/arm64/include/asm/text-patching.h |   2 +-
arch/arm64/kernel/module.c             | 129 ++++++++++++++++---------
arch/arm64/kernel/patching.c           |  12 +--
arch/arm64/net/bpf_jit_comp.c          |   2 +-
4 files changed, 91 insertions(+), 54 deletions(-)
[PATCH v2 0/2] arm64/module: Enable late module relocations.
Posted by Dylan Hatch 8 months, 1 week ago
Late relocations (after the module is initially loaded) are needed when
livepatches change module code. This is supported by x86, ppc, and s390.
This series borrows the x86 methodology to reach the same level of
suuport on arm64.

Dylan Hatch (2):
  arm64: patching: Rename aarch64_insn_copy to text_poke.
  arm64/module: Use text-poke API for late relocations.

 arch/arm64/include/asm/text-patching.h |   2 +-
 arch/arm64/kernel/module.c             | 129 ++++++++++++++++---------
 arch/arm64/kernel/patching.c           |  12 +--
 arch/arm64/net/bpf_jit_comp.c          |   2 +-
 4 files changed, 91 insertions(+), 54 deletions(-)

-- 
2.49.0.604.gff1f9ca942-goog