Skip to content

Comments

perf vendor events riscv: fix lrw core PMU event mapping#217

Open
GooTal wants to merge 1 commit intoRVCK-Project:rvck-6.6from
zte-riscv:pr-lrw-pmu-bugfix
Open

perf vendor events riscv: fix lrw core PMU event mapping#217
GooTal wants to merge 1 commit intoRVCK-Project:rvck-6.6from
zte-riscv:pr-lrw-pmu-bugfix

Conversation

@GooTal
Copy link

@GooTal GooTal commented Feb 5, 2026

driver inclusion
category: bugfix
Link: #216


The lrw core PMU event definitions contained incorrect and unsupported
mappings, which caused perf to expose events that either did not work
or did not correspond to the hardware behavior.

  • Removing unsupported events
  • Correcting event names and codes
  • Ensuring EventName, EventCode, and BriefDescription are consistent
    with the lrw core PMU specification

This fix improves the accuracy of perf event reporting on lrw core.

Signed-off-by: shenlin shen.lin1@zte.com.cn
Signed-off-by: liuqingtao liu.qingtao2@zte.com.cn

@github-actions
Copy link

github-actions bot commented Feb 5, 2026


开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/21701226293

参数解析结果
args value
repository RVCK-Project/rvck
head ref pull/217/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
need run job kunit-test,kernel-build,check-patch,lava-trigger

测试完成

详细结果:

RVCK result

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

Kunit Test Result

[06:27:59] Testing complete. Ran 455 tests: passed: 443, skipped: 12

Kernel Build Result

Kernel build succeeded: RVCK-Project/rvck/217/

8a6fb4588fdedb2de3f00d821d293158 /srv/guix_result/c5925031b01c2c9ef43f3924d83dc98a26bc6dc6/Image
2b345a287faa8ab666efbcda0257b60c /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: [fail]: 173, [pass]: 1436, [skip]: 290

Check Patch Result

Total Errors 0
Total Warnings 0

@sterling-teng
Copy link
Contributor

你的补丁commit message太过于简洁,不利于理解补丁。建议把issue中的描述改写进补丁。

@github-actions
Copy link

github-actions bot commented Feb 12, 2026


开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/21930493917

参数解析结果
args value
repository RVCK-Project/rvck
head ref pull/217/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
need run job kunit-test,kernel-build,check-patch,lava-trigger

测试完成

详细结果:

RVCK result

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

Kunit Test Result

[01:57:20] Testing complete. Ran 455 tests: passed: 443, skipped: 12

Kernel Build Result

Kernel build succeeded: RVCK-Project/rvck/217/

9bd097588cb39b6f32aae38f7bebae91 /srv/guix_result/0d18cb85b61ace2a72560bd0b615e27f75ab4f1e/Image
29e08930bcf0e1aa8be9f9580847e640 /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: call: 1

Check Patch Result

Total Errors 0
Total Warnings 0

@GooTal
Copy link
Author

GooTal commented Feb 12, 2026

已修正,多谢

driver inclusion
category: bugfix
Link: RVCK-Project#216

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

The lrw core PMU event definitions contained incorrect and unsupported
mappings, which caused perf to expose events that either did not work
or did not correspond to the hardware behavior.

- Removing unsupported events
- Correcting event names and codes
- Ensuring EventName, EventCode, and BriefDescription are consistent
  with the lrw core PMU specification

This fix improves the accuracy of perf event reporting on lrw core.

Signed-off-by: shenlin <shen.lin1@zte.com.cn>
Signed-off-by: liuqingtao <liu.qingtao2@zte.com.cn>
@github-actions
Copy link

github-actions bot commented Feb 12, 2026


开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/21932341981

参数解析结果
args value
repository RVCK-Project/rvck
head ref pull/217/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
need run job kunit-test,kernel-build,check-patch,lava-trigger

测试完成

详细结果:

RVCK result

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

Kunit Test Result

[03:29:22] Testing complete. Ran 457 tests: passed: 445, skipped: 12

Kernel Build Result

Kernel build succeeded: RVCK-Project/rvck/217/

4b8ec183824f97f398fcfc2e45a71591 /srv/guix_result/24d54cbf6bdf40e4d6b80aeeee1b78b0e26572a6/Image
0748f483b40f53ed33103e53cf4a86af /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: call: 1

Check Patch Result

Total Errors 0
Total Warnings 0

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants