aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/amd-iommu.h
diff options
context:
space:
mode:
authorWei Wang <wei.wang2@amd.com>2011-11-11 12:04:10 +0100
committerWei Wang <wei.wang2@amd.com>2011-11-11 12:04:10 +0100
commit6757a17b2aaac00dbcb12d1a32adcd76e7b68be6 (patch)
tree8e58c9e6632ea9e15c3595c994d4d7256c7f29ea /xen/include/asm-x86/amd-iommu.h
parent756273ab103c20be805fcbea1c3dbee6aed73e71 (diff)
downloadxen-6757a17b2aaac00dbcb12d1a32adcd76e7b68be6.tar.gz
xen-6757a17b2aaac00dbcb12d1a32adcd76e7b68be6.tar.bz2
xen-6757a17b2aaac00dbcb12d1a32adcd76e7b68be6.zip
amd iommu: Simplify IVHD device flag handling
These bits are aligned to corresponding fields in device table entry. They can be updated by a single device entry write. Signed-off-by: Wei Wang <wei.wang2@amd.com> Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r--xen/include/asm-x86/amd-iommu.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h
index df36fe25ac..2719e3a72d 100644
--- a/xen/include/asm-x86/amd-iommu.h
+++ b/xen/include/asm-x86/amd-iommu.h
@@ -86,7 +86,6 @@ struct amd_iommu {
struct ivrs_mappings {
u16 dte_requestor_id;
- u8 dte_sys_mgt_enable;
u8 dte_allow_exclusion;
u8 unity_map_enable;
u8 write_permission;
@@ -99,12 +98,8 @@ struct ivrs_mappings {
void *intremap_table;
spinlock_t intremap_lock;
- /* interrupt remapping settings */
- u8 dte_lint1_pass;
- u8 dte_lint0_pass;
- u8 dte_nmi_pass;
- u8 dte_ext_int_pass;
- u8 dte_init_pass;
+ /* ivhd device data settings */
+ u8 device_flags;
};
extern unsigned short ivrs_bdf_entries;