c9e3853c04
24448-x86-pt-irq-leak.patch - Upstream patches from Jan 24261-x86-cpuidle-Westmere-EX.patch 24417-amd-erratum-573.patch 24429-mceinj-tool.patch 24447-x86-TXT-INIT-SIPI-delay.patch ioemu-9868-MSI-X.patch - bnc#732884 - remove private runlevel 4 from init scripts xen.no-default-runlevel-4.patch - bnc#727515 - Fragmented packets hang network boot of HVM guest ipxe-gcc45-warnings.patch ipxe-ipv4-fragment.patch ipxe-enable-nics.patch - fate#310510 - fix xenpaging update xenpaging.autostart.patch, make changes with mem-swap-target permanent update xenpaging.doc.patch, mention issues with live migration - fate#310510 - fix xenpaging add xenpaging.evict_mmap_readonly.patch update xenpaging.error-handling.patch, reduce debug output - bnc#736824 - Microcode patches for AMD's 15h processors panic the system 24189-x86-p2m-pod-locking.patch 24412-x86-AMD-errata-model-shift.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=164
40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
# HG changeset patch
|
|
# User Liu, Jinsong <jinsong.liu@intel.com>
|
|
# Date 1323170884 0
|
|
# Node ID d313582d4fa2157332f1d50e599aebca36c41b3b
|
|
# Parent a0befa32e927cc147aaee9bce42c51f53580a875
|
|
X86: Disable PCID/INVPCID for pv
|
|
|
|
This patch disable PCID/INVPCID for pv.
|
|
|
|
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
|
|
Committed-by: Keir Fraser <keir@xen.org>
|
|
|
|
--- a/tools/libxc/xc_cpufeature.h
|
|
+++ b/tools/libxc/xc_cpufeature.h
|
|
@@ -78,6 +78,7 @@
|
|
#define X86_FEATURE_CX16 13 /* CMPXCHG16B */
|
|
#define X86_FEATURE_XTPR 14 /* Send Task Priority Messages */
|
|
#define X86_FEATURE_PDCM 15 /* Perf/Debug Capability MSR */
|
|
+#define X86_FEATURE_PCID 17 /* Process Context ID */
|
|
#define X86_FEATURE_DCA 18 /* Direct Cache Access */
|
|
#define X86_FEATURE_SSE4_1 19 /* Streaming SIMD Extensions 4.1 */
|
|
#define X86_FEATURE_SSE4_2 20 /* Streaming SIMD Extensions 4.2 */
|
|
@@ -132,5 +133,6 @@
|
|
#define X86_FEATURE_SMEP 7 /* Supervisor Mode Execution Protection */
|
|
#define X86_FEATURE_BMI2 8 /* 2nd group bit manipulation extensions */
|
|
#define X86_FEATURE_ERMS 9 /* Enhanced REP MOVSB/STOSB */
|
|
+#define X86_FEATURE_INVPCID 10 /* Invalidate Process Context ID */
|
|
|
|
#endif /* __LIBXC_CPUFEATURE_H */
|
|
--- a/tools/libxc/xc_cpuid_x86.c
|
|
+++ b/tools/libxc/xc_cpuid_x86.c
|
|
@@ -427,6 +427,7 @@ static void xc_cpuid_pv_policy(
|
|
}
|
|
clear_bit(X86_FEATURE_XTPR, regs[2]);
|
|
clear_bit(X86_FEATURE_PDCM, regs[2]);
|
|
+ clear_bit(X86_FEATURE_PCID, regs[2]);
|
|
clear_bit(X86_FEATURE_DCA, regs[2]);
|
|
set_bit(X86_FEATURE_HYPERVISOR, regs[2]);
|
|
break;
|