7e759c69d7
22417-vpmu-nehalem.patch - Upstream patches from Jan 22389-amd-iommu-decls.patch 22416-acpi-check-mwait.patch 22431-p2m-remove-bug-check.patch - bnc#656245 - VUL-1: hypervisor: application or kernel in any pv Xen domain can crash Xen x86_64-gdt-ldt-fault-filter.patch - bnc#654050 - Python: a crasher bug in pyexpat - upstream patch needs backporting 22235-lxml-validator.patch - bnc#628729 - Add a small, fast alternative to 'xm list' for enumerating active domains. xen-list is a C program that uses libxenstore and libxenctl directly, bypassing the python toolstack. xen-utils-0.1.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=86
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir@xen.org>
|
|
# Date 1289906913 0
|
|
# Node ID 9b2ca938cfe6c0639471e24634bc4a48d889b412
|
|
# Parent 87f248de52304bc96a80dc093250fed0197f37e0
|
|
amd iommu: Fix HV crash with 32bit pv_ops kernel
|
|
|
|
Signed-off-by: Wei Wang <wei.wang2@amd.com>
|
|
Tested-by: Conny Seidel <conny.seidel@amd.com>
|
|
|
|
--- a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
|
|
+++ b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
|
|
@@ -32,9 +32,6 @@
|
|
#define DMA_32BIT_MASK 0x00000000ffffffffULL
|
|
#define PAGE_ALIGN(addr) (((addr) + PAGE_SIZE - 1) & PAGE_MASK)
|
|
|
|
-extern int amd_iommu_debug;
|
|
-extern int amd_iommu_perdev_intremap;
|
|
-
|
|
#define AMD_IOMMU_DEBUG(fmt, args...) \
|
|
do \
|
|
{ \
|
|
--- a/xen/include/xen/iommu.h
|
|
+++ b/xen/include/xen/iommu.h
|
|
@@ -30,6 +30,8 @@ extern bool_t iommu_enabled;
|
|
extern bool_t force_iommu, iommu_verbose;
|
|
extern bool_t iommu_workaround_bios_bug, iommu_passthrough;
|
|
extern bool_t iommu_snoop, iommu_qinval, iommu_intremap;
|
|
+extern bool_t amd_iommu_debug;
|
|
+extern bool_t amd_iommu_perdev_intremap;
|
|
|
|
#define domain_hvm_iommu(d) (&d->arch.hvm_domain.hvm_iommu)
|
|
|