linux/Documentation/arch/riscv
Paul Walmsley 08ee155905 prctl: cfi: change the branch landing pad prctl()s to be more descriptive
Per Linus' comments requesting the replacement of "INDIR_BR_LP" in the
indirect branch tracking prctl()s with something more readable, and
suggesting the use of the speculation control prctl()s as an exemplar,
reimplement the prctl()s and related constants that control per-task
forward-edge control flow integrity.

This primarily involves two changes.  First, the prctls are
restructured to resemble the style of the speculative execution
workaround control prctls PR_{GET,SET}_SPECULATION_CTRL, to make them
easier to extend in the future.  Second, the "indir_br_lp" abbrevation
is expanded to "branch_landing_pads" to be less telegraphic.  The
kselftest and documentation is adjusted accordingly.

Link: https://lore.kernel.org/linux-riscv/CAHk-=whhSLGZAx3N5jJpb4GLFDqH_QvS07D+6BnkPWmCEzTAgw@mail.gmail.com/
Cc: Deepak Gupta <debug@rivosinc.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2026-04-04 18:40:58 -06:00
..
acpi.rst
boot-image-header.rst
boot.rst
cmodx.rst RISC-V: Documentation: Add enough title underlines to CMODX 2025-06-05 12:26:07 -07:00
features.rst docs: kernel_feat.py: fix potential command injection 2024-01-11 09:21:01 -07:00
hwprobe.rst riscv: hwprobe: add support for RISCV_HWPROBE_KEY_IMA_EXT_1 2026-01-29 02:38:40 -07:00
index.rst RISC-V updates for v7.0 2026-02-12 19:17:44 -08:00
patch-acceptance.rst
uabi.rst Documentation: riscv: uabi: Clarify ISA spec version for canonical order 2026-01-14 17:16:23 -07:00
vector.rst Documentation: Fix spelling mistakes 2024-09-05 14:35:45 -06:00
vm-layout.rst Revert "RISC-V: mm: Document mmap changes" 2024-08-29 06:03:24 -07:00
zicfilp.rst prctl: cfi: change the branch landing pad prctl()s to be more descriptive 2026-04-04 18:40:58 -06:00
zicfiss.rst riscv: add documentation for shadow stack 2026-01-29 02:38:40 -07:00