Zhenzhong Duan 3b52cea829 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>
2024-09-11 09:46:14 -04:00
..
2024-07-21 07:46:38 +02:00
2024-05-03 15:47:47 +02:00
2024-09-06 13:59:37 +01:00
2024-05-03 15:47:47 +02:00
2024-05-03 15:47:47 +02:00
2024-07-24 15:39:43 +10:00
2024-07-23 20:30:36 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-04-25 09:43:29 -07:00
2024-09-05 13:12:36 +01:00
2024-07-23 20:30:36 +02:00
2024-09-05 13:12:36 +01:00
2024-05-03 15:47:48 +02:00
2024-05-06 10:19:56 -07:00
2024-07-24 12:58:46 +10:00
2024-06-16 21:08:54 +02:00
2024-05-10 15:45:15 +02:00