800917b5a2
- Update to Xen 4.1.2_rc2 c/s 23152 - bnc#716695 - domUs using tap devices will not start updated multi-xvdp.patch - Upstream patches from Jan 23803-intel-pmu-models.patch 23800-x86_64-guest-addr-range.patch 23795-intel-ich10-quirk.patch 23804-x86-IPI-counts.patch - bnc#706106 - Inconsistent reporting of VM names during migration xend-migration-domname-fix.patch - bnc#712823 - L3:Xen guest does not start reliable when rebooted xend-vcpu-affinity-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=143
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
# HG changeset patch
|
|
# User Wei Wang <wei.wang2@amd.com>
|
|
# Date 1302610857 -3600
|
|
# Node ID dbd98ab2f87facba8117bb881fa2ea5dfdb92960
|
|
# Parent 697ac895c11c6d5d82524de56796cee98fded2a5
|
|
amd iommu: Unmapped interrupt should generate IO page faults.
|
|
|
|
This helps us to debug interrupt issues.
|
|
|
|
Signed-off-by: Wei Wang <wei.wang2@amd.com>
|
|
|
|
Index: xen-4.1.2-testing/xen/drivers/passthrough/amd/iommu_map.c
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/xen/drivers/passthrough/amd/iommu_map.c
|
|
+++ xen-4.1.2-testing/xen/drivers/passthrough/amd/iommu_map.c
|
|
@@ -327,8 +327,9 @@ void amd_iommu_set_intremap_table(u32 *d
|
|
set_field_in_reg_u32(0xB, entry,
|
|
IOMMU_DEV_TABLE_INT_TABLE_LENGTH_MASK,
|
|
IOMMU_DEV_TABLE_INT_TABLE_LENGTH_SHIFT, &entry);
|
|
- /* ignore unmapped interrupts */
|
|
- set_field_in_reg_u32(IOMMU_CONTROL_ENABLED, entry,
|
|
+
|
|
+ /* unmapped interrupt results io page faults*/
|
|
+ set_field_in_reg_u32(IOMMU_CONTROL_DISABLED, entry,
|
|
IOMMU_DEV_TABLE_INT_TABLE_IGN_UNMAPPED_MASK,
|
|
IOMMU_DEV_TABLE_INT_TABLE_IGN_UNMAPPED_SHIFT, &entry);
|
|
set_field_in_reg_u32(int_valid ? IOMMU_CONTROL_ENABLED :
|