Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
693 commits
Select commit Hold shift + click to select a range
1d2036d
RISC-V: hwprobe: sort EXT_KEY()s in hwprobe_isa_ext0() alphabetically
ConchuOD Jul 17, 2024
5933d03
riscv: Introduce vendor variants of extension helpers
charlie-rivos Jul 19, 2024
880d6f6
riscv: cpufeature: Extract common elements from extension checking
charlie-rivos Jul 19, 2024
beb4b80
riscv: Move cpufeature.h macros into their own header
Nov 3, 2024
2fb4d4d
riscv: errata: Rename defines for Andes
lyctw Feb 22, 2024
8a56240
ACPICA: SRAT: Add RISC-V RINTC affinity structure
xiaobo55x Jan 17, 2024
7abc149
ACPI: RISCV: Add NUMA support based on SRAT and SLIT
xiaobo55x Jun 13, 2024
58e3d4a
ACPI: NUMA: Add handler for SRAT RINTC affinity structure
xiaobo55x Jun 13, 2024
c887722
ACPI: NUMA: Make some NUMA-related functions available for RISC-V
uestc-gr Apr 25, 2025
361f414
ACPI: NUMA: change the ACPI_NUMA to a hidden option
uestc-gr Apr 25, 2025
71efe1a
ACPI: NUMA: replace pr_info with pr_debug in arch_acpi_numa_init
xiaobo55x Jun 13, 2024
52ebe44
irqchip/sifive-plic: Convert PLIC driver into a platform driver
avpatel Feb 22, 2024
8484fea
irqchip/sifive-plic: Use dev_xyz() in-place of pr_xyz()
avpatel Feb 22, 2024
f315908
irqchip/sifive-plic: Use devm_xyz() for managed allocation
avpatel Feb 22, 2024
54313b0
irqchip/sifive-plic: Use riscv_get_intc_hwnode() to get parent fwnode
avpatel Feb 22, 2024
c22ee04
irqchip/sifive-plic: Cleanup PLIC contexts upon irqdomain creation fa…
avpatel Feb 22, 2024
413ee3f
irqchip/sifive-plic: Parse number of interrupts and contexts early in…
avpatel Feb 22, 2024
ef1e2f5
irqchip/sifive-plic: Improve locking safety by using irqsave/irqrestore
avpatel Feb 22, 2024
e3b3837
irqchip/sifive-plic: Avoid explicit cpumask allocation on stack
Apr 16, 2024
915a4ed
irqchip/sifive-plic: Chain to parent IRQ after handlers are ready
SiFiveHolland May 29, 2024
2cdb958
irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform
avpatel Aug 20, 2024
b147b46
arm64: PCI: Migrate ACPI related functions to pci-acpi.c
vlsunil Aug 12, 2024
c8f63d8
ACPI: scan: Add a weak arch_sort_irqchip_probe() to order the IRQCHIP…
vlsunil Aug 12, 2024
fdebf8d
ACPI: bus: Add acpi_riscv_init() function
vlsunil Aug 12, 2024
423ffd8
ACPI: scan: Extract CSI-2 connection graph from _CRS
rafaeljw Nov 6, 2023
d9fcc04
ACPI: utils: Dynamically determine acpi_handle_list size
rafaeljw Sep 27, 2023
91a4e1f
ACPI: utils: Fix error path in acpi_evaluate_reference()
rafaeljw Dec 7, 2023
20b046b
ACPI: utils: Rearrange in acpi_evaluate_reference()
rafaeljw Dec 8, 2023
a64b713
ACPI: utils: Return bool from acpi_evaluate_reference()
rafaeljw Dec 8, 2023
c13eebe
ACPI: utils: Refine acpi_handle_list_equal() slightly
rafaeljw Dec 8, 2023
7a26130
ACPI: utils: Fix white space in struct acpi_handle_list definition
rafaeljw Dec 8, 2023
3700549
ACPI: scan: Refactor dependency creation
vlsunil Aug 12, 2024
a89134f
ACPI: scan: Add RISC-V interrupt controllers to honor list
vlsunil Aug 12, 2024
e6a7e04
ACPI: scan: Define weak function to populate dependencies
vlsunil Aug 12, 2024
1b29c6d
ACPI: bus: Add RINTC IRQ model for RISC-V
vlsunil Aug 12, 2024
81d2179
ACPI: pci_link: Clear the dependencies after probe
vlsunil Aug 12, 2024
9c46f26
ACPI: RISC-V: Implement PCI related functionality
vlsunil Aug 12, 2024
cc3ac3c
ACPI: RISC-V: Implement function to reorder irqchip probe entries
vlsunil Aug 12, 2024
297f8dd
ACPI: RISC-V: Initialize GSI mapping structures
vlsunil Aug 12, 2024
4d789a1
ACPI: RISC-V: Implement function to add implicit dependencies
vlsunil Aug 12, 2024
bc225fb
irqchip/riscv-intc: Add ACPI support for AIA
vlsunil Aug 12, 2024
c32a763
irqchip/riscv-imsic-state: Create separate function for DT
vlsunil Aug 12, 2024
abee313
irqchip/riscv-imsic: Add ACPI support
vlsunil Aug 12, 2024
15d33b9
irqchip/riscv-aplic: Add ACPI support
vlsunil Aug 12, 2024
6cd4e52
irqchip/sifive-plic: Add ACPI support
vlsunil Aug 27, 2024
244173c
irqchip/riscv-intc: Fix SMP=n boot with ACPI
vlsunil Oct 14, 2024
cd79c65
clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu
vlsunil Sep 27, 2023
66a910d
RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remapping
vlsunil Oct 18, 2023
756ebcc
RISC-V: ACPI: Update the return value of acpi_get_rhct()
vlsunil Oct 18, 2023
f8854cd
RISC-V: ACPI: RHCT: Add function to get CBO block sizes
vlsunil Oct 18, 2023
fd7fcf4
RISC-V: cacheflush: Initialize CBO variables on ACPI systems
vlsunil Oct 18, 2023
bcf846a
driver: k1: add an interconnect process driver
May 17, 2025
a538582
riscv: k1: dts: add memory ranges define
May 17, 2025
cf61263
riscv: config: enable memory range driver for spacemit k1
May 20, 2025
80e3c60
riscv: dmi: Add SMBIOS/DMI support
xiaobo55x Jun 13, 2024
2ab0a65
serial/8250_dw: Add ACPI ID for SG2044 UART
Apr 16, 2025
02bac9b
irqchip: Add Sophgo SG2044 MSI controller driver
May 7, 2025
c871966
riscv: openeuler_defconfig: Enable Sophgo SG2044 MSI drivers
May 7, 2025
aceb6f6
drivers: i2c: Add ACPI support for Sophgo I2C Controller
Apr 22, 2025
6b86381
drivers: spi: Add ACPI support for Sophgo SPI Controller
Apr 22, 2025
119bd95
ACPI: RISC-V: Add LPI driver
vlsunil Jan 18, 2024
2356a68
ACPI: Enable ACPI_PROCESSOR for RISC-V
vlsunil Jan 18, 2024
42fd055
lib/string_choices: Add str_plural() helper
mwajdecz Feb 14, 2024
1cd9ec3
dt-bindings: interrupt-controller: Add T-HEAD C900 ACLINT SSWI device
inochisa Oct 31, 2024
0f692f2
irqchip: Add T-HEAD C900 ACLINT SSWI driver
inochisa Oct 31, 2024
c8b4f06
drivers: Add ACPI support for thead-c900-aclint-sswi
Jan 8, 2025
1aa255e
riscv: openeuler_defconfig: Enable T-HEAD C900 ACLINT SSWI drivers
May 7, 2025
481246a
RISC-V: Enable IPI CPU Backtrace
ryotakakura98 Jul 18, 2024
5b78dc5
RISC-V: ACPI: Enable SPCR table for console output on RISC-V
May 2, 2024
7cef01f
iommu/vt-d: add wrapper functions for page allocations
soleen Apr 13, 2024
2b5fb75
sizes.h: Add entries between SZ_32G and SZ_64T
MTCoster Nov 22, 2023
3420850
iommu: constify of_phandle_args in xlate
krzk Feb 16, 2024
48c6d6c
dt-bindings: iommu: riscv: Add bindings for RISC-V IOMMU
tjeznach Oct 16, 2024
477d8eb
iommu/riscv: Add RISC-V IOMMU platform device driver
tjeznach Oct 16, 2024
635b685
iommu/riscv: Add RISC-V IOMMU PCIe device driver
tjeznach Oct 16, 2024
d465e4d
iommu/riscv: Enable IOMMU registration and device probe.
tjeznach Oct 16, 2024
93efc72
iommu/riscv: Device directory management.
tjeznach Oct 16, 2024
df0f4c8
iommu/riscv: Command and fault queue support
tjeznach Oct 16, 2024
69a03c7
iommu/riscv: Paging domain support
tjeznach Oct 16, 2024
e9dfe33
RISC-V: Select ACPI PPTT drivers
cuiyunhui Jun 17, 2024
2f729bd
ACPI: RISC-V: Add CPPC driver
vlsunil Feb 8, 2024
9bdb493
cpufreq: Move CPPC configs to common Kconfig and add RISC-V
vlsunil Feb 8, 2024
e21b29a
RISC-V: defconfig: Enable CONFIG_ACPI_CPPC_CPUFREQ
vlsunil Feb 8, 2024
7b60818
RISC-V: Implement archrandom when Zkr is available
sameo Nov 30, 2023
90828a9
riscv: Optimize crc32 with Zbc extension
XiaoWang1772 Jun 21, 2024
364a3c8
riscv: Optimize bitops with Zbb extension
XiaoWang1772 Oct 31, 2023
a0835d1
riscv: Optimize hweight API with Zbb extension
XiaoWang1772 Nov 12, 2023
036c638
riscv: k1: dt-bindings: support dma binding for spacemit k1 soc
May 19, 2025
a81172e
driver: k1: add dma driver support for spacemit k1
May 17, 2025
0631709
riscv: k1: dts: add dma support for spacemit k1
May 19, 2025
d854bac
riscv: config: enable dma driver for spacemit k1
May 20, 2025
31c3994
driver: k1: add i2c driver support for spacemit k1
May 19, 2025
b8b6ecd
riscv: k1: dts: add i2c support for spacemit k1
May 19, 2025
ca1ccf7
riscv: config: enable i2c driver for spacemit k1
May 20, 2025
59922b0
riscv: k1: dts: enable i2c2 and i2c8 for bananapi f3 board
May 21, 2025
d138f21
driver: k1: add spi driver support for spacemit k1
May 19, 2025
d6eac9b
riscv: k1: dts: add spi support for spacemit k1
May 19, 2025
23c6060
riscv: config: enable spi driver for spacemit k1
May 20, 2025
c42e1cd
riscv: k1: dts: enable spi-3 for bananapi f3 board
May 21, 2025
2cf89e9
driver: k1: add qspi driver support for spacemit k1
May 19, 2025
d618c84
riscv: k1: dts: add qspi support for spacemit k1
May 19, 2025
43f2596
riscv: config: enable qspi driver for spacemit k1
May 20, 2025
f6f0af9
riscv: k1: dts: enable qspi for bananapi f3 board
May 21, 2025
5f08e5b
driver: pwm: update pwm-pxa for support spacemit k1
May 19, 2025
13dc59d
riscv: k1: dts: add pwm support for spacemit k1
May 19, 2025
8347795
riscv: config: enable pxa-pwm driver for spacemit k1
May 20, 2025
6002672
riscv: k1: dts: enable pwm for bananapi f3 board
May 21, 2025
308f462
driver: mfd: add spacemit p1 mfd driver support
May 19, 2025
3395c9f
driver: regulator: add spacemit p1 regulator driver support
May 19, 2025
c3dc328
driver: input: add spacemit p1 key driver support
May 19, 2025
2e9abbc
driver: pinctrl: add spacemit p1 pinctrl driver support
May 19, 2025
af06ccf
driver: rtc: add spacemit p1 rtc driver support
May 20, 2025
65331b8
driver: iio/adc: add spacemit p1 adc driver support
May 20, 2025
0ac0937
riscv: dts: add spacemit p1 pmic support for bananapi f3
May 21, 2025
dd4dcde
riscv: config: enable spacemit p1 driver for spacemit k1
May 20, 2025
3ad6efe
riscv: config: enable CONFIG_RISCV_ISA_ZICBOM for spacemit k1
kevin-zhm May 28, 2025
9456df6
riscv: config: Update openeuler_defconfig for support k1 modules
kevin-zhm May 28, 2025
678a9c7
riscv, qemu_fw_cfg: Add support for RISC-V architecture
bjorn-rivos Oct 12, 2023
58b717f
driver: k1/spi: Fixed compilation errors reported when enable CONFIG_…
Aug 24, 2025
3c14d9b
cpufreq: th1520-cpufreq: fix cpu_pll1 already disabled warning
xmzzz Aug 24, 2025
e7722b6
dt-bindings: mmc: spacemit,sdhci: add support for K1 SoC
Aug 25, 2025
fdcfd0a
mmc: sdhci-of-k1: add support for SpacemiT K1 SoC
Aug 25, 2025
e52cd7e
riscv: k1: dts: add sdhci controller support for spacemit k1
Aug 25, 2025
0471510
riscv: config: enable sdhci driver for spacemit k1
Aug 25, 2025
4b710ab
riscv: k1: dts: enable sdhci-0/1/2 for bananapi f3 board
Aug 25, 2025
cf4a0f3
riscv: config: Update openeuler_defconfig for support k1 sdhci
Aug 25, 2025
e5b0fbc
net: k1: support emac controller in spacemit k1 soc
Aug 26, 2025
b2f225e
riscv: k1: dts: add emacs controllers support for spacemit k1
Aug 26, 2025
0b796b9
riscv: config: enable emac driver for spacemit k1
Aug 26, 2025
3d11c0c
riscv: k1: dts: enable eth0/eth1 for bananapi f3 board
Aug 26, 2025
9abe7ba
riscv: config: Update openeuler_defconfig for support k1 emac
Aug 26, 2025
19fd33a
riscv: config: Fix kabi changes due to config alterations
xmzzz Aug 31, 2025
5479ffa
selftests/hid: ensure we can compile the tests on kernels pre-6.3
Oct 5, 2023
582d1f7
selftests/hid: do not manually call headers_install
Oct 5, 2023
a8721e2
selftests/hid: force using our compiled libbpf headers
Oct 5, 2023
3e0908c
OF: Retire dma-ranges mask workaround
rmurphy-arm Apr 19, 2024
196d064
OF: Simplify DMA range calculations
rmurphy-arm Apr 19, 2024
d49019d
ACPI/IORT: Handle memory address size limits as limits
rmurphy-arm Apr 19, 2024
92da239
dma-mapping: Add helpers for dma_range_map bounds
rmurphy-arm Apr 19, 2024
0e5ccb6
drivers: pci: Add Sophgo SG2044 PCIe Controller support
xingxg2022 Dec 24, 2024
f5d4332
riscv: config: Enable SG2044 PCIe controller driver
Sep 1, 2025
c4aa4b3
rvck-olk repo add check action
wangliu-iscas Sep 12, 2025
99a7dfd
修复rsync认证失败问题
wangliu-iscas Sep 15, 2025
110164e
SG2042: Fix compatibility of MSI-X whitelist function
Sep 29, 2025
c191a1d
serial: port: Introduce a common helper to read properties
andy-shev Mar 4, 2024
809524a
serial: 8250_dw: Switch to use uart_read_port_properties()
andy-shev Mar 4, 2024
b743d79
serial: 8250_dw: Replace ACPI device check by a quirk
andy-shev Mar 6, 2024
91f2735
serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
andy-shev May 14, 2024
d501f39
serial: 8250_dw: Revert "Move definitions to the shared header"
andy-shev May 14, 2024
2dafb42
riscv: dp1000: 8250_dw: support ultrarisc dp1000 uart
Xincheng-Zhang-UR May 28, 2024
2094a28
riscv: dp1000: bindings: update bindings of ultrarisc dp1000 uart
WangJia-UR Jul 23, 2025
3e48f39
riscv: irqchip: plic: fix hunging in the plic_irq_resume() function
WangJia-UR Jun 13, 2024
46f5f23
riscv: dp1000: plic: fix plic claim register hardware bug
Xincheng-Zhang-UR Aug 30, 2024
0465042
riscv: dp1000: bindings: Add UltraRISC DP1000 PLIC in interrupr-contr…
WangJia-UR Jul 23, 2025
a803b54
riscv: dp1000: dts: add dp1000.dts for UltraRISC DP1000 SoC
WangJia-UR May 16, 2025
ea3d38e
riscv: dp1000: arch: add UltraRISC DP1000 SoC support
WangJia-UR Apr 9, 2025
acec774
riscv: dp1000: pci: support UltraRISC pcie rc
Xincheng-Zhang-UR May 28, 2024
ebdf79d
riscv: dp1000: pci: support dw pcie rc interrupt affinity settings
Xincheng-Zhang-UR Jan 16, 2025
61bc776
riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg access
Xincheng-Zhang-UR Feb 26, 2025
a0760f6
riscv: dp1000: pci: update the outbound mapping process
Xincheng-Zhang-UR Feb 5, 2025
f898618
riscv: dp1000: pci: Update the number of pci outbound and inbound
Xincheng-Zhang-UR Jun 13, 2025
fcb56b8
riscv: dp1000: stmmac: add gmac driver for UltraRISC DP1000
ultrariscwangjiahao Jan 13, 2025
0e2909b
riscv: dp1000: pinctrl: add pinctrl dirver of UltraRISC DP1000
WangJia-UR Jan 17, 2025
187e8da
riscv: dp1000: bindings: pinctrl: add pincltrl binding file of DP1000
WangJia-UR Jun 6, 2025
cb50569
riscv: dp1000: dts: add pinctrl dtsi/dts for UltraRISC DP1000
WangJia-UR Jun 16, 2025
db49410
riscv: dp1000: add dp1000_defconfig
WangJia-UR Jun 18, 2025
79c05e6
riscv: dp1000: pci: dwc: Add support for 16-lane PCIe link width
Xincheng-Zhang-UR Jul 25, 2025
71f4e1a
Revert "riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg ac…
WangJia-UR Sep 5, 2025
d9f476e
riscv: dp1000: pci: Add custom PCI host ops
Xincheng-Zhang-UR Aug 5, 2025
3ccca1a
riscv: dp1000: dts: add the dts of UltraRISC dp1000-mo-v1 board
WangJia-UR Sep 4, 2025
c896392
riscv: dp1000: dts: Move mmc0 node from SoC to board DTS
WangJia-UR Sep 9, 2025
31db401
RISC-V: Add stubs for sbi_console_putchar/getchar()
avpatel Nov 24, 2023
c1bef7c
RISC-V: Add SBI debug console helper routines
avpatel Nov 24, 2023
cc8e6f2
tty/serial: Add RISC-V SBI debug console based earlycon
avpatel Nov 24, 2023
6241294
tty: Add SBI debug console support to HVC SBI driver
atishp04 Nov 24, 2023
cb9156f
RISC-V: Enable SBI based earlycon support
avpatel Nov 24, 2023
80dd62a
RISC-V: Add defines for SBI debug console extension
avpatel Jul 22, 2022
36829d6
RISC-V: KVM: Change the SBI specification version to v2.0
avpatel Oct 10, 2023
7721fce
RISC-V: KVM: Allow some SBI extensions to be disabled by default
avpatel Oct 11, 2023
2c930b9
RISC-V: KVM: Forward SBI DBCN extension to user-space
avpatel Jul 22, 2022
e3b707c
KVM: riscv: selftests: Add SBI DBCN extension to get-reg-list test
avpatel Oct 20, 2023
bd244d9
RISC-V: KVM: Don't add SBI multi regs in get-reg-list
Dec 13, 2023
4f8df54
KVM: riscv: selftests: Drop SBI multi registers
Dec 13, 2023
c2f04ab
RISC-V: KVM: Make SBI uapi consistent with ISA uapi
Dec 13, 2023
3622034
KVM: riscv: selftests: Add RISCV_SBI_EXT_REG
Dec 13, 2023
d852093
RISC-V: paravirt: Add skeleton for pv-time support
Dec 20, 2023
5561dac
RISC-V: Add SBI STA extension definitions
Dec 20, 2023
919fc72
RISC-V: paravirt: Implement steal-time support
Dec 20, 2023
cc36201
RISC-V: KVM: Add SBI STA extension skeleton
Dec 20, 2023
8520a43
RISC-V: KVM: Add steal-update vcpu request
Dec 20, 2023
e7fb1b0
RISC-V: KVM: Add SBI STA info to vcpu_arch
Dec 20, 2023
01fb733
RISC-V: KVM: Add support for SBI extension registers
Dec 20, 2023
c3111b8
RISC-V: KVM: Add support for SBI STA registers
Dec 20, 2023
d16f30f
RISC-V: KVM: Implement SBI STA extension
Dec 20, 2023
8b0e076
riscv: use ".L" local labels in assembly when applicable
clementleger Oct 24, 2023
bab4012
riscv: kernel: Use correct SYM_DATA_*() macro for data
clementleger Oct 24, 2023
0983305
riscv: Add support for kernel mode vector
greentime Jan 15, 2024
a8357a1
riscv: vector: make Vector always available for softirq context
AndybnACT Jan 15, 2024
28b8bef
riscv: Add vector extension XOR implementation
greentime Jan 15, 2024
589f568
riscv: sched: defer restoring Vector context for user
AndybnACT Jan 15, 2024
606ccc6
riscv: lib: vectorize copy_to_user/copy_from_user
AndybnACT Jan 15, 2024
1798d6a
riscv: fpu: drop SR_SD bit checking
AndybnACT Jan 15, 2024
dd66b69
riscv: vector: do not pass task_struct into riscv_v_vstate_{save,rest…
AndybnACT Jan 15, 2024
acf1b61
riscv: vector: use a mask to write vstate_ctrl
AndybnACT Jan 15, 2024
875fe1e
riscv: vector: use kmem_cache to manage vector context
AndybnACT Jan 15, 2024
f42c2a9
riscv: vector: allow kernel-mode Vector with preemption
AndybnACT Jan 15, 2024
30d5304
riscv: Fix vector state restore in rt_sigreturn()
bjorn-rivos Apr 3, 2024
4a2abd7
riscv: config: Update openeuler_defconfig
xmzzz Nov 2, 2025
922db9b
kexec_file: add kexec_file flag to control debug printing
Dec 13, 2023
2379591
kexec_file: print out debugging message if required
Dec 13, 2023
da60f2e
kexec_file, x86: print out debugging message if required
Dec 13, 2023
5317fea
kexec_file, arm64: print out debugging message if required
Dec 13, 2023
7cc5af6
kexec_file, riscv: print out debugging message if required
Dec 13, 2023
1a697a9
kexec_file, power: print out debugging message if required
Dec 13, 2023
e5f0a92
kexec_file, parisc: print out debugging message if required
vlsunil Jul 30, 2024
c07dd35
kexec: fix the unexpected kexec_dprintk() macro
Apr 9, 2024
f9cd01b
riscv: kexec_file: Split the loading of kernel and others
Apr 9, 2025
8d32f9e
riscv: kexec_file: Support loading Image binary file
Apr 9, 2025
64cb758
serial: 8250_platform: Enable generic 16550A platform devices
vlsunil Jul 30, 2024
9f67d2b
RISC-V: KVM: Add kvm_vcpu_config
mdchitale Sep 13, 2023
390f70c
RISC-V: KVM: Enable Smstateen accesses
mdchitale Sep 13, 2023
19375c4
RISCV: KVM: Add senvcfg context save/restore
mdchitale Sep 13, 2023
53aa2aa
RISCV: KVM: Add sstateen0 context save/restore
mdchitale Sep 13, 2023
cad4cc5
RISCV: KVM: Add sstateen0 to ONE_REG
mdchitale Sep 13, 2023
211eca1
RISC-V: KVM: Fix indentation in kvm_riscv_vcpu_set_reg_csr()
avpatel Dec 24, 2023
35714e0
KVM: RISC-V: reset smstateen CSRs
radimkrcmar Apr 3, 2025
5e5e502
xuantie: nna: select SYNC_FILE
woqidaideshi Aug 19, 2025
d6ea8e0
iommu: Handle race with default domain setup
rmurphy-arm Feb 28, 2025
e5e33ea
riscv: dp1000: plic: add plic early init supports
WangJia-UR Sep 18, 2025
8f11310
riscv: openeuler_defconfig: update UltraRISC platform
xmzzz Nov 16, 2025
8fe84e6
RISC-V: KVM: Allow Zicond extension for Guest/VM
avpatel Sep 15, 2023
9e7e2b2
RISC-V: KVM: Allow Zbc extension for Guest/VM
avpatel Nov 27, 2023
d6f214b
RISC-V: KVM: Allow scalar crypto extensions for Guest/VM
avpatel Nov 27, 2023
68d5782
RISC-V: KVM: Allow vector crypto extensions for Guest/VM
avpatel Nov 27, 2023
25482d2
RISC-V: KVM: Allow Zfh[min] extensions for Guest/VM
avpatel Nov 27, 2023
fc2be86
RISC-V: KVM: Allow Zihintntl extension for Guest/VM
avpatel Nov 27, 2023
c49a8b2
RISC-V: KVM: Allow Zvfh[min] extensions for Guest/VM
avpatel Nov 27, 2023
955667a
RISC-V: KVM: Allow Zfa extension for Guest/VM
avpatel Nov 27, 2023
d0397c7
RISC-V: KVM: Forward SEED CSR access to user space
avpatel Feb 13, 2024
4139a21
RISC-V: KVM: Allow Ztso extension for Guest/VM
avpatel Feb 13, 2024
23b6744
RISC-V: KVM: Allow Zacas extension for Guest/VM
avpatel Feb 13, 2024
b3a2247
RISC-V: KVM: Allow Zimop extension for Guest/VM
clementleger Jun 19, 2024
87c3d34
RISC-V: KVM: Allow Zca, Zcf, Zcd and Zcb extensions for Guest/VM
clementleger Jun 19, 2024
aa32b41
RISC-V: KVM: Allow Zcmop extension for Guest/VM
clementleger Jun 19, 2024
f4ba233
KVM: riscv: Support guest wrs.nto
Apr 26, 2024
dd34ccd
RISC-V: KVM: Allow Smnpm and Ssnpm extensions for guests
SiFiveHolland Oct 16, 2024
112acb1
RISC-V: KVM: Add Svade and Svadu Extensions Support for Guest/VM
yong-xuan Jul 26, 2024
9526aad
RISC-V: KVM: Allow Svvptc extension for Guest/VM
zcxGGmu Dec 2, 2024
ac0b5e7
RISC-V: KVM: Allow Zabha extension for Guest/VM
zcxGGmu Dec 2, 2024
06079e9
RISC-V: KVM: Allow Ziccrse extension for Guest/VM
zcxGGmu Dec 2, 2024
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
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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 }}

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.
271 changes: 271 additions & 0 deletions Documentation/arch/riscv/hwprobe.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
.. SPDX-License-Identifier: GPL-2.0

RISC-V Hardware Probing Interface
---------------------------------

The RISC-V hardware probing interface is based around a single syscall, which
is defined in <asm/hwprobe.h>::

struct riscv_hwprobe {
__s64 key;
__u64 value;
};

long sys_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
size_t cpusetsize, cpu_set_t *cpus,
unsigned int flags);

The arguments are split into three groups: an array of key-value pairs, a CPU
set, and some flags. The key-value pairs are supplied with a count. Userspace
must prepopulate the key field for each element, and the kernel will fill in the
value if the key is recognized. If a key is unknown to the kernel, its key field
will be cleared to -1, and its value set to 0. The CPU set is defined by
CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor,
arch, impl), the returned value will only be valid if all CPUs in the given set
have the same value. Otherwise -1 will be returned. For boolean-like keys, the
value returned will be a logical AND of the values for the specified CPUs.
Usermode can supply NULL for ``cpus`` and 0 for ``cpusetsize`` as a shortcut for
all online CPUs. The currently supported flags are:

* :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior
of sys_riscv_hwprobe(). Instead of populating the values of keys for a given
set of CPUs, the values of each key are given and the set of CPUs is reduced
by sys_riscv_hwprobe() to only those which match each of the key-value pairs.
How matching is done depends on the key type. For value-like keys, matching
means to be the exact same as the value. For boolean-like keys, matching
means the result of a logical AND of the pair's value with the CPU's value is
exactly the same as the pair's value. Additionally, when ``cpus`` is an empty
set, then it is initialized to all online CPUs which fit within it, i.e. the
CPU set returned is the reduction of all the online CPUs which can be
represented with a CPU set of size ``cpusetsize``.

