[PATCH 0/4] riscv: alternative: Also patch the CFI vDSO

Thomas Weißschuh posted 4 patches 1 month, 1 week ago
arch/riscv/include/asm/vdso.h   | 10 +++++-----
arch/riscv/kernel/alternative.c | 14 +++++++-------
2 files changed, 12 insertions(+), 12 deletions(-)
[PATCH 0/4] riscv: alternative: Also patch the CFI vDSO
Posted by Thomas Weißschuh 1 month, 1 week ago
The dedicated vDSO for CFI-enabled userspace can also contain
alternative entries.

It seems the vDSO alternative patching is actually dead code since
commit 0b1d60d6dd9e ("riscv: Fix build with
CONFIG_CC_OPTIMIZE_FOR_SIZE=y"). However new usages will be added 
soonish.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (4):
      riscv: vdso: Always declare vdso_start symbols
      riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()
      riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()
      riscv: alternative: Also patch the CFI vDSO

 arch/riscv/include/asm/vdso.h   | 10 +++++-----
 arch/riscv/kernel/alternative.c | 14 +++++++-------
 2 files changed, 12 insertions(+), 12 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260428-riscv-cfi-vdso-alternative-7d8ad1a1c29c

Best regards,
--  
Thomas Weißschuh <thomas.weissschuh@linutronix.de>