qemu-cr16/include/hw/i386
Zhenzhong Duan 43b8c43397 intel_iommu: Handle PASID cache invalidation
Adds a new entry VTDPASIDCacheEntry in VTDAddressSpace to cache the pasid
entry and track PASID usage and future PASID tagged DMA address translation
support in vIOMMU.

When guest triggers pasid cache invalidation, QEMU will capture it and
update or invalidate pasid cache.

vIOMMU emulator could figure out the reason by fetching latest guest pasid
entry in memory and compare it with cached PASID entry if it's valid.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20251017093602.525338-2-zhenzhong.duan@intel.com>
2025-11-09 08:23:48 -05:00
..
apic-msidef.h i386/msi: Correct mask of destination ID in MSI address 2017-12-01 18:28:15 +02:00
apic.h hw/i386/apic: Ensure own APIC use in apic_msr_{read,write} 2025-10-21 20:16:47 +02:00
apic_internal.h hw/i386/apic: Prefer APICCommonState over DeviceState 2025-10-21 20:16:47 +02:00
hostmem-epc.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
intel_iommu.h intel_iommu: Handle PASID cache invalidation 2025-11-09 08:23:48 -05:00
microvm.h hw/i386/microvm: Use fdt field from MachineState 2025-11-05 09:26:27 +01:00
nitro_enclave.h hw/core/eif: Use stateful qcrypto apis 2024-12-13 15:26:58 +01:00
pc.h hw: add compat machines for 10.2 2025-08-27 07:07:53 +02:00
sgx-epc.h target/i386/cpu: Mask off SGX/SGX_LC feature words for non-PC machine 2024-07-31 13:13:31 +02:00
tdvf.h i386/tdx: Track mem_ptr for each firmware entry of TDVF 2025-05-28 19:01:41 +02:00
topology.h i386/topology: Introduce helpers for various topology info of different level 2025-01-10 23:34:45 +01:00
vmport.h hw/i386/vmport: Drop superfluous parenthesis around function typedef 2020-09-18 13:49:54 -04:00
x86-iommu.h intel-iommu: Move dma_translation to x86-iommu 2025-10-05 16:13:02 -04:00
x86.h hw/i386: Add igvm-cfg object and processing for IGVM files 2025-07-12 15:28:21 +02:00