diff options
author | Wei Wang <wei.wang2@amd.com> | 2011-11-11 12:05:14 +0100 |
---|---|---|
committer | Wei Wang <wei.wang2@amd.com> | 2011-11-11 12:05:14 +0100 |
commit | 05498eaf28ff183dce5b7bad9f8643ba5032a0d2 (patch) | |
tree | 500bf2e25713360beab271ba3c2f20b544cd6324 /xen/include/asm-x86/amd-iommu.h | |
parent | c909d6094903ece47036cb79e13ed618e5738a11 (diff) | |
download | xen-05498eaf28ff183dce5b7bad9f8643ba5032a0d2.tar.gz xen-05498eaf28ff183dce5b7bad9f8643ba5032a0d2.tar.bz2 xen-05498eaf28ff183dce5b7bad9f8643ba5032a0d2.zip |
amd iommu: Compress hyper-transport flags into a single byte
These flags are single bit, no need to be saved as integers.
Add 3 inline helpers to make single bit access easier.
Introduce iommu_has_ht_flag and set_iommu_ht_flags
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.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index 2719e3a72d..f2e0eb6ce2 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -57,11 +57,7 @@ struct amd_iommu { u8 ht_tunnel_support; u8 iotlb_support; - u8 isochronous; - u8 coherent; - u8 res_pass_pw; - u8 pass_pw; - u8 ht_tunnel_enable; + u8 ht_flags; void *mmio_base; unsigned long mmio_base_phys; |