All other flags are reserved for future compatibility and must be zero.

On success 0 is returned, on failure a negative error code is returned.

The following keys are defined:

* :c:macro:`RISCV_HWPROBE_KEY_MVENDORID`: Contains the value of ``mvendorid``,
as defined by the RISC-V privileged architecture specification.

* :c:macro:`RISCV_HWPROBE_KEY_MARCHID`: Contains the value of ``marchid``, as
defined by the RISC-V privileged architecture specification.

* :c:macro:`RISCV_HWPROBE_KEY_MIMPLID`: Contains the value of ``mimplid``, as
defined by the RISC-V privileged architecture specification.

* :c:macro:`RISCV_HWPROBE_KEY_BASE_BEHAVIOR`: A bitmask containing the base
user-visible behavior that this kernel supports. The following base user ABIs
are defined:

* :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: Support for rv32ima or
rv64ima, as defined by version 2.2 of the user ISA and version 1.10 of the
privileged ISA, with the following known exceptions (more exceptions may be
added, but only if it can be demonstrated that the user ABI is not broken):

* The ``fence.i`` instruction cannot be directly executed by userspace
programs (it may still be executed in userspace via a
kernel-controlled mechanism such as the vDSO).

* :c:macro:`RISCV_HWPROBE_KEY_IMA_EXT_0`: A bitmask containing the extensions
that are compatible with the :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`:
base system behavior.

* :c:macro:`RISCV_HWPROBE_IMA_FD`: The F and D extensions are supported, as
defined by commit cd20cee ("FMIN/FMAX now implement
minimumNumber/maximumNumber, not minNum/maxNum") of the RISC-V ISA manual.

* :c:macro:`RISCV_HWPROBE_IMA_C`: The C extension is supported, as defined
by version 2.2 of the RISC-V ISA manual.

* :c:macro:`RISCV_HWPROBE_IMA_V`: The V extension is supported, as defined by
version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZBA`: The Zba address generation extension is
supported, as defined in version 1.0 of the Bit-Manipulation ISA
extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZBB`: The Zbb extension is supported, as defined
in version 1.0 of the Bit-Manipulation ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZBS`: The Zbs extension is supported, as defined
in version 1.0 of the Bit-Manipulation ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZICBOZ`: The Zicboz extension is supported, as
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.

* :c:macro:`RISCV_HWPROBE_EXT_ZBC` The Zbc extension is supported, as defined
in version 1.0 of the Bit-Manipulation ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZBKB` The Zbkb extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZBKC` The Zbkc extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZBKX` The Zbkx extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKND` The Zknd extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKNE` The Zkne extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKNH` The Zknh extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKSED` The Zksed extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKSH` The Zksh extension is supported, as
defined in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZKT` The Zkt extension is supported, as defined
in version 1.0 of the Scalar Crypto ISA extensions.

