[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 00/10] Check VT-d Device-TLB flush error
This patch set is a prereq patch set for Patch:'VT-d Device-TLB flush issue'. While IOMMU Device-TLB flush timed out, xen calls panic() at present. However the existing panic() is going to be eliminated, so we must propagate the IOMMU Device-TLB flush error up to the call trees. This patch set is also based on the discussion of 'abstract model of IOMMU unmaping/mapping failures' In this v3, - best effort flushing when an error. - adding __must_check. Quan Xu (10): vt-d: fix the IOMMU flush issue IOMMU: handle IOMMU mapping and unmapping failures IOMMU/MMU: enhance the call trees of IOMMU unmapping and mapping vt-d: propagate IOMMU Device-TLB flush error up to IOMMU unmapping. vt-d: propagate IOMMU Device-TLB flush error up to IOMMU mapping. propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{,_all} (top level ones). IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{,_all} (leaf ones). vt-d/ept: propagate IOMMU Device-TLB flush error up to EPT update. IOMMU: propagate IOMMU Device-TLB flush error up to IOMMU suspending vt-d: propagate error up to ME phantom function mapping and unmapping xen/arch/arm/p2m.c | 5 +- xen/arch/x86/acpi/power.c | 15 ++- xen/arch/x86/mm.c | 13 +- xen/arch/x86/mm/p2m-ept.c | 30 ++++- xen/arch/x86/mm/p2m-pt.c | 24 +++- xen/arch/x86/mm/p2m.c | 11 +- xen/common/memory.c | 14 ++- xen/drivers/passthrough/amd/iommu_init.c | 9 +- xen/drivers/passthrough/amd/pci_amd_iommu.c | 2 +- xen/drivers/passthrough/arm/smmu.c | 12 +- xen/drivers/passthrough/iommu.c | 64 ++++++++-- xen/drivers/passthrough/vtd/extern.h | 3 +- xen/drivers/passthrough/vtd/iommu.c | 168 ++++++++++++++++++-------- xen/drivers/passthrough/vtd/quirks.c | 28 +++-- xen/drivers/passthrough/x86/iommu.c | 5 +- xen/include/asm-x86/hvm/svm/amd-iommu-proto.h | 2 +- xen/include/asm-x86/iommu.h | 3 +- xen/include/xen/iommu.h | 13 +- 18 files changed, 313 insertions(+), 108 deletions(-) -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |