summary refs log tree commit diff stats
path: root/include/system
diff options
context:
space:
mode:
authorCLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com>2025-06-28 18:04:00 +0000
committerMichael S. Tsirkin <mst@redhat.com>2025-07-15 02:56:39 -0400
commit1f81edd7007f00be44966148daaf415158f49009 (patch)
treeb10d1b3707c30a4dae3c9b2ba5c5d09296975d48 /include/system
parent4b05c720aaf32c404003a3235300466b7b3342c3 (diff)
downloadfocaccia-qemu-1f81edd7007f00be44966148daaf415158f49009.tar.gz
focaccia-qemu-1f81edd7007f00be44966148daaf415158f49009.zip
memory: Allow to store the PASID in IOMMUTLBEntry
This will be useful for devices that support ATS
and need to store entries in an ATC (device IOTLB).

Signed-off-by: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com>
Message-Id: <20250628180226.133285-4-clement.mathieu--drif@eviden.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/system')
-rw-r--r--include/system/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system/memory.h b/include/system/memory.h
index 1672622d70..d6d069fd50 100644
--- a/include/system/memory.h
+++ b/include/system/memory.h
@@ -144,6 +144,7 @@ struct IOMMUTLBEntry {
     hwaddr           translated_addr;
     hwaddr           addr_mask;  /* 0xfff = 4k translation */
     IOMMUAccessFlags perm;
+    uint32_t         pasid;
 };
 
 /*