[PATCH v3 03/19] memory: Allow to store the PASID in IOMMUTLBEntry

CLEMENT MATHIEU--DRIF posted 19 patches 1 day, 21 hours ago
[PATCH v3 03/19] memory: Allow to store the PASID in IOMMUTLBEntry
Posted by CLEMENT MATHIEU--DRIF 1 day, 21 hours ago
From: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com>

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>
---
 include/exec/memory.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 29f5d31eef..eee625a9c6 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -145,6 +145,7 @@ struct IOMMUTLBEntry {
     hwaddr           translated_addr;
     hwaddr           addr_mask;  /* 0xfff = 4k translation */
     IOMMUAccessFlags perm;
+    uint32_t         pasid;
 };
 
 /*
-- 
2.48.1