]> xenbits.xensource.com Git - xen.git/commit
vt-d: Some fixes and cleanup of Intel iommu
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Nov 2007 12:34:11 +0000 (12:34 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Nov 2007 12:34:11 +0000 (12:34 +0000)
commit7f4955ee5fc5f9f45e8d201a25b7ac445838b1a2
tree0136283a2a8275bba8fa828c275054b5dc38dcaa
parent70db19da26695a94c9bee9e58951b83598c05b9e
vt-d: Some fixes and cleanup of Intel iommu

This patch modifies domain id in __iommu_flush_context() and
__iommu_flush_iotlb() to be consistent consist with domain id set by
context_set_domain_id(), avoids setting NULL to  address space root
and corrects macro cap_ndoms.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/arch/x86/hvm/vmx/vtd/intel-iommu.c
xen/include/asm-x86/hvm/vmx/intel-iommu.h