Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] riscv: alternative: Also patch the CFI vDSO
@ 2026-05-04  6:30 Thomas Weißschuh
  2026-05-04  6:30 ` [PATCH 1/4] riscv: vdso: Always declare vdso_start symbols Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2026-05-04  6:30 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Deepak Gupta, Charles Mirabile
  Cc: linux-riscv, linux-kernel, Nam Cao, Thomas Weißschuh

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>


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-07  8:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04  6:30 [PATCH 0/4] riscv: alternative: Also patch the CFI vDSO Thomas Weißschuh
2026-05-04  6:30 ` [PATCH 1/4] riscv: vdso: Always declare vdso_start symbols Thomas Weißschuh
2026-05-04  6:30 ` [PATCH 2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives() Thomas Weißschuh
2026-05-04  6:30 ` [PATCH 3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives() Thomas Weißschuh
2026-05-04  6:30 ` [PATCH 4/4] riscv: alternative: Also patch the CFI vDSO Thomas Weißschuh
2026-06-07  8:00 ` [PATCH 0/4] " patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox