9a05aa7fc4
22707-x2apic-preenabled-check.patch - bnc#641419 - L3: Xen: qemu-dm reports "xc_map_foreign_batch: mmap failed: Cannot allocate memory" 7434-qemu-rlimit-as.patch - Additional or upstream patches from Jan 22693-fam10-mmio-conf-base-protect.patch 22694-x86_64-no-weak.patch 22708-xenctx-misc.patch 21432-4.0-cpu-boot-failure.patch 22645-amd-flush-filter.patch qemu-fix-7433.patch - Maintain compatibility with the extid flag even though it is deprecated for both legacy and sxp config files. hv_extid_compatibility.patch - bnc#649209-improve suspend eventchn lock suspend_evtchn_lock.patch - Removed the hyper-v shim patches in favor of using the upstream version. - bnc#641419 - L3: Xen: qemu-dm reports "xc_map_foreign_batch: mmap failed: Cannot allocate memory" qemu-rlimit-as.patch - Upstream c/s 7433 to replace qemu_altgr_more.patch 7433-qemu-altgr.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=90
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir@xen.org>
|
|
# Date 1291746724 0
|
|
# Node ID bfd13358b8bf3a6ca49702d773435a67f1ea5551
|
|
# Parent d4b35162b3a11f7d9c28501192b7e231609e561d
|
|
x86: remove BUG_ON() from QUIRK_IOAPIC_*_REGSEL handler
|
|
References: bnc#657692
|
|
|
|
Since (non-pvops, 32-bit only up to 2.6.27) Linux would report "BAD"
|
|
unconditionally on all SiS chipset versions (it only looks for a PCI
|
|
device at 0000:00:00.0 with SiS as the vendor), we must not crash if
|
|
the report on a 64-bit hypervisor doesn't match the #define (which is
|
|
zero).
|
|
|
|
While we could honor the quirk indication even on 64-bit, it doesn't
|
|
seem worthwhile, as there's no evidence that newer SiS chipsets
|
|
(supporting 64-bit CPUs) are actually affected.
|
|
|
|
This should also address bug 1687 (mis-reported, however, afaict).
|
|
|
|
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
|
|
|
--- a/xen/arch/x86/platform_hypercall.c
|
|
+++ b/xen/arch/x86/platform_hypercall.c
|
|
@@ -192,7 +192,10 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xe
|
|
dprintk(XENLOG_INFO, "Domain 0 says that IO-APIC REGSEL is %s\n",
|
|
sis_apic_bug ? "bad" : "good");
|
|
#else
|
|
- BUG_ON(sis_apic_bug != (quirk_id == QUIRK_IOAPIC_BAD_REGSEL));
|
|
+ if ( sis_apic_bug != (quirk_id == QUIRK_IOAPIC_BAD_REGSEL) )
|
|
+ dprintk(XENLOG_WARNING,
|
|
+ "Domain 0 thinks that IO-APIC REGSEL is %s\n",
|
|
+ sis_apic_bug ? "good" : "bad");
|
|
#endif
|
|
break;
|
|
default:
|