[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/2] x86/iommu: support IOMMU for Zhaoxin CPU
The patchset supports some features for Zhaoxin CPU whose vendor ID is 'Shanghai'. Zhaoxin x86 SOC supports I/O virtualization which is compatible with Intel I/O virtulizaiton. Indent with four spaces. Signed-off-by: FionaLi-oc <fionali-oc@xxxxxxxxxxx> --- xen/include/asm-x86/iommu.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/include/asm-x86/iommu.h b/xen/include/asm-x86/iommu.h index 8dc3924..ec5a009 100644 --- a/xen/include/asm-x86/iommu.h +++ b/xen/include/asm-x86/iommu.h @@ -71,10 +71,11 @@ static inline int iommu_hardware_setup(void) { switch ( boot_cpu_data.x86_vendor ) { - case X86_VENDOR_INTEL: - return intel_vtd_setup(); - case X86_VENDOR_AMD: - return amd_iov_detect(); + case X86_VENDOR_INTEL: + case X86_VENDOR_SHANGHAI: + return intel_vtd_setup(); + case X86_VENDOR_AMD: + return amd_iov_detect(); } return -ENODEV; -- 1.8.3.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |