Home
last modified time | relevance | path

Searched hist:"3 b52cea829d873706ff86913ae99b4bd621c20e6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/i386/
H A Dintel_iommu.cdiff 3b52cea829d873706ff86913ae99b4bd621c20e6 Wed Aug 14 02:13:20 CDT 2024 Zhenzhong Duan <zhenzhong.duan@intel.com> intel_iommu: Make PASID-cache and PIOTLB type invalid in legacy mode

In vtd_process_inv_desc(), VTD_INV_DESC_PC and VTD_INV_DESC_PIOTLB are
bypassed without scalable mode check. These two types are not valid
in legacy mode and we should report error.

Fixes: 4a4f219e8a10 ("intel_iommu: add scalable-mode option to make scalable mode work")
Suggested-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Clément Mathieu--Drif<clement.mathieu--drif@eviden.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Message-Id: <20240814071321.2621384-3-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>