Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1404 commits
Select commit Hold shift + click to select a range
7ecf0f6
KVM: riscv: selftests: Move sbi definitions to its own header file
atishp04 Apr 20, 2024
1275d78
KVM: riscv: selftests: Add helper functions for extension checks
atishp04 Apr 20, 2024
6c7d0fa
KVM: riscv: selftests: Add Sscofpmf to get-reg-list test
atishp04 Apr 20, 2024
56883ef
KVM: riscv: selftests: Add SBI PMU extension definitions
atishp04 Apr 20, 2024
dd7c9e8
KVM: riscv: selftests: Add SBI PMU selftest
atishp04 Apr 20, 2024
b828f35
KVM: riscv: selftests: Add a test for PMU snapshot functionality
atishp04 Apr 20, 2024
1a18210
KVM: riscv: selftests: Add a test for counter overflow
atishp04 Apr 20, 2024
1d72d12
KVM: riscv: selftests: Add commandline option for SBI PMU test
atishp04 Apr 20, 2024
5835995
riscv: Use hugepage mappings for vmemmap
Dec 14, 2023
9142fca
riscv: mm: Properly forward vmemmap_populate() altmap parameter
bjorn-rivos Jun 5, 2024
b81a2e6
riscv: mm: Pre-allocate vmemmap/direct map/kasan PGD entries
bjorn-rivos Jun 5, 2024
c80aa64
riscv: mm: Change attribute from __init to __meminit for page functions
bjorn-rivos Jun 5, 2024
cd4f49c
riscv: mm: Refactor create_linear_mapping_range() for memory hot add
bjorn-rivos Jun 5, 2024
697e7de
riscv: mm: Add pfn_to_kaddr() implementation
bjorn-rivos Jun 5, 2024
41dc690
riscv: mm: Add memory hotplugging support
bjorn-rivos Jun 5, 2024
0befad6
riscv: mm: Take memory hotplug read-lock during kernel page table dump
bjorn-rivos Jun 5, 2024
57387a4
riscv: Enable memory hotplugging for RISC-V
bjorn-rivos Jun 5, 2024
a87dba9
virtio-mem: Enable virtio-mem for RISC-V
bjorn-rivos Jun 5, 2024
3de689e
riscv: mm: Add support for ZONE_DEVICE
bjorn-rivos Jun 5, 2024
e341c76
riscv: Enable DAX VMEMMAP optimization
bjorn-rivos Jun 5, 2024
9ec9ccd
perf vendor events riscv: fix lrw core PMU event mapping
ztelin Feb 5, 2026
0bab0dc
riscv: Improve PTDUMP to show RSW with non-zero value
lyctw Sep 21, 2023
f630ca7
riscv: Introduce PBMT field to PTDUMP
lyctw Sep 21, 2023
a313e0b
riscv: Introduce NAPOT field to PTDUMP
lyctw Sep 21, 2023
0c1b1c2
riscv: Improve flush_tlb_range() for hugetlb pages
Oct 30, 2023
1a54196
riscv: Add support for BATCHED_UNMAP_TLB_FLUSH
Jan 8, 2024
e08114f
riscv: Fix arch_tlbbatch_flush() by clearing the batch cpumask
Jan 30, 2024
bf5d008
riscv: mm: Fix prototype to avoid discarding const
SiFiveHolland Mar 1, 2024
abcc2ff
perf tools: Address python 3.6 DeprecationWarning for string scapes
BenjaminGrayNp1 Sep 12, 2023
7e18550
perf arch events: Fix duplicate RISC-V SBI firmware event name
dslin1010 Jul 19, 2024
75b5246
perf top: Remove needless malloc(0) call that triggers -Walloc-size
Dec 4, 2023
65b93d2
perf tools: Fix calloc() arguments to address error introduced in gcc-14
Jan 6, 2024
79dbd1c
riscv: hwprobe: export Zabha extension
Apr 21, 2025
962ecab
riscv: Add ISA extension parsing for Zalasr
luxukernel Oct 20, 2025
7169760
dt-bindings: riscv: Add Zalasr ISA extension description
luxukernel Oct 20, 2025
cb54b1f
riscv: hwprobe: Export Zalasr extension
luxukernel Oct 20, 2025
aca9fc5
riscv: Introduce Zalasr instructions
luxukernel Oct 20, 2025
5e501b5
riscv: hwprobe: Add thead vendor extension probing
charlie-rivos Nov 14, 2024
274a1c3
riscv: hwprobe: Document SiFive xsfvqmaccdod and xsfvqmaccqoq vendor …
cyanyang-sifive Apr 18, 2025
016698c
riscv: hwprobe: Add SiFive vendor extension support and probe for xsf…
cyanyang-sifive Apr 18, 2025
b311d8b
riscv: hwprobe: Add MIPS vendor extension probing
aleksapaunovic-htec Jul 24, 2025
9489093
riscv: hwprobe: Expose Zicbop extension and its block size
yaozihong Nov 18, 2025
819c0d3
RISC-V: KVM: Change zicbom/zicboz block size to depend on the host isa
zcxGGmu Aug 8, 2025
83f1f47
RISC-V: KVM: Provide UAPI for Zicbop block size
zcxGGmu Aug 8, 2025
34f4f11
RISC-V: KVM: Allow Zicbop extension for Guest/VM
zcxGGmu Aug 8, 2025
f3e8fec
RISC-V: KVM: Allow bfloat16 extension for Guest/VM
zcxGGmu Aug 8, 2025
22c577c
KVM: riscv: selftests: Add Zicbop extension to get-reg-list test
zcxGGmu Aug 8, 2025
5c932c8
RISC-V: KVM: Allow Zalasr extensions for Guest/VM
luxukernel Oct 20, 2025
a7bc6ce
Revert "chore: use xuantie instead of thead"
Mar 10, 2026
1a9c5f6
Revert "dts: th1520: add vdec venc and video mem device node"
Mar 10, 2026
9b25c81
Revert "dtb:lipi:enable VI module config"
Mar 10, 2026
62392f2
Revert "dts: th1520: add cpu thermal node and device thermal node"
Mar 10, 2026
c071ca7
Revert "dts: th1520: add th1520-a-val-crash.dts and th1520-lpi4a-prod…
Mar 10, 2026
9cb0d6b
Revert "dts: th1520: to add npu device node"
Mar 10, 2026
e5f236c
Revert "dts: th1520: add npu device node"
Mar 10, 2026
fc429ec
Revert "dts: th1520: add cpu thermal node and device thermal node"
Mar 10, 2026
870f5dd
Revert "dts: add GPU device node"
Mar 10, 2026
00ac4fa
Revert "drivers: pmdomain: support th1520 Power domain control."
Mar 10, 2026
a9fc29e
Revert "dts:th1520-a: add th1520-a-val.dts and th1520-a-val-sec.dts"
Mar 10, 2026
c3f5cc6
Revert "audio: th1520: add soundcard dts node of th1520-a-val board"
Mar 10, 2026
4ddb38c
Revert "dts: th1520: to modify rvbook dts"
Mar 10, 2026
094dabb
Revert "drivers: cpufreq: add cpufreq driver."
Mar 10, 2026
6d3056a
Revert "firmware: thead: c910_aon: add th1520 Aon protocol driver"
Mar 10, 2026
419eb83
Revert "drivers/watchdog: Add THEAD TH1520 pmic watchdog driver"
Mar 10, 2026
4ba0e49
Revert "drivers: regulator: add th1520 AON virtual regulator control …
Mar 11, 2026
2494f76
Revert "add c906 audio support"
Mar 11, 2026
77a48eb
Revert "drivers/soc/event: Add THEAD TH1520 event driver"
Mar 11, 2026
b3aac0a
Revert "regdump:add regdump support for lpi4a and light-a && rename s…
Mar 11, 2026
1459d96
firmware: thead: Add AON firmware protocol driver
Mar 11, 2025
caae497
pmdomain: thead: Add power-domain driver for TH1520
Mar 11, 2025
27a175c
pmdomain: thead: fix TH1520_AON_PROTOCOL dependency
arndb Mar 14, 2025
4ace54e
pmdomain: Prepare to move Kconfig files into the pmdomain subsystem
Sep 11, 2023
6159883
dt-bindings: power: Add TH1520 SoC power domains
Mar 11, 2025
59f596c
pmdomain: core: constify of_phandle_args in xlate
krzk Feb 8, 2024
7c24944
riscv: dts: thead: Introduce power domain nodes with aon firmware
Feb 19, 2025
d4b6faa
riscv: Fix the __riscv_copy_vec_words_unaligned implementation
Feb 28, 2025
9039662
riscv: Fix missing __free_pages() in check_vector_unaligned_access()
Feb 28, 2025
66a72b8
riscv: misaligned: fix sleeping function called during misaligned acc…
nylon7 Apr 11, 2025
ac91d94
riscv: misaligned: Add handling for ZCB instructions
nylon7 Apr 11, 2025
fa8b079
riscv: misaligned: factorize trap handling
clementleger Apr 22, 2025
33611e4
riscv: misaligned: enable IRQs while handling misaligned accesses
clementleger Apr 22, 2025
18991d0
riscv: misaligned: use get_user() instead of __get_user()
clementleger Apr 22, 2025
49b9cab
riscv: Add tracepoints for SBI calls and returns
SiFiveHolland Mar 21, 2024
b23cd9e
riscv: Improve sbi_ecall() code generation by reordering arguments
Mar 22, 2024
5d6fe55
riscv: Fix RISCV_ALTERNATIVE_EARLY
Aug 29, 2024
7ef4be7
riscv: Fix unaligned access info messages
Apr 9, 2025
63d9153
KVM: define __KVM_HAVE_GUEST_DEBUG unconditionally
bonzini Jan 11, 2024
1f34681
RISC-V: KVM: Implement kvm_arch_vcpu_ioctl_set_guest_debug()
Du-Chao Apr 2, 2024
9c42996
RISC-V: KVM: Handle breakpoint exits for VCPU
Du-Chao Apr 2, 2024
f58b6e0
RISC-V: KVM: selftests: Add ebreak test support
Du-Chao Apr 2, 2024
77f3b97
riscv: sbi: add Firmware Feature (FWFT) SBI extensions definitions
clementleger May 23, 2025
c3a76d6
riscv: sbi: remove useless parenthesis
clementleger May 23, 2025
cf91bb3
riscv: sbi: add new SBI error mappings
clementleger May 23, 2025
6bed28b
riscv: sbi: add FWFT extension interface
clementleger May 23, 2025
85c0252
riscv: sbi: add SBI FWFT extension calls
clementleger May 23, 2025
0602983
riscv: misaligned: request misaligned exception from SBI
clementleger May 23, 2025
0af94e9
riscv: misaligned: use on_each_cpu() for scalar misaligned access pro…
clementleger May 23, 2025
65a1336
riscv: misaligned: declare misaligned_access_speed under CONFIG_RISCV…
clementleger May 23, 2025
6575dea
riscv: misaligned: move emulated access uniformity check in a function
clementleger May 23, 2025
e0cc150
riscv: misaligned: add a function to check misalign trap delegability
clementleger May 23, 2025
50a7da9
RISC-V: KVM: add SBI extension init()/deinit() functions
clementleger May 23, 2025
71a1249
RISC-V: KVM: add SBI extension reset callback
clementleger May 23, 2025
51dcb00
RISC-V: KVM: add support for FWFT SBI extension
clementleger May 23, 2025
b109600
RISC-V: KVM: add support for SBI_FWFT_MISALIGNED_DELEG
clementleger May 23, 2025
6ab31c3
riscv: traps_misaligned: properly sign extend value in misaligned loa…
andreas-schwab Jul 10, 2025
efbfb4b
riscv: Fix typo EXRACT -> EXTRACT
Jun 20, 2025
0a3da80
riscv: Strengthen duplicate and inconsistent definition of RV_X()
Jun 20, 2025
c0b1207
riscv: Move all duplicate insn parsing macros into asm/insn.h
Jun 20, 2025
adf790e
Revert "riscv: misaligned: fix sleeping function called during misali…
covanam Jun 20, 2025
f1001a9
riscv: k1: add MUSE Pi Pro device tree
Mar 24, 2026
bd235b4
riscv: k1: add MUSE Pi device tree
Mar 30, 2026
d358c29
riscv: k1: add Milk-V Jupiter device tree
Mar 30, 2026
f4f56a3
riscv: k1: add OrangePi RV2 device tree
Mar 30, 2026
3d10127
Revert "audio: th1520: to support tdm/spdif feature"
Mar 12, 2026
1c78a3d
Revert "dts: audio: to support i2s-8ch feature"
Mar 12, 2026
53f39cc
Revert "audio: th1520: add tdm driver for XuanTie TH1520 SoC"
Mar 12, 2026
1de3a40
Revert "i2s: add i2s driver for XuanTie TH1520 SoC"
Mar 12, 2026
24ca848
ACPI: property: Support using strings in reference properties
rafaeljw Nov 6, 2023
cd5e0b4
Documentation: ACPI: Use all-string data node references
Apr 9, 2025
5646135
dev_printk: add new dev_err_probe() helpers
nunojsa Jun 6, 2024
53d5cd6
kernel.h: removed REPEAT_BYTE from kernel.h
Dec 26, 2023
47dd4bf
lib/string: shrink lib/string.i via IWYU
Dec 26, 2023
b02bdc4
driver core: Split devres APIs to device/devres.h
andy-shev Feb 12, 2025
cbf2316
dt-bindings: mailbox: Add bindings for RPMI shared memory transport
avpatel Aug 18, 2025
984112d
dt-bindings: mailbox: Add bindings for RISC-V SBI MPXY extension
avpatel Aug 18, 2025
afae965
RISC-V: Add defines for the SBI message proxy extension
avpatel Aug 18, 2025
d2a6a3c
mailbox: Add common header for RPMI messages sent via mailbox
avpatel Aug 18, 2025
e194b86
byteorder: Add memcpy_to_le32() and memcpy_from_le32()
avpatel Aug 18, 2025
8e47f6c
mailbox: Add RISC-V SBI message proxy (MPXY) based mailbox driver
avpatel Aug 18, 2025
1c7a0b3
dt-bindings: clock: Add RPMI clock service message proxy bindings
avpatel Aug 18, 2025
917c891
dt-bindings: clock: Add RPMI clock service controller bindings
avpatel Aug 18, 2025
b56b39b
clk: Add clock driver for the RISC-V RPMI clock service group
pathakraul Aug 18, 2025
136bcb2
dt-bindings: Add RPMI system MSI message proxy bindings
avpatel Aug 18, 2025
3dac755
dt-bindings: Add RPMI system MSI interrupt controller bindings
avpatel Aug 18, 2025
a4f18ae
irqchip: Add driver for the RPMI system MSI service group
avpatel Aug 18, 2025
8399433
ACPI: property: Refactor acpi_fwnode_get_reference_args() to support …
vlsunil Aug 18, 2025
da3e029
ACPI: Add support for nargs_prop in acpi_fwnode_get_reference_args()
vlsunil Aug 18, 2025
6630d45
ACPI: scan: Update honor list for RPMI System MSI
vlsunil Aug 18, 2025
eab9e5c
ACPI: RISC-V: Create interrupt controller list in sorted order
vlsunil Aug 18, 2025
7378a6d
ACPI: RISC-V: Add support to update gsi range
vlsunil Aug 18, 2025
83be129
ACPI: RISC-V: Add RPMI System MSI to GSI mapping
vlsunil Aug 18, 2025
2e75a7d
irqchip/irq-riscv-imsic-early: Export imsic_acpi_get_fwnode()
vlsunil Aug 18, 2025
16d85c7
mailbox/riscv-sbi-mpxy: Add ACPI support
vlsunil Aug 18, 2025
c76f43e
irqchip/riscv-rpmi-sysmsi: Add ACPI support
vlsunil Aug 18, 2025
a5d9a13
RISC-V: Enable GPIO keyboard and event device in RV64 defconfig
avpatel Aug 18, 2025
933e4a9
MAINTAINERS: Add entry for RISC-V RPMI and MPXY drivers
avpatel Aug 18, 2025
416e27c
Revert "riscv:dts:thead: Add TH1520 event and watchdog device node"
Mar 12, 2026
8f1857c
clk: Kconfig: Restore thead clock driver Kconfig inclusion
Apr 17, 2026
fdb3e23
riscv: dts: thead: Fix aon node for OpenSBI compatibility
Apr 20, 2026
c56ed7c
Revert "reset: th1520: to support npu/fce reset feature"
Mar 12, 2026
0be51a3
Revert "reset: Add th1520 reset driver support"
Mar 12, 2026
4c54cb9
Revert "dt-bindings: reset: Document th1520 reset control"
Mar 12, 2026
615a597
dt-bindings: reset: Add T-HEAD TH1520 SoC Reset Controller
Mar 3, 2025
feb7559
reset: thead: Add TH1520 reset controller driver
Mar 3, 2025
8fb52c8
riscv: dts: thead: th1520: Add GPU clkgen reset to AON node
Jun 26, 2025
c0e6d0c
riscv: kvm: Use SYM_*() assembly macros instead of deprecated ones
clementleger Oct 24, 2023
2028fcb
riscv: kvm: use ".L" local labels in assembly when applicable
clementleger Oct 24, 2023
6f2a0f2
riscv: stacktrace: Add USER_STACKTRACE support
ruanjinjie-eng Jul 8, 2024
d02d233
riscv: perf: add guest vs host distinction
zcxGGmu Oct 15, 2024
93210af
riscv: KVM: add basic support for host vs guest profiling
zcxGGmu Oct 15, 2024
dd9fea0
RISC-V: KVM: Order the object files alphabetically
avpatel Oct 20, 2024
e8f9dd7
RISC-V: KVM: Save/restore HSTATUS in C source
avpatel Oct 20, 2024
a9cc985
RISC-V: KVM: Save/restore SCOUNTEREN in C source
avpatel Oct 20, 2024
ac54155
RISC-V: KVM: Break down the __kvm_riscv_switch_to() into macros
avpatel Oct 20, 2024
d68ba0c
RISC-V: KVM: Replace aia_set_hvictl() with aia_hvictl_value()
avpatel Oct 20, 2024
15596fc
RISC-V: KVM: Don't setup SGEI for zero guest external interrupts
avpatel Oct 20, 2024
0389c88
RISC-V: Add defines for the SBI nested acceleration extension
avpatel Oct 20, 2024
565dc78
RISC-V: KVM: Add common nested acceleration support
avpatel Oct 20, 2024
b71f61e
RISC-V: KVM: Use nacl_csr_xyz() for accessing H-extension CSRs
avpatel Oct 20, 2024
3789f06
RISC-V: KVM: Use nacl_csr_xyz() for accessing AIA CSRs
avpatel Oct 20, 2024
8f54dc9
RISC-V: KVM: Use SBI sync SRET call when available
avpatel Oct 20, 2024
c8034db
RISC-V: KVM: Save trap CSRs in kvm_riscv_vcpu_enter_exit()
avpatel Oct 20, 2024
f62dc7f
RISC-V: KVM: Use NACL HFENCEs for KVM request based HFENCEs
avpatel Oct 20, 2024
8485afb
RISC-V: KVM: set 'vlenb' in kvm_riscv_vcpu_alloc_vector_context()
danielhb Dec 5, 2023
7594581
RISC-V: KVM: add 'vlenb' Vector CSR
danielhb Dec 5, 2023
cb2a9c3
RISC-V: KVM: fix stack overrun when loading vlenb
radimkrcmar Aug 5, 2025
9edc75e
RISC-V: KVM: Check kvm_riscv_vcpu_alloc_vector_context() return value
avpatel Jun 18, 2025
a648c2a
RISC-V: KVM: Drop the return value of kvm_riscv_vcpu_aia_init()
avpatel Jun 18, 2025
c2b71ba
RISC-V: KVM: Rename and move kvm_riscv_local_tlb_sanitize()
avpatel Jun 18, 2025
3151ba5
RISC-V: KVM: Replace KVM_REQ_HFENCE_GVMA_VMID_ALL with KVM_REQ_TLB_FLUSH
avpatel Jun 18, 2025
45698a4
RISC-V: KVM: Don't flush TLB when PTE is unchanged
avpatel Jun 18, 2025
30fc9e1
RISC-V: KVM: Implement kvm_arch_flush_remote_tlbs_range()
avpatel Jun 18, 2025
c75ed7c
RISC-V: KVM: Use ncsr_xyz() in kvm_riscv_vcpu_trap_redirect()
avpatel Jun 18, 2025
49537ba
RISC-V: KVM: Factor-out MMU related declarations into separate headers
avpatel Jun 18, 2025
8c96aac
RISC-V: KVM: Introduce struct kvm_gstage_mapping
avpatel Jun 18, 2025
1e3f853
RISC-V: KVM: Add vmid field to struct kvm_riscv_hfence
avpatel Jun 18, 2025
aba695a
RISC-V: KVM: Factor-out g-stage page table management
avpatel Jun 18, 2025
e77eaa8
RISC-V: KVM: Pass VMID as parameter to kvm_riscv_hfence_xyz() APIs
avpatel Jun 18, 2025
b1a96f6
riscv: Support huge pfnmaps
abrestic-rivos Jan 8, 2025
b4d0add
RISC-V: KVM: Transparent huge page support
Nov 27, 2025
37b33f8
riscv: Fix sparse warning about different address spaces
Sep 3, 2025
ebff58e
riscv: uaccess: Fix -Wuninitialized and -Wshadow in __put_user_nocheck
nathanchance Jul 16, 2025
7d1e89e
riscv: uaccess: fix __put_user_nocheck for unaligned accesses
aurel32 Jul 24, 2025
0fcaa7b
RISC-V: uaccess: Wrap the get_user_8 uaccess macro
palmer-dabbelt Jun 10, 2025
b18ee1a
riscv: Fix sparse warning in __get_user_error()
Sep 3, 2025
0d61cc4
riscv: uaccess: Only restore the CSR_STATUS SUM bit
cyrilbur-tenstorrent Jun 2, 2025
d5a3929
RISC-V: KVM: Skip THP support check during dirty logging
yechao-w Feb 26, 2026
db51164
RISC-V: KVM: Fix lost write protection on huge pages during dirty log…
yechao-w Mar 30, 2026
ced3591
RISC-V: KVM: Split huge pages during fault handling for dirty logging
yechao-w Mar 30, 2026
136df7a
RISC-V: KVM: Fix use-after-free in kvm_riscv_gstage_get_leaf()
6eanut Feb 2, 2026
8f5af31
Merge pull request #264 from yechao-w/vlenb
sterling-teng May 12, 2026
998334e
Merge pull request #266 from uestc-gr/uaccess-bugfix
sterling-teng May 12, 2026
b709bb3
Merge pull request #267 from yechao-w/thp-split
sterling-teng May 19, 2026
d2c042c
arch: Reserve map_shadow_stack() syscall number for all architectures
sohilmeh Sep 14, 2023
3be3fef
riscv: signal: abstract header saving for setup_sigcontext
AndybnACT Nov 13, 2025
6162c21
random: vDSO: add missing c-getrandom-y in Makefile
chleroy Aug 22, 2024
b2126aa
RISC-V: vDSO: Wire up getrandom() vDSO implementation
xry111 Apr 11, 2025
389f5ea
riscv: entry: Convert ret_from_fork() to C
charlie-rivos Mar 20, 2025
a29eafa
riscv: entry: Split ret_from_fork() into user and kernel
charlie-rivos Mar 20, 2025
043a9d6
riscv: hwprobe: do not produce frtace relocation
visaev-sc Mar 13, 2024
2294edb
kbuild: use $(obj)/ instead of $(src)/ for common pattern rules
masahir0y Apr 27, 2024
86412b4
mm: add VM_SHADOW_STACK definition for riscv
deepak0414 Jan 26, 2026
ba308ce
dt-bindings: riscv: document zicfilp and zicfiss in extensions.yaml
deepak0414 Jan 26, 2026
c3d2e5f
riscv: zicfiss / zicfilp enumeration
deepak0414 Jan 26, 2026
3862a0c
riscv: add Zicfiss / Zicfilp extension CSR and bit definitions
deepak0414 Jan 26, 2026
9672aeb
riscv: Add usercfi state for task and save/restore of CSR_SSP on trap…
deepak0414 Jan 26, 2026
5f34d4b
riscv/mm: ensure PROT_WRITE leads to VM_READ | VM_WRITE
deepak0414 Jan 26, 2026
8b32d10
riscv/mm: manufacture shadow stack ptes
deepak0414 Jan 26, 2026
3d30a24
riscv/mm: teach pte_mkwrite to manufacture shadow stack PTEs
deepak0414 Jan 26, 2026
0aa6fa8
riscv/mm: update write protect to work on shadow stacks
deepak0414 Jan 26, 2026
9760733
riscv/mm: Implement map_shadow_stack() syscall
deepak0414 Jan 26, 2026
4b5027b
riscv/shstk: If needed allocate a new shadow stack on clone
deepak0414 Jan 26, 2026
7ccd042
riscv: Implement arch-agnostic shadow stack prctls
deepak0414 Jan 26, 2026
f27002b
prctl: arch-agnostic prctl for shadow stack
broonie Oct 1, 2024
0af9617
mman: Add map_shadow_stack() flags
broonie Oct 1, 2024
e9c10f5
prctl: add arch-agnostic prctl()s for indirect branch tracking
deepak0414 Jan 26, 2026
db3c5d7
riscv: Implement indirect branch tracking prctls
deepak0414 Jan 26, 2026
66e6186
riscv/traps: Introduce software check exception and uprobe handling
deepak0414 Jan 26, 2026
56cc7be
riscv/signal: save and restore the shadow stack on a signal
deepak0414 Jan 26, 2026
e3fc28e
riscv/kernel: update __show_regs() to print shadow stack register
deepak0414 Jan 26, 2026
840d58b
riscv/ptrace: expose riscv CFI status and state via ptrace and in cor…
deepak0414 Jan 26, 2026
bc592f1
riscv: hwprobe: add support for RISCV_HWPROBE_KEY_IMA_EXT_1
Jan 26, 2026
9fcd851
riscv/hwprobe: add zicfilp / zicfiss enumeration in hwprobe
deepak0414 Jan 26, 2026
3a195d1
riscv: add kernel command line option to opt out of user CFI
deepak0414 Jan 26, 2026
10b7f03
riscv: enable kernel access to shadow stack memory via the FWFT SBI call
deepak0414 Jan 26, 2026
9045f98
riscv: Check that vdso does not contain any dynamic relocations
Oct 16, 2024
2e8692e
arch/riscv: compile vdso with landing pad and shadow stack note
cwshu Jan 26, 2026
1fa0a46
arch/riscv: add dual vdso creation logic and select vdso based on hw
deepak0414 Jan 26, 2026
6a9ee86
riscv: create a Kconfig fragment for shadow stack and landing pad sup…
deepak0414 Jan 26, 2026
16ce3cb
riscv: add documentation for landing pad / indirect branch tracking
deepak0414 Jan 26, 2026
d3a111b
riscv: add documentation for shadow stack
deepak0414 Jan 26, 2026
925b5ad
kselftest/riscv: add kselftest for user mode CFI
deepak0414 Jan 26, 2026
eaca05e
riscv: use _BITUL macro rather than BIT() in ptrace uapi and kselftests
Apr 2, 2026
2dfc2ec
riscv: ptrace: cfi: fix "PRACE" typo in uapi header
Apr 5, 2026
de752c7
riscv: ptrace: expand "LP" references to "branch landing pads" in uap…
Apr 5, 2026
9cd5d41
prctl: rename branch landing pad implementation functions to be more …
Apr 5, 2026
0ae6770
riscv: ptrace: cfi: expand "SS" references to "shadow stack" in uapi …
Apr 5, 2026
ce13a5a
riscv: cfi: clear CFI lock status in start_thread()
zongbox Apr 5, 2026
bd6f6b2
prctl: cfi: change the branch landing pad prctl()s to be more descrip…
Apr 5, 2026
72c8db9
selftests: riscv: Add license to cfi selftest
thecharlesjenkins Apr 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
73 changes: 73 additions & 0 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: rvck-kernel-build

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"

env:
wget_alias: 'wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 0'
ARCH: riscv
board: th1520
KBUILD_BUILD_USER: builder
KBUILD_BUILD_HOST: revyos-riscv-builder
KDEB_COMPRESS: none
KDEB_CHANGELOG_DIST: unstable

jobs:
kernel:
strategy:
fail-fast: false
matrix:
include:
- name: native
cross: riscv64-linux-gnu-
machine: [ self-hosted, Linux, riscv64 ]
run_image: ghcr.io/revyos/revyos-kernel-builder:riscv64-2024.04.02

runs-on: ${{ matrix.machine }}
container:
image: ${{ matrix.run_image }}
env:
CROSS_COMPILE: ${{ matrix.cross }}

steps:
- name: Checkout kernel
uses: actions/checkout@v4
with:
path: 'kernel'

- name: Compile Kernel && Install
run: |
mkdir -p output
pushd kernel
make defconfig
export KDEB_PKGVERSION="$(make kernelversion)-$(date "+%Y.%m.%d.%H.%M")+$(git rev-parse --short HEAD)"
make -j$(nproc) bindeb-pkg LOCALVERSION="-${board}"
make -j$(nproc) dtbs

# Copy deb
sudo dcmd cp -v ../*.changes ${GITHUB_WORKSPACE}/output

# record commit-id
git rev-parse HEAD > kernel-commitid
sudo cp -v kernel-commitid ${GITHUB_WORKSPACE}/output

# Build & Install perf
# pushd tools/perf
# make LDFLAGS=-static NO_LIBELF=1 NO_LIBTRACEEVENT=1 perf
# cp -v perf ${GITHUB_WORKSPACE}/output/perf-th1520
# popd
popd

- name: compress
run: tar -zcvf xuantie-mainline-kernel-${{ matrix.name }}.tar.gz output

- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: xuantie-mainline-kernel-${{ matrix.name }}.tar.gz
path: xuantie-mainline-kernel-${{ matrix.name }}.tar.gz
retention-days: 30
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: rvck ci

on:
pull_request_target:
types: [opened,reopened,synchronize]
issues:
types: [opened,reopened]
issue_comment:
types: [created]

jobs:
rvck-ci:
permissions:
issues: write
pull-requests: write
uses: OERV-RVCI/RVCK-RAVA/.github/workflows/rvck-actions.yml@main
secrets:
LAVA_TOKEN: ${{ secrets.LAVA_TOKEN }}
RSYNC_PASSPHRASE: ${{ secrets.RSYNC_PASSPHRASE }}
6 changes: 6 additions & 0 deletions Documentation/ABI/testing/sysfs-class-led
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ Description:
/sys/class/leds/<led> once a given trigger is selected. For
their documentation see `sysfs-class-led-trigger-*`.

Writing "none" removes the trigger for this LED.

Writing "default" sets the trigger to the LED's default trigger
(which would often be configured in the device tree for the
hardware).

What: /sys/class/leds/<led>/inverted
Date: January 2011
KernelVersion: 2.6.38
Expand Down
51 changes: 51 additions & 0 deletions Documentation/ABI/testing/sysfs-class-led-trigger-netdev
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ Description:
speed of 10MBps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 10Mbps link speed.

What: /sys/class/leds/<led>/link_100
Date: Jun 2023
KernelVersion: 6.5
Expand All @@ -101,6 +103,8 @@ Description:
speed of 100Mbps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 100Mbps link speed.

What: /sys/class/leds/<led>/link_1000
Date: Jun 2023
KernelVersion: 6.5
Expand All @@ -114,6 +118,53 @@ Description:
speed of 1000Mbps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 1000Mbps link speed.

What: /sys/class/leds/<led>/link_2500
Date: Nov 2023
KernelVersion: 6.8
Contact: linux-leds@vger.kernel.org
Description:
Signal the link speed state of 2500Mbps of the named network device.

If set to 0 (default), the LED's normal state is off.

If set to 1, the LED's normal state reflects the link state
speed of 2500Mbps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 2500Mbps link speed.

What: /sys/class/leds/<led>/link_5000
Date: Nov 2023
KernelVersion: 6.8
Contact: linux-leds@vger.kernel.org
Description:
Signal the link speed state of 5000Mbps of the named network device.

If set to 0 (default), the LED's normal state is off.

If set to 1, the LED's normal state reflects the link state
speed of 5000Mbps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 5000Mbps link speed.

What: /sys/class/leds/<led>/link_10000
Date: Nov 2023
KernelVersion: 6.8
Contact: linux-leds@vger.kernel.org
Description:
Signal the link speed state of 10000Mbps of the named network device.

If set to 0 (default), the LED's normal state is off.

If set to 1, the LED's normal state reflects the link state
speed of 10000Mbps of the named network device.
Setting this value also immediately changes the LED state.

Present only if the named network device supports 10000Mbps link speed.

What: /sys/class/leds/<led>/half_duplex
Date: Jun 2023
KernelVersion: 6.5
Expand Down
30 changes: 27 additions & 3 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3956,9 +3956,9 @@
vulnerability. System may allow data leaks with this
option.

no-steal-acc [X86,PV_OPS,ARM64,PPC/PSERIES] Disable paravirtualized
steal time accounting. steal time is computed, but
won't influence scheduler behaviour
no-steal-acc [X86,PV_OPS,ARM64,PPC/PSERIES,RISCV] Disable
paravirtualized steal time accounting. steal time is
computed, but won't influence scheduler behaviour

nosync [HW,M68K] Disables sync negotiation for all devices.

Expand Down Expand Up @@ -5611,6 +5611,14 @@
replacement properties are not found. See the Kconfig
entry for RISCV_ISA_FALLBACK.

riscv_nousercfi=
all Disable user CFI ABI to userspace even if cpu extension
are available.
bcfi Disable user backward CFI ABI to userspace even if
the shadow stack extension is available.
fcfi Disable user forward CFI ABI to userspace even if the
landing pad extension is available.

ro [KNL] Mount root device read-only on boot

rodata= [KNL]
Expand Down Expand Up @@ -6789,6 +6797,22 @@
Note that genuine overcurrent events won't be
reported either.

unaligned_scalar_speed=
[RISCV]
Format: {slow | fast | unsupported}
Allow skipping scalar unaligned access speed tests. This
is useful for testing alternative code paths and to skip
the tests in environments where they run too slowly. All
CPUs must have the same scalar unaligned access speed.

unaligned_vector_speed=
[RISCV]
Format: {slow | fast | unsupported}
Allow skipping vector unaligned access speed tests. This
is useful for testing alternative code paths and to skip
the tests in environments where they run too slowly. All
CPUs must have the same vector unaligned access speed.

unknown_nmi_panic
[X86] Cause panic on unknown NMI.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ implementation.
openrisc/index
parisc/index
../powerpc/index
../riscv/index
riscv/index
s390/index
sh/index
sparc/index
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading