projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b0e2d
)
VT-d: drop ROOT_ENTRY_NR
author
Jan Beulich
<jbeulich@suse.com>
Wed, 20 Apr 2022 08:53:19 +0000
(10:53 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 20 Apr 2022 08:53:19 +0000
(10:53 +0200)
It's not only misplaced, but entirely unused.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.h
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/vtd/iommu.h
b/xen/drivers/passthrough/vtd/iommu.h
index aca055f57733b645882aa2e2d1437dd47a4ed881..09ec09fe27dc8869d938871d71818c1361bff026 100644
(file)
--- a/
xen/drivers/passthrough/vtd/iommu.h
+++ b/
xen/drivers/passthrough/vtd/iommu.h
@@
-204,7
+204,6
@@
struct context_entry {
__uint128_t full;
};
};
-#define ROOT_ENTRY_NR (PAGE_SIZE_4K/sizeof(struct root_entry))
#define context_present(c) ((c).lo & 1)
#define context_fault_disable(c) (((c).lo >> 1) & 1)
#define context_translation_type(c) (((c).lo >> 2) & 3)