Skip to content

Conversation

@liuhj2023
Copy link

community inclusion
category: feature
bugzilla: RVCK-Project/rvck#143


This reverts commit c8b4f06.

When the SG2044 CPU is running in M-mode or S-mode with MMU disabled, it erroneously processes virtual addresses (VA) by truncating to the lower 40 bits. This defect causes incorrect TLB flushing during execution of sfence.vma rs1, x0 and sfence.vma rs1, rs2 instructions, compromising memory consistency.

A patch implementing S-mode IPI was introduced to avoid executing sfence.vma in M-mode. However, this solution was withdrawn because it negatively impacted compatibility with third-party hardware vendors, and we will adopt other workarounds to address this issue.

@github-actions
Copy link

github-actions bot commented Dec 24, 2025


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

参数解析结果
args value
repository RVCK-Project/rvck-olk
head ref pull/144/head
base ref OLK-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 failure
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: RVCK-Project/rvck-olk/144/

6fd218d42becba1899b4507e56ee2902 /srv/guix_result/8c99411460707e9617776cd2b1077d320fafb002/Image
ed9f1280ea1d7957139626f8152e320f /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: [fail]: 19, [pass]: 1587, [skip]: 293

Check Patch Result

Total Errors 0
Total Warnings 0

@xmzzz
Copy link
Contributor

xmzzz commented Dec 25, 2025

补丁头 bugzilla: 这里链接放错了,应该是 rvck-olk #143

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

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

This reverts commit c8b4f06.

When the SG2044 CPU is running in M-mode or S-mode with MMU disabled, it
erroneously processes virtual addresses (VA) by truncating to the lower
40 bits. This defect causes incorrect TLB flushing during execution of
sfence.vma rs1, x0 and sfence.vma rs1, rs2 instructions, compromising
memory consistency.

A patch implementing S-mode IPI was introduced to avoid executing
sfence.vma in M-mode. However, this solution was withdrawn because it
negatively impacted compatibility with third-party hardware vendors,
and we will adopt other workarounds to address this issue.

Signed-off-by: haijiao.liu <[email protected]>
@github-actions
Copy link

github-actions bot commented Dec 25, 2025


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

参数解析结果
args value
repository RVCK-Project/rvck-olk
head ref pull/144/head
base ref OLK-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 failure
kernel-build success
lava-trigger success
check-patch success

Kunit Test Result

kunit test failed

Kernel Build Result

Kernel build succeeded: RVCK-Project/rvck-olk/144/

c9389d05a3773366c8a9f7efb9a2f6e5 /srv/guix_result/fbe3cfcaaceab463b6cb19636bb4359e01ad8c99/Image
a1fda3db03b321cfe4f071962610d520 /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: [fail]: 18, [pass]: 1588, [skip]: 293

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants