4c73609012
22998-x86-get_page_from_l1e-retcode.patch 22999-x86-mod_l1_entry-retcode.patch 23000-x86-mod_l2_entry-retcode.patch 23096-x86-hpet-no-cpumask_lock.patch 23099-x86-rwlock-scalability.patch 23103-x86-pirq-guest-eoi-check.patch 23127-vtd-bios-settings.patch 23153-x86-amd-clear-DramModEn.patch 23154-x86-amd-iorr-no-rdwr.patch 23199-amd-iommu-unmapped-intr-fault.patch 23200-amd-iommu-intremap-sync.patch 23228-x86-conditional-write_tsc.patch - update xenalyze to revision 98 * Unify setting of vcpu data type * Unify record size checks * Fix cr3_switch not to access hvm struct before it's initialized - add xenalyze.gcc46.patch to fix unused-but-set-variable errors - bnc#688473 - VUL-0: potential buffer overflow in tools cve-2011-1583-4.0.patch - hotplug.losetup.patch correct dev:inode detection and use variable expansion OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=115
26 lines
1.1 KiB
Diff
26 lines
1.1 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>
|
|
|
|
--- a/xen/drivers/passthrough/amd/iommu_map.c
|
|
+++ b/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 :
|