qemu-arm
[Top][All Lists]
Advanced

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

[Qemu-arm] [RFC v2 12/28] memory: Add arch_id in IOTLBEntry


From: Eric Auger
Subject: [Qemu-arm] [RFC v2 12/28] memory: Add arch_id in IOTLBEntry
Date: Fri, 21 Sep 2018 10:18:03 +0200

TLB entries are usually tagged with some ids such as the asid
or pasid. When propagating an invalidation command from the
guest to the host, we need to pass this id.

Signed-off-by: Eric Auger <address@hidden>
---
 include/exec/memory.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index d4486d4e6b..93150e1450 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -75,6 +75,7 @@ struct IOMMUTLBEntry {
     hwaddr           translated_addr;
     hwaddr           addr_mask;  /* 0xfff = 4k translation */
     IOMMUAccessFlags perm;
+    uint32_t         arch_id; /* architecture specific ID tagging the TLB */
 };
 
 typedef struct IOMMUConfig {
-- 
2.17.1




reply via email to

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