Bug 2440 - SIOV - Retain PASID entry if guest switched IOMMU remapping mode
Summary: SIOV - Retain PASID entry if guest switched IOMMU remapping mode
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: AubreyLi
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-19 13:34 UTC by AubreyLi
Modified: 2023-01-17 15:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AubreyLi intel_group 2022-10-19 13:34:13 UTC
When booting up a guest with scalable mode and guest cmdline add "iommu=pt",
the host will build IOMMU translation structures for it.

Then if we modify guest cmdline

from
    intel_iommu=on,sm_on
to
    intel_iommu=on,sm_off
or
    intel_iommu=off

Reboot the guest and the guest will run into some abnormal situation.
Comment 1 maqiao alibaba_cloud_group 2023-01-17 15:11:40 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/778