From: CLEMENT MATHIEU--DRIF Date: Sat, 28 Jun 2025 18:04:00 +0000 (+0000) Subject: memory: Allow to store the PASID in IOMMUTLBEntry X-Git-Tag: v10.1.0-rc0~19^2~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f81edd7007f00be44966148daaf415158f49009;p=thirdparty%2Fqemu.git 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 Message-Id: <20250628180226.133285-4-clement.mathieu--drif@eviden.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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; }; /*