[PATCH] intel-iommu: correctly check passthrough during translation

2022-01-04 Thread Jason Wang
When scsalable mode is enabled, the passthrough more is not determined by the context entry but PASID entry, so switch to use the logic of vtd_dev_pt_enabled() to determine the passthrough mode in vtd_do_iommu_translate(). Signed-off-by: Jason Wang --- hw/i386/intel_iommu.c | 38

Re: [PATCH] intel-iommu: correctly check passthrough during translation

2021-12-22 Thread Peter Xu
On Wed, Dec 22, 2021 at 02:39:56PM +0800, Jason Wang wrote: > When scsalable mode is enabled, the passthrough more is not determined > by the context entry but PASID entry, so switch to use the logic of > vtd_dev_pt_enabled() to determine the passthrough mode in > vtd_do_iommu_translate(). > >

[PATCH] intel-iommu: correctly check passthrough during translation

2021-12-21 Thread Jason Wang
When scsalable mode is enabled, the passthrough more is not determined by the context entry but PASID entry, so switch to use the logic of vtd_dev_pt_enabled() to determine the passthrough mode in vtd_do_iommu_translate(). Signed-off-by: Jason Wang --- hw/i386/intel_iommu.c | 38