Skip to content

Comments

riscv: Add support for kernel mode vector#1

Open
wangliu-iscas wants to merge 1636 commits intoOERV-RVCI:rvck-6.6from
wangliu-iscas:rvck-6.6
Open

riscv: Add support for kernel mode vector#1
wangliu-iscas wants to merge 1636 commits intoOERV-RVCI:rvck-6.6from
wangliu-iscas:rvck-6.6

Conversation

@wangliu-iscas
Copy link

@oervci
Copy link

oervci commented Aug 16, 2025

开始测试

@oervci
Copy link

oervci commented Aug 16, 2025

@oervci
Copy link

oervci commented Aug 16, 2025

@wangliu-iscas
Copy link
Author

/retest

@wangliu-iscas
Copy link
Author

/check

@oervci
Copy link

oervci commented Aug 17, 2025

开始测试

@oervci
Copy link

oervci commented Aug 17, 2025

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 4, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17458524466

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build abandoned
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Check Patch Result

Total Errors 0
Total Warnings 18

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build failure
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build failed.

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 4, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17462987450

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1/

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/651

lava result count: [fail]: 173, [pass]: 1435, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 5, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17489982115

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1/

LAVA Check

args:

result:

Lava check fail! lava log: https://lava.oerv.ac.cn/scheduler/job/656

lava result count: call: 1

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 6, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17508663595

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1/

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/660

lava result count: [fail]: 175, [pass]: 1433, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 7, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17522497228

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3263369299/

05755aa3630d6cac91ceab518066c748 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
dbe72fda5076d0cdeaef548c93afd306 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/664

lava result count: call: 1

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 7, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17529215525

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3263779777/

f590e09a630bb1800ef577e918fdaf55 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
721fd59d4433aa917d32d7a5cb461cc5 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/668

lava result count: [fail]: 173, [pass]: 1435, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 7, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17530446615

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3263850382/

b6ca6708d6867580246c7acb7ba3fb59 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
dc43c80507aa3560fbbf98b8186a49e3 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/670

lava result count: [fail]: 175, [pass]: 1433, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

KVM RISC-V report more ISA extensions through ONE_REG
RISC-V: Define struct hid_bpf_ctx to fix kselftest hid-bpf compilation
@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 8, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17538544879

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3264433669/

d94ca3376602cb92d4a84f98a6a1012b /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
3d9b7ceb2a937a9fa650131a28f16f72 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/674

lava result count: [fail]: 174, [pass]: 1434, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 8, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17549457908

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build failure
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build failed.

Check Patch Result

Total Errors 0
Total Warnings 18

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3265885220/

8786076c12a08e2e3c0dbf7c9db3d85d /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
cb6c4d6f109447171272df26181730f0 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/682

lava result count: [fail]: 173, [pass]: 1435, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 9, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17574506551

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3269164050/

2ce8b540a0dc4d9d975bd4c711d1cf13 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
8dddd74bdca452c32790acf18c5ed44e /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/685

lava result count: [fail]: 174, [pass]: 1434, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 10, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17612572490

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3274567919/

b9242c961bed416c1a76acc7421d8ee6 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
4987a924a240f93666e52bd591c821f3 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/702

lava result count: [fail]: 176, [pass]: 1432, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

Xincheng-Zhang-UR and others added 5 commits September 11, 2025 09:28
community inclusion
category: feature
bugzilla: RVCK-Project#71

--------------------------------

This patch extends the DesignWare PCIe driver to support a maximum
link width of 16 lanes. Previously, the driver only supported up
to 8 lanes. The change introduces handling for the
'PORT_LINK_MODE_16_LANES' and 'PORT_LOGIC_LINK_WIDTH_16_LANES'
settings when configuring the PCIe link width.

The added case ensures proper configuration for hardware
that supports 16-lane PCIe links. If an invalid number of
lanes is specified, an error message will be logged as before.

Signed-off-by: Zhang Xincheng <zhangxincheng@ultrarisc.com>
Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
…cess"

community inclusion
category: feature
bugzilla: RVCK-Project#71

--------------------------------

This reverts commit fa8842e.

This commit adds the 32-bit dw_pcie_ops interface for UR-DP1000,
but it conflicts with other platforms. To improve compatibility,
this commit is reverted, and in the next commit the 32-bit interface
setup is placed in drivers/pci/controller/dwc/pcie-ultrarisc.c.

Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
community inclusion
category: feature
bugzilla: RVCK-Project#71

--------------------------------

This patch introduces custom PCI host operations for the UltraRISC PCIe
controller. A new 'ultrarisc_pcie_ops' structure is added to define
'map_bus', 'read', and 'write' operations for the PCI host bridge.

The 'ultrarisc_pcie_host_init' function is implemented to initialize the
host bridge and assign these operations, integrated via the 'host_init'
callback in 'ultrarisc_pcie_host_ops'.

Signed-off-by: Xincheng Zhang <zhangxincheng@ultrarisc.com>
Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
community inclusion
category: feature
bugzilla: RVCK-Project#71

--------------------------------

adds the necessary device tree files for the UltraRISC
dp1000-mo-v1 board.

Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
community inclusion
category: feature
bugzilla: RVCK-Project#71

--------------------------------

The mmc0 node (mmc-spi-slot) is a board-level peripheral
specific to the UltraRISC DP1000 EVB V1.0, not part of the
base SoC. Move it from the SoC-level dp1000.dts to the
board-specific dp1000-evb-v1.dts to maintain proper device
tree hierarchy between SoC core and board-specific components.

Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
@wangliu-iscas
Copy link
Author

wangliu-iscas commented Sep 12, 2025

/check


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17668624236

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build failure
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build failed.

Check Patch Result

Total Errors 0
Total Warnings 18

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build failure
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Check Patch Result

Total Errors 0
Total Warnings 18

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build abandoned
lava-trigger skipped
check-patch success

Kunit Test Result

kunit test failed

Check Patch Result

Total Errors 0
Total Warnings 18

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1_3284224687/

e646d2c43c2520d040670a0f80dbdbd9 /srv/guix_result/a6c7c54baf67513ba9d208d8253fba753d92a805/Image
f561bf37e21f7edecedbc4ca81eeb353 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/737

lava result count: [fail]: 173, [pass]: 1435, [skip]: 291

Check Patch Result

Total Errors 0
Total Warnings 18

Shenlin Liang and others added 8 commits September 12, 2025 20:01
mainline inclusion
from Linux 6.11-rc1
commit 91195a9
category: feature
bugzilla: RVCK-Project#110

--------------------------------

Like other architectures, RISCV KVM also needs to add these event
tracepoints to count the number of times kvm guest entry/exit.

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Tested-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240422080833.8745-2-liangshenlin@eswincomputing.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
mainline inclusion
from Linux 6.11-rc1
commit da7b1b5
category: feature
bugzilla: RVCK-Project#110

--------------------------------

'perf kvm stat report/record' generates a statistical analysis of KVM
events and can be used to analyze guest exit reasons.

"report" reports statistical analysis of guest exit events.

To record kvm events on the host:
 # perf kvm stat record -a

To report kvm VM EXIT events:
 # perf kvm stat report --event=vmexit

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Tested-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240422080833.8745-3-liangshenlin@eswincomputing.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
riscv: dp1000: update pcie driver and add dp1000-mo-v1.dts
riscv: Add support for kernel mode vector
RISC-V SBI debug console extension support
…d initializers

community inclusion
category: bugfix
bugzilla: RVCK-Project#136

--------------------------------

When cross-compiling with riscv64-unknown-linux-gnu-gcc
(g04696df0963) 14.2.0, the compiler enforces the use of
designated initializers with -Werror=designated-init.
Convert the structure initializations from positional
to designated initializers to comply with this
requirement and avoid build errors.

Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
riscv: drm: img-rogue: Convert structure initializations to designated initializers
@github-actions
Copy link

github-actions bot commented Sep 20, 2025


开始测试 log: https://github.com/OERV-RVCI/rvck/actions/runs/17877950956

参数解析结果
args value
repository OERV-RVCI/rvck
head ref pull/1/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA Template lava-job-template/qemu/qemu-ltp.yaml
Testcase path lava-testcases/common-test/ltp/ltp.yaml

测试完成

详细结果:

RVCK result

check result
kunit-test success
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

[09:11:21] Testing complete. Ran 455 tests: passed: 443, skipped: 12

Kernel Build Result

Kernel build succeeded: OERV-RVCI/rvck/1/

39095f0706c2dab57176d1f1843b00d8 /srv/guix_result/d439735dd7445e2bd811aa54db6caa8f53dab00e/Image
2e3103642ade075ee337cc3fa6970299 /root/initramfs.img

LAVA Check

args:

result:

Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/754

lava result count: [fail]: 174, [pass]: 1434, [skip]: 291

Check Patch Result

Total Errors 60676
Total Warnings 120952

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.