qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH ats_vtd v5 15/22] memory: Allow to store the PASID in IOMMUTLBEnt


From: CLEMENT MATHIEU--DRIF
Subject: [PATCH ats_vtd v5 15/22] memory: Allow to store the PASID in IOMMUTLBEntry
Date: Tue, 2 Jul 2024 05:52:41 +0000

From: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>

This will be useful for devices that support ATS

Signed-off-by: Clément 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 bf91c4bed7..003ee06610 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.45.2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]