* :c:macro:`RISCV_HWPROBE_EXT_ZVBB`: The Zvbb extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVBC`: The Zvbc extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKB`: The Zvkb extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKG`: The Zvkg extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKNED`: The Zvkned extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKNHA`: The Zvknha extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKNHB`: The Zvknhb extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKSED`: The Zvksed extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKSH`: The Zvksh extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZVKT`: The Zvkt extension is supported as
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.

* :c:macro:`RISCV_HWPROBE_EXT_ZFH`: The Zfh extension version 1.0 is supported
as defined in the RISC-V ISA manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZFHMIN`: The Zfhmin extension version 1.0 is
supported as defined in the RISC-V ISA manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZIHINTNTL`: The Zihintntl extension version 1.0
is supported as defined in the RISC-V ISA manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZVFH`: The Zvfh extension is supported as
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
("Remove draft warnings from Zvfh[min]").

* :c:macro:`RISCV_HWPROBE_EXT_ZVFHMIN`: The Zvfhmin extension is supported as
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
("Remove draft warnings from Zvfh[min]").

* :c:macro:`RISCV_HWPROBE_EXT_ZFA`: The Zfa extension is supported as
defined in the RISC-V ISA manual starting from commit 056b6ff467c7
("Zfa is ratified").

