Skip to content

Comments

iommu/riscv: Fix inconsistencies with the latest spec revision#153

Merged
xmzzz merged 1 commit intoRVCK-Project:OLK-nextfrom
zte-riscv:pr-iommu-bugfix2
Jan 9, 2026
Merged

iommu/riscv: Fix inconsistencies with the latest spec revision#153
xmzzz merged 1 commit intoRVCK-Project:OLK-nextfrom
zte-riscv:pr-iommu-bugfix2

Conversation

@GooTal
Copy link

@GooTal GooTal commented Jan 7, 2026

iommu/riscv: Fix inconsistencies with the latest spec revision(2)
driver inclusion
category: bugfix
bugzilla: #145


According to the specification, for MSI interrupt migration,
GSCID must be used to invalidate the TLB cache.
Currently, in bare mode of gstage, GSCID 0 is being used for invalidation,
which does not comply with the spec definition.
Based on the latest community spec discussions and updates,
the MSIX table must be in the off state when gstage is in bare mode.

Signed-off-by: jinqi jin.qi@zte.com.cn
Signed-off-by: liuqingtao liu.qingtao2@zte.com.cn

@github-actions
Copy link

github-actions bot commented Jan 7, 2026


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

参数解析结果
args value
repository RVCK-Project/rvck-olk
head ref pull/153/head
base ref OLK-next
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

[13:55:10] Testing complete. Ran 454 tests: passed: 442, skipped: 12

Kernel Build Result

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

5625c04c34f9b213714b083a99f4f8e3 /srv/guix_result/9ef1231f057f19577afc64aa90049993ab69a957/Image
a12d45960dd2a006468faa63d58ce2fd /root/initramfs.img

LAVA Check

args:

result:

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

lava result count: [fail]: 20, [pass]: 1586, [skip]: 293

Check Patch Result

Total Errors 0
Total Warnings 3

@GooTal GooTal changed the title iommu/riscv: Fix inconsistencies with the latest spec revision(2) 【暂缓合入,验证中】iommu/riscv: Fix inconsistencies with the latest spec revision(2) Jan 7, 2026
    driver inclusion
    category: bugfix
    bugzilla: RVCK-Project#145

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

    According to the specification, for MSI interrupt migration,
    GSCID must be used to invalidate the TLB cache.
    Currently, in bare mode of gstage, GSCID 0 is being used for invalidation,
    which does not comply with the spec definition.
    Based on the latest community spec discussions and updates,
    the MSIX table must be in the off state when gstage is in bare mode.

    Signed-off-by: jinqi <jin.qi@zte.com.cn>
    Signed-off-by: liuqingtao <liu.qingtao2@zte.com.cn>
@github-actions
Copy link

github-actions bot commented Jan 9, 2026


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

参数解析结果
args value
repository RVCK-Project/rvck-olk
head ref pull/153/head
base ref OLK-next
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

[00:50:15] Testing complete. Ran 454 tests: passed: 442, skipped: 12

Kernel Build Result

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

79e37464dfc06b11aa342098f8b054f0 /srv/guix_result/8b877f3250efe1516207cc024274d04ffa8c71ed/Image
4e9e9a28e3de8c2415de3236a1fb89ab /root/initramfs.img

LAVA Check

args:

result:

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

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

Check Patch Result

Total Errors 0
Total Warnings 3

@xmzzz
Copy link
Contributor

xmzzz commented Jan 9, 2026

经讨论该 PR 与 #146 一起合并

@xmzzz xmzzz changed the title 【暂缓合入,验证中】iommu/riscv: Fix inconsistencies with the latest spec revision(2) iommu/riscv: Fix inconsistencies with the latest spec revision Jan 9, 2026
@xmzzz xmzzz merged commit e89bd06 into RVCK-Project:OLK-next Jan 9, 2026
46 checks passed
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