Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
674 commits
Select commit Hold shift + click to select a range
5060b75
RISC-V: selftests: Statically link hwprobe test
Sep 18, 2023
c236c1f
RISC-V: selftests: Convert hwprobe test to kselftest API
Sep 18, 2023
a656bff
RISC-V: selftests: Add CBO tests
Sep 18, 2023
1a784bd
RISC-V: hwprobe: Clarify cpus size parameter
Nov 22, 2023
bcf28d6
RISC-V: hwprobe: Introduce which-cpus flag
Nov 22, 2023
e62221f
riscv: hwprobe: export Ztso ISA extension
clementleger Dec 20, 2023
ae89f35
riscv: hwprobe: export Zacas ISA extension
clementleger Dec 20, 2023
8718ce2
riscv: hwprobe: export Zicond extension
clementleger Dec 20, 2023
0559008
riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
clementleger Apr 9, 2024
10f067d
RISC-V: Move the hwprobe syscall to its own file
Nov 22, 2023
a1c5213
riscv: hwprobe: export Zihintpause ISA extension
clementleger Feb 21, 2024
f49054b
riscv: hwprobe: add zve Vector subextensions into hwprobe interface
AndybnACT May 9, 2024
a2248b6
riscv: hwprobe: export Zimop ISA extension
clementleger Jun 19, 2024
a8ca5ae
riscv: hwprobe: export Zca, Zcf, Zcd and Zcb ISA extensions
clementleger Jun 19, 2024
f87eb23
riscv: hwprobe: export Zcmop ISA extension
clementleger Jun 19, 2024
6866557
riscv: hwprobe: export highest virtual userspace address
clementleger Apr 10, 2024
6942b1f
riscv: hwprobe: export Zawrs ISA extension
Apr 26, 2024
50599a7
RISC-V: Provide the frequency of time CSR via hwprobe
palmer-dabbelt Jul 2, 2024
871341f
riscv: hwprobe: Export the Supm ISA extension
SiFiveHolland Oct 16, 2024
e46e049
RISC-V: hwprobe: sort EXT_KEY()s in hwprobe_isa_ext0() alphabetically
ConchuOD Jul 17, 2024
4699201
riscv: Introduce vendor variants of extension helpers
charlie-rivos Jul 19, 2024
ead20a7
riscv: cpufeature: Extract common elements from extension checking
charlie-rivos Jul 19, 2024
161a072
riscv: Move cpufeature.h macros into their own header
Nov 3, 2024
ef40558
riscv: errata: Rename defines for Andes
lyctw Feb 22, 2024
27813ba
ACPICA: SRAT: Add RISC-V RINTC affinity structure
xiaobo55x Jan 17, 2024
dbb7d15
ACPI: RISCV: Add NUMA support based on SRAT and SLIT
xiaobo55x Jun 13, 2024
e747568
ACPI: NUMA: Add handler for SRAT RINTC affinity structure
xiaobo55x Jun 13, 2024
36aa106
ACPI: NUMA: Make some NUMA-related functions available for RISC-V
uestc-gr Apr 25, 2025
20bd643
ACPI: NUMA: change the ACPI_NUMA to a hidden option
uestc-gr Apr 25, 2025
51b662a
ACPI: NUMA: replace pr_info with pr_debug in arch_acpi_numa_init
xiaobo55x Jun 13, 2024
87cc541
irqchip/sifive-plic: Convert PLIC driver into a platform driver
avpatel Feb 22, 2024
1ebf67d
irqchip/sifive-plic: Use dev_xyz() in-place of pr_xyz()
avpatel Feb 22, 2024
9c0fda8
irqchip/sifive-plic: Use devm_xyz() for managed allocation
avpatel Feb 22, 2024
ea8a7d0
irqchip/sifive-plic: Use riscv_get_intc_hwnode() to get parent fwnode
avpatel Feb 22, 2024
a8875bb
irqchip/sifive-plic: Cleanup PLIC contexts upon irqdomain creation fa…
avpatel Feb 22, 2024
1c3d59b
irqchip/sifive-plic: Parse number of interrupts and contexts early in…
avpatel Feb 22, 2024
3f765bc
irqchip/sifive-plic: Improve locking safety by using irqsave/irqrestore
avpatel Feb 22, 2024
267a5db
irqchip/sifive-plic: Avoid explicit cpumask allocation on stack
Apr 16, 2024
5b80834
irqchip/sifive-plic: Chain to parent IRQ after handlers are ready
SiFiveHolland May 29, 2024
d77cfac
irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform
avpatel Aug 20, 2024
2580485
arm64: PCI: Migrate ACPI related functions to pci-acpi.c
vlsunil Aug 12, 2024
ef83801
ACPI: scan: Add a weak arch_sort_irqchip_probe() to order the IRQCHIP…
vlsunil Aug 12, 2024
275606b
ACPI: bus: Add acpi_riscv_init() function
vlsunil Aug 12, 2024
db2dea0
ACPI: scan: Extract CSI-2 connection graph from _CRS
rafaeljw Nov 6, 2023
465493d
ACPI: utils: Dynamically determine acpi_handle_list size
rafaeljw Sep 27, 2023
3c2d6d7
ACPI: utils: Fix error path in acpi_evaluate_reference()
rafaeljw Dec 7, 2023
811d31f
ACPI: utils: Rearrange in acpi_evaluate_reference()
rafaeljw Dec 8, 2023
776b161
ACPI: utils: Return bool from acpi_evaluate_reference()
rafaeljw Dec 8, 2023
b7db54d
ACPI: utils: Refine acpi_handle_list_equal() slightly
rafaeljw Dec 8, 2023
6307c69
ACPI: utils: Fix white space in struct acpi_handle_list definition
rafaeljw Dec 8, 2023
ec84170
ACPI: scan: Refactor dependency creation
vlsunil Aug 12, 2024
3781460
ACPI: scan: Add RISC-V interrupt controllers to honor list
vlsunil Aug 12, 2024
8374428
ACPI: scan: Define weak function to populate dependencies
vlsunil Aug 12, 2024
4f8d2bc
ACPI: bus: Add RINTC IRQ model for RISC-V
vlsunil Aug 12, 2024
a5fe4a4
ACPI: pci_link: Clear the dependencies after probe
vlsunil Aug 12, 2024
a5159cc
ACPI: RISC-V: Implement PCI related functionality
vlsunil Aug 12, 2024
90dfcfd
ACPI: RISC-V: Implement function to reorder irqchip probe entries
vlsunil Aug 12, 2024
336eb94
ACPI: RISC-V: Initialize GSI mapping structures
vlsunil Aug 12, 2024
58041ca
ACPI: RISC-V: Implement function to add implicit dependencies
vlsunil Aug 12, 2024
2b39d46
irqchip/riscv-intc: Add ACPI support for AIA
vlsunil Aug 12, 2024
ad00758
irqchip/riscv-imsic-state: Create separate function for DT
vlsunil Aug 12, 2024
03d3088
irqchip/riscv-imsic: Add ACPI support
vlsunil Aug 12, 2024
c396827
irqchip/riscv-aplic: Add ACPI support
vlsunil Aug 12, 2024
cbe09cb
irqchip/sifive-plic: Add ACPI support
vlsunil Aug 27, 2024
72e0b79
irqchip/riscv-intc: Fix SMP=n boot with ACPI
vlsunil Oct 14, 2024
a447fbe
clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu
vlsunil Sep 27, 2023
c03ef60
RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remapping
vlsunil Oct 18, 2023
925a493
RISC-V: ACPI: Update the return value of acpi_get_rhct()
vlsunil Oct 18, 2023
bb46dce
RISC-V: ACPI: RHCT: Add function to get CBO block sizes
vlsunil Oct 18, 2023
066a300
RISC-V: cacheflush: Initialize CBO variables on ACPI systems
vlsunil Oct 18, 2023
657eb44
driver: k1: add an interconnect process driver
May 17, 2025
7102ec8
riscv: k1: dts: add memory ranges define
May 17, 2025
9fd7d67
riscv: config: enable memory range driver for spacemit k1
May 20, 2025
fcc374d
riscv: dmi: Add SMBIOS/DMI support
xiaobo55x Jun 13, 2024
17326b7
serial/8250_dw: Add ACPI ID for SG2044 UART
Apr 16, 2025
d01e5bf
irqchip: Add Sophgo SG2044 MSI controller driver
May 7, 2025
b93db33
riscv: openeuler_defconfig: Enable Sophgo SG2044 MSI drivers
May 7, 2025
9573ec3
drivers: i2c: Add ACPI support for Sophgo I2C Controller
Apr 22, 2025
8ee1b7f
drivers: spi: Add ACPI support for Sophgo SPI Controller
Apr 22, 2025
ffb8228
ACPI: RISC-V: Add LPI driver
vlsunil Jan 18, 2024
0df1c13
ACPI: Enable ACPI_PROCESSOR for RISC-V
vlsunil Jan 18, 2024
07b7444
lib/string_choices: Add str_plural() helper
mwajdecz Feb 14, 2024
961cfcd
dt-bindings: interrupt-controller: Add T-HEAD C900 ACLINT SSWI device
inochisa Oct 31, 2024
2ba8ce7
irqchip: Add T-HEAD C900 ACLINT SSWI driver
inochisa Oct 31, 2024
6b1adfe
drivers: Add ACPI support for thead-c900-aclint-sswi
Jan 8, 2025
e1ff5c3
riscv: openeuler_defconfig: Enable T-HEAD C900 ACLINT SSWI drivers
May 7, 2025
85ae925
RISC-V: Enable IPI CPU Backtrace
ryotakakura98 Jul 18, 2024
600dd28
RISC-V: ACPI: Enable SPCR table for console output on RISC-V
May 2, 2024
22c10e5
iommu/vt-d: add wrapper functions for page allocations
soleen Apr 13, 2024
43125a8
sizes.h: Add entries between SZ_32G and SZ_64T
MTCoster Nov 22, 2023
6a500d3
iommu: constify of_phandle_args in xlate
krzk Feb 16, 2024
191dc04
dt-bindings: iommu: riscv: Add bindings for RISC-V IOMMU
tjeznach Oct 16, 2024
2e4a566
iommu/riscv: Add RISC-V IOMMU platform device driver
tjeznach Oct 16, 2024
fbcf642
iommu/riscv: Add RISC-V IOMMU PCIe device driver
tjeznach Oct 16, 2024
9b897f3
iommu/riscv: Enable IOMMU registration and device probe.
tjeznach Oct 16, 2024
511caa2
iommu/riscv: Device directory management.
tjeznach Oct 16, 2024
4364f8a
iommu/riscv: Command and fault queue support
tjeznach Oct 16, 2024
e37aecf
iommu/riscv: Paging domain support
tjeznach Oct 16, 2024
3ff32fc
RISC-V: Select ACPI PPTT drivers
cuiyunhui Jun 17, 2024
e4badf6
ACPI: RISC-V: Add CPPC driver
vlsunil Feb 8, 2024
d76a109
cpufreq: Move CPPC configs to common Kconfig and add RISC-V
vlsunil Feb 8, 2024
d14c2c1
RISC-V: defconfig: Enable CONFIG_ACPI_CPPC_CPUFREQ
vlsunil Feb 8, 2024
262dbbe
RISC-V: Implement archrandom when Zkr is available
sameo Nov 30, 2023
a66ba34
riscv: Optimize crc32 with Zbc extension
XiaoWang1772 Jun 21, 2024
dd7db8a
riscv: Optimize bitops with Zbb extension
XiaoWang1772 Oct 31, 2023
523d28c
riscv: Optimize hweight API with Zbb extension
XiaoWang1772 Nov 12, 2023
0556102
riscv: k1: dt-bindings: support dma binding for spacemit k1 soc
May 19, 2025
512a005
driver: k1: add dma driver support for spacemit k1
May 17, 2025
5089c12
riscv: k1: dts: add dma support for spacemit k1
May 19, 2025
ed2e986
riscv: config: enable dma driver for spacemit k1
May 20, 2025
a2d5c8c
driver: k1: add i2c driver support for spacemit k1
May 19, 2025
dd126db
riscv: k1: dts: add i2c support for spacemit k1
May 19, 2025
ea5827a
riscv: config: enable i2c driver for spacemit k1
May 20, 2025
1900f8b
riscv: k1: dts: enable i2c2 and i2c8 for bananapi f3 board
May 21, 2025
27ccb43
driver: k1: add spi driver support for spacemit k1
May 19, 2025
35d23dc
riscv: k1: dts: add spi support for spacemit k1
May 19, 2025
57c7d1c
riscv: config: enable spi driver for spacemit k1
May 20, 2025
d8d2228
riscv: k1: dts: enable spi-3 for bananapi f3 board
May 21, 2025
46d3bee
driver: k1: add qspi driver support for spacemit k1
May 19, 2025
d323d79
riscv: k1: dts: add qspi support for spacemit k1
May 19, 2025
45a692f
riscv: config: enable qspi driver for spacemit k1
May 20, 2025
9623098
riscv: k1: dts: enable qspi for bananapi f3 board
May 21, 2025
6d4c569
driver: pwm: update pwm-pxa for support spacemit k1
May 19, 2025
319a162
riscv: k1: dts: add pwm support for spacemit k1
May 19, 2025
d7ab89f
riscv: config: enable pxa-pwm driver for spacemit k1
May 20, 2025
60090f5
riscv: k1: dts: enable pwm for bananapi f3 board
May 21, 2025
89d5275
driver: mfd: add spacemit p1 mfd driver support
May 19, 2025
b96c333
driver: regulator: add spacemit p1 regulator driver support
May 19, 2025
695462f
driver: input: add spacemit p1 key driver support
May 19, 2025
de1364f
driver: pinctrl: add spacemit p1 pinctrl driver support
May 19, 2025
f9de005
driver: rtc: add spacemit p1 rtc driver support
May 20, 2025
e5b734b
driver: iio/adc: add spacemit p1 adc driver support
May 20, 2025
a3df7f3
riscv: dts: add spacemit p1 pmic support for bananapi f3
May 21, 2025
7064d47
riscv: config: enable spacemit p1 driver for spacemit k1
May 20, 2025
9a1800e
riscv: config: enable CONFIG_RISCV_ISA_ZICBOM for spacemit k1
kevin-zhm May 28, 2025
609a780
riscv: config: Update openeuler_defconfig for support k1 modules
kevin-zhm May 28, 2025
329e788
riscv, qemu_fw_cfg: Add support for RISC-V architecture
bjorn-rivos Oct 12, 2023
eeabef3
driver: k1/spi: Fixed compilation errors reported when enable CONFIG_…
Aug 24, 2025
9a85d6a
cpufreq: th1520-cpufreq: fix cpu_pll1 already disabled warning
xmzzz Aug 24, 2025
4d6d6b2
dt-bindings: mmc: spacemit,sdhci: add support for K1 SoC
Aug 25, 2025
78b4fd4
mmc: sdhci-of-k1: add support for SpacemiT K1 SoC
Aug 25, 2025
6a83253
riscv: k1: dts: add sdhci controller support for spacemit k1
Aug 25, 2025
de687cb
riscv: config: enable sdhci driver for spacemit k1
Aug 25, 2025
5e10538
riscv: k1: dts: enable sdhci-0/1/2 for bananapi f3 board
Aug 25, 2025
1b2dda5
riscv: config: Update openeuler_defconfig for support k1 sdhci
Aug 25, 2025
6987ff5
net: k1: support emac controller in spacemit k1 soc
Aug 26, 2025
1ece921
riscv: k1: dts: add emacs controllers support for spacemit k1
Aug 26, 2025
66d6502
riscv: config: enable emac driver for spacemit k1
Aug 26, 2025
d1f1239
riscv: k1: dts: enable eth0/eth1 for bananapi f3 board
Aug 26, 2025
2aaf733
riscv: config: Update openeuler_defconfig for support k1 emac
Aug 26, 2025
b89e6be
riscv: config: Fix kabi changes due to config alterations
xmzzz Aug 31, 2025
1f8d375
selftests/hid: ensure we can compile the tests on kernels pre-6.3
Oct 5, 2023
f912763
selftests/hid: do not manually call headers_install
Oct 5, 2023
764685b
selftests/hid: force using our compiled libbpf headers
Oct 5, 2023
41b6efd
OF: Retire dma-ranges mask workaround
rmurphy-arm Apr 19, 2024
e1d67f3
OF: Simplify DMA range calculations
rmurphy-arm Apr 19, 2024
8dc4b7c
ACPI/IORT: Handle memory address size limits as limits
rmurphy-arm Apr 19, 2024
0adbc92
dma-mapping: Add helpers for dma_range_map bounds
rmurphy-arm Apr 19, 2024
3f3ae80
drivers: pci: Add Sophgo SG2044 PCIe Controller support
xingxg2022 Dec 24, 2024
a0804a9
riscv: config: Enable SG2044 PCIe controller driver
Sep 1, 2025
8952b75
rvck-olk repo add check action
wangliu-iscas Sep 12, 2025
54cb5de
修复rsync认证失败问题
wangliu-iscas Sep 15, 2025
4dbe7fb
SG2042: Fix compatibility of MSI-X whitelist function
Sep 29, 2025
93883ce
serial: port: Introduce a common helper to read properties
andy-shev Mar 4, 2024
8e87e16
serial: 8250_dw: Switch to use uart_read_port_properties()
andy-shev Mar 4, 2024
945c8ad
serial: 8250_dw: Replace ACPI device check by a quirk
andy-shev Mar 6, 2024
4ded4d7
serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
andy-shev May 14, 2024
45745d3
serial: 8250_dw: Revert "Move definitions to the shared header"
andy-shev May 14, 2024
bca5bd2
riscv: dp1000: 8250_dw: support ultrarisc dp1000 uart
Xincheng-Zhang-UR May 28, 2024
ebaa960
riscv: dp1000: bindings: update bindings of ultrarisc dp1000 uart
WangJia-UR Jul 23, 2025
8d205de
riscv: irqchip: plic: fix hunging in the plic_irq_resume() function
WangJia-UR Jun 13, 2024
7129ba5
riscv: dp1000: plic: fix plic claim register hardware bug
Xincheng-Zhang-UR Aug 30, 2024
5df26d0
riscv: dp1000: bindings: Add UltraRISC DP1000 PLIC in interrupr-contr…
WangJia-UR Jul 23, 2025
9dfefa1
riscv: dp1000: dts: add dp1000.dts for UltraRISC DP1000 SoC
WangJia-UR May 16, 2025
cc6b192
riscv: dp1000: arch: add UltraRISC DP1000 SoC support
WangJia-UR Apr 9, 2025
f074b99
riscv: dp1000: pci: support UltraRISC pcie rc
Xincheng-Zhang-UR May 28, 2024
0a8c3ae
riscv: dp1000: pci: support dw pcie rc interrupt affinity settings
Xincheng-Zhang-UR Jan 16, 2025
dabbe4c
riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg access
Xincheng-Zhang-UR Feb 26, 2025
ba49477
riscv: dp1000: pci: update the outbound mapping process
Xincheng-Zhang-UR Feb 5, 2025
9e8f45d
riscv: dp1000: pci: Update the number of pci outbound and inbound
Xincheng-Zhang-UR Jun 13, 2025
9a62105
riscv: dp1000: stmmac: add gmac driver for UltraRISC DP1000
ultrariscwangjiahao Jan 13, 2025
e479a15
riscv: dp1000: pinctrl: add pinctrl dirver of UltraRISC DP1000
WangJia-UR Jan 17, 2025
c5b4bbb
riscv: dp1000: bindings: pinctrl: add pincltrl binding file of DP1000
WangJia-UR Jun 6, 2025
df1915e
riscv: dp1000: dts: add pinctrl dtsi/dts for UltraRISC DP1000
WangJia-UR Jun 16, 2025
f2004b5
riscv: dp1000: add dp1000_defconfig
WangJia-UR Jun 18, 2025
4e92205
riscv: dp1000: pci: dwc: Add support for 16-lane PCIe link width
Xincheng-Zhang-UR Jul 25, 2025
51e35c4
Revert "riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg ac…
WangJia-UR Sep 5, 2025
3818961
riscv: dp1000: pci: Add custom PCI host ops
Xincheng-Zhang-UR Aug 5, 2025
8eee1d7
riscv: dp1000: dts: add the dts of UltraRISC dp1000-mo-v1 board
WangJia-UR Sep 4, 2025
7c4f7bc
riscv: dp1000: dts: Move mmc0 node from SoC to board DTS
WangJia-UR Sep 9, 2025
044b9fd
RISC-V: Add stubs for sbi_console_putchar/getchar()
avpatel Nov 24, 2023
c9d7bbc
RISC-V: Add SBI debug console helper routines
avpatel Nov 24, 2023
f94f638
tty/serial: Add RISC-V SBI debug console based earlycon
avpatel Nov 24, 2023
e6a60c2
tty: Add SBI debug console support to HVC SBI driver
atishp04 Nov 24, 2023
5c9a70d
RISC-V: Enable SBI based earlycon support
avpatel Nov 24, 2023
c077355
RISC-V: Add defines for SBI debug console extension
avpatel Jul 22, 2022
0243916
RISC-V: KVM: Change the SBI specification version to v2.0
avpatel Oct 10, 2023
22295c2
RISC-V: KVM: Allow some SBI extensions to be disabled by default
avpatel Oct 11, 2023
4b01d52
RISC-V: KVM: Forward SBI DBCN extension to user-space
avpatel Jul 22, 2022
d28c778
KVM: riscv: selftests: Add SBI DBCN extension to get-reg-list test
avpatel Oct 20, 2023
63006b4
RISC-V: KVM: Don't add SBI multi regs in get-reg-list
Dec 13, 2023
0a6ad1c
KVM: riscv: selftests: Drop SBI multi registers
Dec 13, 2023
7782784
RISC-V: KVM: Make SBI uapi consistent with ISA uapi
Dec 13, 2023
d954fdf
KVM: riscv: selftests: Add RISCV_SBI_EXT_REG
Dec 13, 2023
fe3d646
RISC-V: paravirt: Add skeleton for pv-time support
Dec 20, 2023
65e4196
RISC-V: Add SBI STA extension definitions
Dec 20, 2023
180ac2f
RISC-V: paravirt: Implement steal-time support
Dec 20, 2023
836f27d
RISC-V: KVM: Add SBI STA extension skeleton
Dec 20, 2023
c1cddb2
RISC-V: KVM: Add steal-update vcpu request
Dec 20, 2023
0468c0d
RISC-V: KVM: Add SBI STA info to vcpu_arch
Dec 20, 2023
abae02c
RISC-V: KVM: Add support for SBI extension registers
Dec 20, 2023
394bac2
RISC-V: KVM: Add support for SBI STA registers
Dec 20, 2023
cabb84f
RISC-V: KVM: Implement SBI STA extension
Dec 20, 2023
470d066
riscv: use ".L" local labels in assembly when applicable
clementleger Oct 24, 2023
c506760
riscv: kernel: Use correct SYM_DATA_*() macro for data
clementleger Oct 24, 2023
f9cb59d
riscv: Add support for kernel mode vector
greentime Jan 15, 2024
8f2888a
riscv: vector: make Vector always available for softirq context
AndybnACT Jan 15, 2024
34f05af
riscv: Add vector extension XOR implementation
greentime Jan 15, 2024
03bc89f
riscv: sched: defer restoring Vector context for user
AndybnACT Jan 15, 2024
463194f
riscv: lib: vectorize copy_to_user/copy_from_user
AndybnACT Jan 15, 2024
72fdded
riscv: fpu: drop SR_SD bit checking
AndybnACT Jan 15, 2024
d61a044
riscv: vector: do not pass task_struct into riscv_v_vstate_{save,rest…
AndybnACT Jan 15, 2024
4feb402
riscv: vector: use a mask to write vstate_ctrl
AndybnACT Jan 15, 2024
8e635e1
riscv: vector: use kmem_cache to manage vector context
AndybnACT Jan 15, 2024
f79c76d
riscv: vector: allow kernel-mode Vector with preemption
AndybnACT Jan 15, 2024
3a5dd26
riscv: Fix vector state restore in rt_sigreturn()
bjorn-rivos Apr 3, 2024
76a5829
riscv: config: Update openeuler_defconfig
xmzzz Nov 2, 2025
654495a
kexec_file: add kexec_file flag to control debug printing
Dec 13, 2023
3af4d89
kexec_file: print out debugging message if required
Dec 13, 2023
bae6ab1
kexec_file, x86: print out debugging message if required
Dec 13, 2023
ec6853f
kexec_file, arm64: print out debugging message if required
Dec 13, 2023
d661486
kexec_file, riscv: print out debugging message if required
Dec 13, 2023
b029f2a
kexec_file, power: print out debugging message if required
Dec 13, 2023
1c4d65d
kexec_file, parisc: print out debugging message if required
vlsunil Jul 30, 2024
369c623
kexec: fix the unexpected kexec_dprintk() macro
Apr 9, 2024
d832439
riscv: kexec_file: Split the loading of kernel and others
Apr 9, 2025
d6aa600
riscv: kexec_file: Support loading Image binary file
Apr 9, 2025
0739c4d
serial: 8250_platform: Enable generic 16550A platform devices
vlsunil Jul 30, 2024
214df82
RISC-V: KVM: Add kvm_vcpu_config
mdchitale Sep 13, 2023
ea107ef
RISC-V: KVM: Enable Smstateen accesses
mdchitale Sep 13, 2023
a78142e
RISCV: KVM: Add senvcfg context save/restore
mdchitale Sep 13, 2023
420eafb
RISCV: KVM: Add sstateen0 context save/restore
mdchitale Sep 13, 2023
7379c3d
RISCV: KVM: Add sstateen0 to ONE_REG
mdchitale Sep 13, 2023
9c4f229
RISC-V: KVM: Fix indentation in kvm_riscv_vcpu_set_reg_csr()
avpatel Dec 24, 2023
faae0c4
KVM: RISC-V: reset smstateen CSRs
radimkrcmar Apr 3, 2025
43fa15a
xuantie: nna: select SYNC_FILE
woqidaideshi Aug 19, 2025
d9efe6d
iommu: Handle race with default domain setup
rmurphy-arm Feb 28, 2025
eff36cf
riscv: dp1000: plic: add plic early init supports
WangJia-UR Sep 18, 2025
f384a93
riscv: openeuler_defconfig: update UltraRISC platform
xmzzz Nov 16, 2025
b22f52d
Add empty_change_file.txt for PR testing
lzyprime Mar 30, 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
  •  
  •  
  •  
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
Loading