* :c:macro:`RISCV_HWPROBE_EXT_ZTSO`: The Ztso extension is supported as
defined in the RISC-V ISA manual starting from commit 5618fb5a216b
("Ztso is now ratified.")

* :c:macro:`RISCV_HWPROBE_EXT_ZACAS`: The Zacas extension is supported as
defined in the Atomic Compare-and-Swap (CAS) instructions manual starting
from commit 5059e0ca641c ("update to ratified").

* :c:macro:`RISCV_HWPROBE_EXT_ZICOND`: The Zicond extension is supported as
defined in the RISC-V Integer Conditional (Zicond) operations extension
manual starting from commit 95cf1f9 ("Add changes requested by Ved
during signoff")

* :c:macro:`RISCV_HWPROBE_EXT_ZIHINTPAUSE`: The Zihintpause extension is
supported as defined in the RISC-V ISA manual starting from commit
d8ab5c78c207 ("Zihintpause is ratified").

* :c:macro:`RISCV_HWPROBE_EXT_ZVE32X`: The Vector sub-extension Zve32x is
supported, as defined by version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZVE32F`: The Vector sub-extension Zve32f is
supported, as defined by version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZVE64X`: The Vector sub-extension Zve64x is
supported, as defined by version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZVE64F`: The Vector sub-extension Zve64f is
supported, as defined by version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZVE64D`: The Vector sub-extension Zve64d is
supported, as defined by version 1.0 of the RISC-V Vector extension manual.

* :c:macro:`RISCV_HWPROBE_EXT_ZIMOP`: The Zimop May-Be-Operations extension is
supported as defined in the RISC-V ISA manual starting from commit
58220614a5f ("Zimop is ratified/1.0").

* :c:macro:`RISCV_HWPROBE_EXT_ZCA`: The Zca extension part of Zc* standard
extensions for code size reduction, as ratified in commit 8be3419c1c0
("Zcf doesn't exist on RV64 as it contains no instructions") of
riscv-code-size-reduction.

* :c:macro:`RISCV_HWPROBE_EXT_ZCB`: The Zcb extension part of Zc* standard
extensions for code size reduction, as ratified in commit 8be3419c1c0
("Zcf doesn't exist on RV64 as it contains no instructions") of
riscv-code-size-reduction.

* :c:macro:`RISCV_HWPROBE_EXT_ZCD`: The Zcd extension part of Zc* standard
extensions for code size reduction, as ratified in commit 8be3419c1c0
("Zcf doesn't exist on RV64 as it contains no instructions") of
riscv-code-size-reduction.

* :c:macro:`RISCV_HWPROBE_EXT_ZCF`: The Zcf extension part of Zc* standard
extensions for code size reduction, as ratified in commit 8be3419c1c0
("Zcf doesn't exist on RV64 as it contains no instructions") of
riscv-code-size-reduction.

* :c:macro:`RISCV_HWPROBE_EXT_ZCMOP`: The Zcmop May-Be-Operations extension is
supported as defined in the RISC-V ISA manual starting from commit
c732a4f39a4 ("Zcmop is ratified/1.0").

* :c:macro:`RISCV_HWPROBE_EXT_ZAWRS`: The Zawrs extension is supported as
ratified in commit 98918c844281 ("Merge pull request #1217 from
riscv/zawrs") of riscv-isa-manual.

* :c:macro:`RISCV_HWPROBE_EXT_SUPM`: The Supm extension is supported as
defined in version 1.0 of the RISC-V Pointer Masking extensions.

* :c:macro:`RISCV_HWPROBE_KEY_CPUPERF_0`: A bitmask that contains performance
information about the selected set of processors.

* :c:macro:`RISCV_HWPROBE_MISALIGNED_UNKNOWN`: The performance of misaligned
accesses is unknown.

* :c:macro:`RISCV_HWPROBE_MISALIGNED_EMULATED`: Misaligned accesses are
emulated via software, either in or below the kernel. These accesses are
always extremely slow.

* :c:macro:`RISCV_HWPROBE_MISALIGNED_SLOW`: Misaligned accesses are slower
than equivalent byte accesses. Misaligned accesses may be supported
directly in hardware, or trapped and emulated by software.

* :c:macro:`RISCV_HWPROBE_MISALIGNED_FAST`: Misaligned accesses are faster
than equivalent byte accesses.

* :c:macro:`RISCV_HWPROBE_MISALIGNED_UNSUPPORTED`: Misaligned accesses are
not supported at all and will generate a misaligned address fault.

* :c:macro:`RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE`: An unsigned int which
represents the size of the Zicboz block in bytes.

* :c:macro:`RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS`: An unsigned long which
represent the highest userspace virtual address usable.

* :c:macro:`RISCV_HWPROBE_KEY_TIME_CSR_FREQ`: Frequency (in Hz) of `time CSR`.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwlock/xuantie,th1520-hwspinlock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: XUANTIE th1520 SoC HwSpinlock

maintainers:
- Liu Yibin <jiulong@linux.alibaba.com>

properties:
compatible:
items:
- const: th1520,hwspinlock

reg:
maxItems: 1


required:
- compatible
- reg

additionalProperties: false

examples:

- |
hwspinlock: hwspinlock@ffefc10000 {
compatible = "th1520,hwspinlock";
reg = <0xff 0xefc10000 0x0 0x10000>;
status = "disabled";
};
52 changes: 52 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/thead,th1520-adc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/xuantie,th1520-adc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: XuanTie TH1520 Analog to Digital Converter (ADC)

maintainers:
- Fugang Duan <duanfugang.dfg@linux.alibaba.com>
- Xiangyi Zeng <xiangyi.zeng@linux.alibaba.com>
- Wei Fu <wefu@redhat.com>

description: |
12-Bit Analog to Digital Converter (ADC) on XuanTie TH1520
properties:
compatible:
const: xuantie,th1520-adc

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1

clock-names:
const: adc

required:
- compatible
- reg
- interrupts
- clocks
- clock-names
- status

additionalProperties: false

examples:
- |
adc: adc@0xfffff51000 {
compatible = "xuantie,th1520-adc";
reg = <0xff 0xfff51000 0x0 0x1000>;
interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&aonsys_clk>;
clock-names = "adc";
/* ADC pin is proprietary,no need to config pinctrl */
status = "disabled";
};
Loading