Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1636 commits
Select commit Hold shift + click to select a range
71d4337
RISC-V: Provide the frequency of time CSR via hwprobe
palmer-dabbelt Jul 2, 2024
e7c622b
riscv: hwprobe: Export the Supm ISA extension
SiFiveHolland Oct 16, 2024
39e49ca
RISC-V: hwprobe: sort EXT_KEY()s in hwprobe_isa_ext0() alphabetically
ConchuOD Jul 17, 2024
d34d07d
riscv: Introduce vendor variants of extension helpers
charlie-rivos Jul 19, 2024
7bbedf3
riscv: cpufeature: Extract common elements from extension checking
charlie-rivos Jul 19, 2024
335e49a
riscv: Move cpufeature.h macros into their own header
Nov 3, 2024
8d75f9d
riscv: errata: Rename defines for Andes
lyctw Feb 22, 2024
3a35dec
ACPICA: SRAT: Add RISC-V RINTC affinity structure
uestc-gr Apr 25, 2025
6efa76b
ACPI: RISCV: Add NUMA support based on SRAT and SLIT
uestc-gr Apr 25, 2025
a564eb5
ACPI: NUMA: Add handler for SRAT RINTC affinity structure
uestc-gr Apr 25, 2025
6f03b42
ACPI: NUMA: Make some NUMA-related functions available for RISC-V
uestc-gr Apr 25, 2025
e8bb48d
ACPI: NUMA: change the ACPI_NUMA to a hidden option
uestc-gr Apr 25, 2025
81bf307
ACPI: NUMA: replace pr_info with pr_debug in arch_acpi_numa_init
uestc-gr Apr 25, 2025
56092e9
irqchip/sifive-plic: Convert PLIC driver into a platform driver
avpatel Feb 22, 2024
40538c9
irqchip/sifive-plic: Use dev_xyz() in-place of pr_xyz()
avpatel Feb 22, 2024
4c66b75
irqchip/sifive-plic: Use devm_xyz() for managed allocation
avpatel Feb 22, 2024
131069d
irqchip/sifive-plic: Use riscv_get_intc_hwnode() to get parent fwnode
avpatel Feb 22, 2024
0d358da
irqchip/sifive-plic: Cleanup PLIC contexts upon irqdomain creation fa…
avpatel Feb 22, 2024
7f4549d
irqchip/sifive-plic: Parse number of interrupts and contexts early in…
avpatel Feb 22, 2024
c8a3172
irqchip/sifive-plic: Improve locking safety by using irqsave/irqrestore
avpatel Feb 22, 2024
e821800
irqchip/sifive-plic: Avoid explicit cpumask allocation on stack
Apr 16, 2024
746772f
irqchip/sifive-plic: Chain to parent IRQ after handlers are ready
SiFiveHolland May 29, 2024
904bc74
irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform
avpatel Aug 20, 2024
4cc8b5c
irqchip/sifive-plic: Probe plic driver early for sophgo sg204x platform
sterling-teng Jul 14, 2025
1fc6886
arm64: PCI: Migrate ACPI related functions to pci-acpi.c
vlsunil Aug 12, 2024
bbb8c27
ACPI: scan: Add a weak arch_sort_irqchip_probe() to order the IRQCHIP…
vlsunil Aug 12, 2024
9657f15
ACPI: bus: Add acpi_riscv_init() function
vlsunil Aug 12, 2024
e1b2f37
ACPI: scan: Extract CSI-2 connection graph from _CRS
rafaeljw Nov 6, 2023
8ccfc43
ACPI: utils: Dynamically determine acpi_handle_list size
rafaeljw Sep 27, 2023
eae96ea
ACPI: utils: Fix error path in acpi_evaluate_reference()
rafaeljw Dec 7, 2023
fbfce88
ACPI: utils: Rearrange in acpi_evaluate_reference()
rafaeljw Dec 8, 2023
a61727a
ACPI: utils: Return bool from acpi_evaluate_reference()
rafaeljw Dec 8, 2023
d13d612
ACPI: utils: Refine acpi_handle_list_equal() slightly
rafaeljw Dec 8, 2023
1bded79
ACPI: utils: Fix white space in struct acpi_handle_list definition
rafaeljw Dec 8, 2023
4d9f466
ACPI: scan: Refactor dependency creation
vlsunil Aug 12, 2024
ab059b2
ACPI: scan: Add RISC-V interrupt controllers to honor list
vlsunil Aug 12, 2024
7dbd82a
ACPI: scan: Define weak function to populate dependencies
vlsunil Aug 12, 2024
d421387
ACPI: bus: Add RINTC IRQ model for RISC-V
vlsunil Aug 12, 2024
000461a
ACPI: pci_link: Clear the dependencies after probe
vlsunil Aug 12, 2024
cda9018
ACPI: RISC-V: Implement PCI related functionality
vlsunil Aug 12, 2024
b01dd50
ACPI: RISC-V: Implement function to reorder irqchip probe entries
vlsunil Aug 12, 2024
fb79ba2
ACPI: RISC-V: Initialize GSI mapping structures
vlsunil Aug 12, 2024
7a9c0fa
ACPI: RISC-V: Implement function to add implicit dependencies
vlsunil Aug 12, 2024
bdc08e8
irqchip/riscv-intc: Add ACPI support for AIA
vlsunil Aug 12, 2024
fed1b5b
irqchip/riscv-imsic-state: Create separate function for DT
vlsunil Aug 12, 2024
27e7429
irqchip/riscv-imsic: Add ACPI support
vlsunil Aug 12, 2024
6f08a3d
irqchip/riscv-aplic: Add ACPI support
vlsunil Aug 12, 2024
ac442f3
irqchip/sifive-plic: Add ACPI support
vlsunil Aug 27, 2024
655d90c
irqchip/riscv-intc: Fix SMP=n boot with ACPI
vlsunil Oct 14, 2024
d2b5b08
clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu
vlsunil Sep 27, 2023
2617826
RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remapping
vlsunil Oct 18, 2023
73afcaa
RISC-V: ACPI: Update the return value of acpi_get_rhct()
vlsunil Oct 18, 2023
6b6e852
RISC-V: ACPI: RHCT: Add function to get CBO block sizes
vlsunil Oct 18, 2023
79f4fa2
RISC-V: cacheflush: Initialize CBO variables on ACPI systems
vlsunil Oct 18, 2023
e83dfb3
driver: k1: add an interconnect process driver
May 17, 2025
87ae495
riscv: k1: dts: add memory ranges define
May 17, 2025
d6d1772
riscv: config: enable memory range driver for spacemit k1
May 20, 2025
8930852
riscv: dmi: Add SMBIOS/DMI support
uestc-gr May 20, 2025
c897dc8
serial/8250_dw: Add ACPI ID for SG2044 UART
Apr 16, 2025
0e672d4
irqchip: Add Sophgo SG2044 MSI controller driver
May 7, 2025
c574e55
drivers: i2c: Add ACPI support for Sophgo I2C Controller
Apr 22, 2025
55b9a8e
drivers: spi: Add ACPI support for Sophgo SPI Controller
Apr 22, 2025
5ba2ce3
ACPI: RISC-V: Add LPI driver
vlsunil Jan 18, 2024
f104155
ACPI: Enable ACPI_PROCESSOR for RISC-V
vlsunil Jan 18, 2024
40d919f
lib/string_choices: Add str_plural() helper
mwajdecz Feb 14, 2024
332b6fa
dt-bindings: interrupt-controller: Add T-HEAD C900 ACLINT SSWI device
inochisa Oct 31, 2024
69fbd66
irqchip: Add T-HEAD C900 ACLINT SSWI driver
inochisa Oct 31, 2024
2959ecf
drivers: Add ACPI support for thead-c900-aclint-sswi
Jan 8, 2025
5a9147d
RISC-V: Enable IPI CPU Backtrace
uestc-gr Jun 5, 2025
9cdd420
RISC-V: ACPI: Enable SPCR table for console output on RISC-V
uestc-gr Jun 13, 2025
8447496
RISC-V: Select ACPI PPTT drivers
uestc-gr Jul 3, 2025
bfa2da7
ACPI: RISC-V: Add CPPC driver
uestc-gr Jul 3, 2025
bf284ac
cpufreq: Move CPPC configs to common Kconfig and add RISC-V
uestc-gr Jul 3, 2025
5c52777
RISC-V: Implement archrandom when Zkr is available
uestc-gr Jul 4, 2025
1f9916b
Revert "riscv: kexec: Add image loader for kexec file"
uestc-gr Jul 25, 2025
a1d9efe
riscv: kexec_file: Split the loading of kernel and others
uestc-gr Jul 25, 2025
a3da063
riscv: kexec_file: Support loading Image binary file
uestc-gr Jul 25, 2025
d655e2a
serial: 8250_platform: Enable generic 16550A platform devices
uestc-gr Jul 25, 2025
2a04ed2
riscv: dp1000: 8250_dw: support ultrarisc dp1000 uart
Xincheng-Zhang-UR May 28, 2024
df008f6
riscv: dp1000: bindings: update bindings of ultrarisc dp1000 uart
WangJia-UR Jul 23, 2025
1ed9295
riscv: irqchip: plic: fix hunging in the plic_irq_resume() function
WangJia-UR Jun 13, 2024
6c2d090
riscv: dp1000: plic: fix plic claim register hardware bug
Xincheng-Zhang-UR Aug 30, 2024
8b6d56b
riscv: dp1000: bindings: Add UltraRISC DP1000 PLIC in interrupr-contr…
WangJia-UR Jul 23, 2025
c34befa
riscv: dp1000: dts: add dp1000.dts for UltraRISC DP1000 SoC
WangJia-UR May 16, 2025
80c9d2d
riscv: dp1000: arch: add UltraRISC DP1000 SoC support
WangJia-UR Apr 9, 2025
c466bdc
riscv: dp1000: pci: support UltraRISC pcie rc
Xincheng-Zhang-UR May 28, 2024
4a0ca7a
riscv: dp1000: pci: support dw pcie rc interrupt affinity settings
Xincheng-Zhang-UR Jan 16, 2025
fa8842e
riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg access
Xincheng-Zhang-UR Feb 26, 2025
6560bc9
riscv: dp1000: pci: update the outbound mapping process
Xincheng-Zhang-UR Feb 5, 2025
50f0913
riscv: dp1000: pci: Update the number of pci outbound and inbound
Xincheng-Zhang-UR Jun 13, 2025
8c91b52
riscv: dp1000: stmmac: add gmac driver for UltraRISC DP1000
ultrariscwangjiahao Jan 13, 2025
ed28ebc
riscv: dp1000: pinctrl: add pinctrl dirver of UltraRISC DP1000
WangJia-UR Jan 17, 2025
18847e5
riscv: dp1000: bindings: pinctrl: add pincltrl binding file of DP1000
WangJia-UR Jun 6, 2025
b345c99
riscv: dp1000: dts: add pinctrl dtsi/dts for UltraRISC DP1000
WangJia-UR Jun 16, 2025
44c919c
riscv: dp1000: add dp1000_defconfig
WangJia-UR Jun 18, 2025
b74bac2
riscv: pci: Restrict check_vendor_id invocation to Sophgo platform vi…
WangJia-UR Jul 24, 2025
550536e
RISC-V: KVM: Add kvm_vcpu_config
yechao-w Jul 14, 2025
1185d5e
RISC-V: KVM: Enable Smstateen accesses
yechao-w Jul 14, 2025
a4d1f66
RISCV: KVM: Add senvcfg context save/restore
yechao-w Jul 14, 2025
d6612a3
RISCV: KVM: Add sstateen0 context save/restore
yechao-w Jul 14, 2025
d660123
RISCV: KVM: Add sstateen0 to ONE_REG
yechao-w Jul 14, 2025
f375901
RISC-V: KVM: Fix indentation in kvm_riscv_vcpu_set_reg_csr()
yechao-w Jul 14, 2025
3f1d6e1
KVM: RISC-V: reset smstateen CSRs
yechao-w Jul 14, 2025
293028c
kexec_file: add kexec_file flag to control debug printing
uestc-gr Jul 29, 2025
2267c96
kexec_file: print out debugging message if required
uestc-gr Jul 29, 2025
fc8b42b
kexec_file, x86: print out debugging message if required
uestc-gr Jul 29, 2025
57941df
kexec_file, arm64: print out debugging message if required
uestc-gr Jul 29, 2025
692cbd4
kexec_file, riscv: print out debugging message if required
uestc-gr Jul 29, 2025
9e61e6e
kexec_file, power: print out debugging message if required
uestc-gr Jul 29, 2025
779a06a
kexec_file, parisc: print out debugging message if required
uestc-gr Jul 29, 2025
1725467
kexec: fix the unexpected kexec_dprintk() macro
uestc-gr Jul 29, 2025
86d36ee
xuantie: nna: select SYNC_FILE
woqidaideshi Aug 19, 2025
5146f60
Revert "iommu: Handle race with default domain setup"
uestc-gr Jul 29, 2025
7d0b78b
iommu: Add iommu_ops->identity_domain
uestc-gr Jul 28, 2025
630b180
iommu: Add IOMMU_DOMAIN_PLATFORM
uestc-gr Jul 28, 2025
88bf755
iommu: Add IOMMU_DOMAIN_PLATFORM for S390
uestc-gr Apr 22, 2025
83aacbd
iommu/fsl_pamu: Implement a PLATFORM domain
uestc-gr Apr 22, 2025
2f4f58c
iommu/mtk_iommu_v1: Implement an IDENTITY domain
uestc-gr Apr 22, 2025
67d7f68
iommu: Reorganize iommu_get_default_domain_type() to respect def_doma…
uestc-gr Apr 22, 2025
42b1703
iommu: Allow an IDENTITY domain as the default_domain in ARM32
uestc-gr Apr 22, 2025
5b92032
iommu/exynos: Implement an IDENTITY domain
uestc-gr Apr 22, 2025
b81b7ae
iommu/tegra-smmu: Implement an IDENTITY domain
uestc-gr Apr 22, 2025
8677001
iommu/tegra-smmu: Support DMA domains in tegra
uestc-gr Apr 22, 2025
53c710a
iommu/omap: Implement an IDENTITY domain
uestc-gr Apr 22, 2025
0f08250
iommu/msm: Implement an IDENTITY domain
uestc-gr Apr 22, 2025
c98d5f1
iommu: Remove ops->set_platform_dma_ops()
uestc-gr Apr 22, 2025
cc8aa40
iommu/qcom_iommu: Add an IOMMU_IDENTITIY_DOMAIN
uestc-gr Apr 22, 2025
26ddcf1
iommu/ipmmu: Add an IOMMU_IDENTITIY_DOMAIN
uestc-gr Apr 22, 2025
fa75cbb
iommu/mtk_iommu: Add an IOMMU_IDENTITIY_DOMAIN
uestc-gr Apr 22, 2025
89b1fc0
iommu/sun50i: Add an IOMMU_IDENTITIY_DOMAIN
uestc-gr Apr 22, 2025
ae82b82
iommu: Require a default_domain for all iommu drivers
uestc-gr Apr 22, 2025
414d3c8
iommu: Add __iommu_group_domain_alloc()
uestc-gr Apr 22, 2025
12ff537
iommu: Add ops->domain_alloc_paging()
uestc-gr Apr 22, 2025
43f7931
iommu: Convert simple drivers with DOMAIN_DMA to domain_alloc_paging()
uestc-gr Apr 22, 2025
5b8c979
iommu: Convert remaining simple drivers to domain_alloc_paging()
uestc-gr Apr 22, 2025
124d153
iommu: Do not use IOMMU_DOMAIN_DMA if CONFIG_IOMMU_DMA is not enabled
uestc-gr Jul 31, 2025
1e0536b
iommu: Handle race with default domain setup
uestc-gr Jul 31, 2025
f25dc65
riscv: Optimize crc32 with Zbc extension
uestc-gr Jul 9, 2025
a1033d5
riscv: Optimize bitops with Zbb extension
uestc-gr Jul 11, 2025
b75c647
riscv: Optimize hweight API with Zbb extension
uestc-gr Jul 11, 2025
51da08b
riscv: k1: dt-bindings: support dma binding for spacemit k1 soc
May 19, 2025
43baa4a
driver: k1: add dma driver support for spacemit k1
May 17, 2025
e49c7f5
riscv: k1: dts: add dma support for spacemit k1
May 19, 2025
f4b6ed5
riscv: config: enable dma driver for spacemit k1
May 20, 2025
f4534be
driver: k1: add i2c driver support for spacemit k1
May 19, 2025
dbce1d0
riscv: k1: dts: add i2c support for spacemit k1
May 19, 2025
43305e6
riscv: config: enable i2c driver for spacemit k1
May 20, 2025
e9bf284
riscv: k1: dts: enable i2c2 and i2c8 for bananapi f3 board
May 21, 2025
90e6bd0
driver: k1: add spi driver support for spacemit k1
May 19, 2025
4910773
riscv: k1: dts: add spi support for spacemit k1
May 19, 2025
eddb761
riscv: config: enable spi driver for spacemit k1
May 20, 2025
327507f
riscv: k1: dts: enable spi-3 for bananapi f3 board
May 21, 2025
a8acf25
driver: k1: add qspi driver support for spacemit k1
May 19, 2025
18d1987
riscv: k1: dts: add qspi support for spacemit k1
May 19, 2025
d3a0c75
riscv: config: enable qspi driver for spacemit k1
May 20, 2025
80d985a
riscv: k1: dts: enable qspi for bananapi f3 board
May 21, 2025
ee835c1
driver: pwm: update pwm-pxa for support spacemit k1
May 19, 2025
f4c9487
riscv: k1: dts: add pwm support for spacemit k1
May 19, 2025
8c2f516
riscv: config: enable pxa-pwm driver for spacemit k1
May 20, 2025
3c846c6
riscv: k1: dts: enable pwm for bananapi f3 board
May 21, 2025
6f1aa06
driver: mfd: add spacemit p1 mfd driver support
May 19, 2025
6688d31
driver: regulator: add spacemit p1 regulator driver support
May 19, 2025
f4b0493
driver: input: add spacemit p1 key driver support
May 19, 2025
49fa2b9
driver: pinctrl: add spacemit p1 pinctrl driver support
May 19, 2025
bf68c86
driver: rtc: add spacemit p1 rtc driver support
May 20, 2025
a38b61a
driver: iio/adc: add spacemit p1 adc driver support
May 20, 2025
c010ccd
riscv: dts: add spacemit p1 pmic support for bananapi f3
May 21, 2025
f67bd57
riscv: config: enable spacemit p1 driver for spacemit k1
May 20, 2025
088b106
riscv: config: enable CONFIG_RISCV_ISA_ZICBOM for spacemit k1
kevin-zhm May 28, 2025
057bbab
riscv, qemu_fw_cfg: Add support for RISC-V architecture
MahnoKropotkinvich Aug 14, 2025
cd30e18
driver: k1/spi: Fixed compilation errors reported when enable CONFIG_…
Aug 24, 2025
5bc4d0b
dt-bindings: mmc: spacemit,sdhci: add support for K1 SoC
Aug 25, 2025
5f696cf
mmc: sdhci-of-k1: add support for SpacemiT K1 SoC
Aug 25, 2025
03dd49b
riscv: k1: dts: add sdhci controller support for spacemit k1
Aug 25, 2025
ffb06b4
riscv: config: enable sdhci driver for spacemit k1
Aug 25, 2025
94b71af
riscv: k1: dts: enable sdhci-0/1/2 for bananapi f3 board
Aug 25, 2025
1941f47
net: k1: support emac controller in spacemit k1 soc
Aug 26, 2025
54095e2
riscv: k1: dts: add emacs controllers support for spacemit k1
Aug 26, 2025
65ce7f4
riscv: config: enable emac driver for spacemit k1
Aug 26, 2025
bfade98
riscv: k1: dts: enable eth0/eth1 for bananapi f3 board
Aug 26, 2025
1d57e86
RISC-V: KVM: Allow Zicond extension for Guest/VM
yechao-w Aug 6, 2025
0617d6e
RISC-V: KVM: Allow Zbc extension for Guest/VM
yechao-w Aug 6, 2025
8c52467
RISC-V: KVM: Allow scalar crypto extensions for Guest/VM
yechao-w Aug 6, 2025
4fbe9f0
RISC-V: KVM: Allow vector crypto extensions for Guest/VM
yechao-w Aug 6, 2025
3e6776d
RISC-V: KVM: Allow Zfh[min] extensions for Guest/VM
yechao-w Aug 6, 2025
a8067a8
RISC-V: KVM: Allow Zihintntl extension for Guest/VM
yechao-w Aug 6, 2025
c157c55
RISC-V: KVM: Allow Zvfh[min] extensions for Guest/VM
yechao-w Aug 6, 2025
63faa69
RISC-V: KVM: Allow Zfa extension for Guest/VM
yechao-w Aug 6, 2025
41feb3c
RISC-V: KVM: Forward SEED CSR access to user space
yechao-w Aug 6, 2025
223b0df
RISC-V: KVM: Allow Ztso extension for Guest/VM
yechao-w Aug 6, 2025
3de6667
RISC-V: KVM: Allow Zacas extension for Guest/VM
yechao-w Aug 6, 2025
97779a8
RISC-V: KVM: Allow Zimop extension for Guest/VM
yechao-w Aug 6, 2025
81346e5
RISC-V: KVM: Allow Zca, Zcf, Zcd and Zcb extensions for Guest/VM
yechao-w Aug 6, 2025
0f9d716
RISC-V: KVM: Allow Zcmop extension for Guest/VM
yechao-w Aug 6, 2025
a7a6599
KVM: riscv: Support guest wrs.nto
yechao-w Aug 6, 2025
8a82151
RISC-V: KVM: Allow Smnpm and Ssnpm extensions for guests
yechao-w Aug 6, 2025
a4ee06e
RISC-V: KVM: Add Svade and Svadu Extensions Support for Guest/VM
yechao-w Aug 6, 2025
4957fda
RISC-V: KVM: Allow Svvptc extension for Guest/VM
yechao-w Aug 6, 2025
3a73ff2
RISC-V: KVM: Allow Zabha extension for Guest/VM
yechao-w Aug 6, 2025
7b0131f
RISC-V: KVM: Allow Ziccrse extension for Guest/VM
yechao-w Aug 6, 2025
1013dad
riscv: use ".L" local labels in assembly when applicable
uestc-gr Aug 4, 2025
fa8e77d
riscv: Use SYM_*() assembly macros instead of deprecated ones
uestc-gr Aug 4, 2025
b818318
riscv: kernel: Use correct SYM_DATA_*() macro for data
uestc-gr Aug 4, 2025
2324caa
riscv: Add support for kernel mode vector
uestc-gr Aug 5, 2025
fd5ebff
riscv: vector: make Vector always available for softirq context
uestc-gr Aug 5, 2025
6eadfd6
RISC-V: Add stubs for sbi_console_putchar/getchar()
yechao-w Aug 22, 2025
bc30842
RISC-V: Add SBI debug console helper routines
yechao-w Aug 22, 2025
8d12d0a
tty/serial: Add RISC-V SBI debug console based earlycon
yechao-w Aug 22, 2025
affc02f
tty: Add SBI debug console support to HVC SBI driver
yechao-w Aug 22, 2025
acc2f77
RISC-V: Enable SBI based earlycon support
yechao-w Aug 22, 2025
e7a6f91
RISC-V: Add defines for SBI debug console extension
yechao-w Aug 22, 2025
2f15cda
RISC-V: KVM: Change the SBI specification version to v2.0
yechao-w Aug 22, 2025
e86eb54
RISC-V: KVM: Allow some SBI extensions to be disabled by default
yechao-w Aug 22, 2025
e9b1f39
RISC-V: KVM: Forward SBI DBCN extension to user-space
yechao-w Aug 22, 2025
5dd0e8a
KVM: riscv: selftests: Add SBI DBCN extension to get-reg-list test
yechao-w Aug 22, 2025
c1fb508
riscv: Add vector extension XOR implementation
uestc-gr Aug 5, 2025
f0e9665
riscv: sched: defer restoring Vector context for user
uestc-gr Aug 5, 2025
f4a546c
riscv: lib: vectorize copy_to_user/copy_from_user
uestc-gr Aug 5, 2025
eb922a3
riscv: fpu: drop SR_SD bit checking
uestc-gr Aug 5, 2025
8df50bf
riscv: vector: do not pass task_struct into riscv_v_vstate_{save,rest…
uestc-gr Aug 5, 2025
ce39f7f
riscv: vector: use a mask to write vstate_ctrl
uestc-gr Aug 5, 2025
99c090c
riscv: vector: use kmem_cache to manage vector context
uestc-gr Aug 5, 2025
4965024
riscv: vector: allow kernel-mode Vector with preemption
uestc-gr Aug 5, 2025
757b895
riscv: Fix vector state restore in rt_sigreturn()
uestc-gr Aug 5, 2025
1232618
asm-generic: ticket-lock: Optimize arch_spin_value_unlocked()
uestc-gr Aug 6, 2025
1256cad
riscv: Improve zacas fully-ordered cmpxchg()
uestc-gr Aug 7, 2025
8b5cf44
riscv: Implement arch_cmpxchg128() using Zacas
uestc-gr Aug 8, 2025
adf07c0
riscv: Implement xchg8/16() using Zabha
uestc-gr Aug 8, 2025
6891dec
asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock
uestc-gr Aug 8, 2025
533892b
asm-generic: ticket-lock: Add separate ticket-lock.h
uestc-gr Aug 8, 2025
1ec44f9
riscv: Add qspinlock support
uestc-gr Aug 8, 2025
5c96eb1
selftests/hid: ensure we can compile the tests on kernels pre-6.3
Oct 5, 2023
bba679a
selftests/hid: do not manually call headers_install
Oct 5, 2023
068235b
selftests/hid: force using our compiled libbpf headers
Oct 5, 2023
c6d05fe
Merge pull request #89 from yechao-w/rvck-6.6-kvm-onereg
sterling-teng Sep 7, 2025
70480ef
Merge pull request #124 from woqidaideshi/rvck-6.6-kselftest
sterling-teng Sep 7, 2025
0beecdf
Merge pull request #92 from uestc-gr/atomic
sterling-teng Sep 7, 2025
5ea8b23
riscv: dp1000: pci: dwc: Add support for 16-lane PCIe link width
Xincheng-Zhang-UR Jul 25, 2025
23a99c6
Revert "riscv: dp1000: pci: dwc: Update dw_pcie_ops for 32-bit cfg ac…
WangJia-UR Sep 5, 2025
0d6282f
riscv: dp1000: pci: Add custom PCI host ops
Xincheng-Zhang-UR Aug 5, 2025
2d1f8b2
riscv: dp1000: dts: add the dts of UltraRISC dp1000-mo-v1 board
WangJia-UR Sep 4, 2025
21d96a1
riscv: dp1000: dts: Move mmc0 node from SoC to board DTS
WangJia-UR Sep 9, 2025
fca17b4
RISCV: KVM: add tracepoints for entry and exit events
Apr 22, 2024
128514d
perf kvm/riscv: Port perf kvm stat to RISC-V
Apr 22, 2024
d16835d
Merge pull request #132 from WangJia-UR/rvck-6.6
sterling-teng Sep 12, 2025
a794907
Merge pull request #88 from uestc-gr/vector
sterling-teng Sep 14, 2025
1eaf4e6
Merge pull request #100 from yechao-w/rvck-6.6-sbi-dbcn
sterling-teng Sep 14, 2025
5f9ea4a
riscv: drm: img-rogue: Convert structure initializations to designate…
WangJia-UR Sep 15, 2025
c89ee19
Merge pull request #138 from WangJia-UR/rvck-6.6
sterling-teng Sep 17, 2025
d439735
Merge pull request #111 from fangyu0809/rvck-6.6-perf-kvm
sterling-teng Sep 17, 2025
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
Expand Up @@ -25,7 +25,7 @@ properties:
maxItems: 1

clocks:
minItems: 2
maxItems: 2

clock-names:
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ properties:
maxItems: 2

clocks:
minItems: 1
maxItems: 1

clock-names:
items:
Expand Down
Loading
Loading