diff options
| author | CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> | 2025-06-28 18:04:00 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-15 02:56:39 -0400 |
| commit | 1f81edd7007f00be44966148daaf415158f49009 (patch) | |
| tree | b10d1b3707c30a4dae3c9b2ba5c5d09296975d48 /include/system/memory.h | |
| parent | 4b05c720aaf32c404003a3235300466b7b3342c3 (diff) | |
| download | focaccia-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/memory.h')
| -rw-r--r-- | include/system/memory.h | 1 |
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; }; /* |