lkml.org 
[lkml]   [2023]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/3] RISC-V: Fix a few kexec_file_load(2) failures
Date
From: Petr Tesarik <petr.tesarik.ext@huawei.com>

The kexec_file_load(2) syscall does not work at least in some kernel
builds. For details see the relevant section in this blog post:

https://sigillatum.tesarici.cz/2023-07-21-state-of-riscv64-kdump.html

This patch series handles additional relocation types and removes the need
to implement a Global Offset Table (GOT) for the purgatory.

Petr Tesarik (2):
riscv/kexec: handle R_RISCV_ADD16 and R_RISCV_SUB16 relocation types
riscv/purgatory: do not link with string.o

Torsten Duwe (1):
riscv/kexec: handle R_RISCV_CALL_PLT relocation type

arch/riscv/kernel/elf_kexec.c | 7 +++++++
arch/riscv/purgatory/Makefile | 9 +--------
2 files changed, 8 insertions(+), 8 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2023-07-25 10:50    [W:0.049 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site