diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-08-14 15:13:20 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-09-11 09:46:14 -0400 |
commit | 3b52cea829d873706ff86913ae99b4bd621c20e6 (patch) | |
tree | bb533d582f50f9007a6c8e05baeecfc53478101e /hw/misc/mst_fpga.c | |
parent | 663168943d3db6d9b51d3dfa0998848a6e6eda71 (diff) | |
download | qemu-3b52cea829d873706ff86913ae99b4bd621c20e6.zip qemu-3b52cea829d873706ff86913ae99b4bd621c20e6.tar.gz qemu-3b52cea829d873706ff86913ae99b4bd621c20e6.tar.bz2 |
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>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions