mbox series

[0/3] intel_iommu: Add missed sanity check for invalidae descriptor

Message ID 20241104125536.1236118-1-zhenzhong.duan@intel.com
Headers show
Series intel_iommu: Add missed sanity check for invalidae descriptor | expand

Message

Duan, Zhenzhong Nov. 4, 2024, 12:55 p.m. UTC
Hi,

This adds missed sanity check when IQ size is 256-bit per Yi's suggestion,
see patch for details.

I don't add check for VTD_INV_DESC_PC and VTD_INV_DESC_PIOTLB, will do it
in "intel_iommu: Enable stage-1 translation for emulated device" series.

Thanks
Zhenzhong

Zhenzhong Duan (3):
  intel_iommu: Send IQE event when setting reserved bit in IQT_TAIL
  intel_iommu: Add missed sanity check for 256-bit invalidation queue
  intel_iommu: Add missed reserved bit check for IEC descriptor

 hw/i386/intel_iommu_internal.h |  4 ++
 hw/i386/intel_iommu.c          | 89 +++++++++++++++++++++++++---------
 2 files changed, 71 insertions(+), 22 deletions(-)