PAT flags are not under control of Xen domains currently, so there is no trunk
authorjym <jym@NetBSD.org>
Mon, 13 Feb 2012 23:54:58 +0000
branchtrunk
changeset 209156 1de8f0ef9bf2
parent 209155 40c1fe4144a4
child 209157 d5fe4ad48a12
PAT flags are not under control of Xen domains currently, so there is no point in enabling them. Avoids: - a warning logged by hypervisor when a domain attempts to modify the PAT MSR. - an error during domain resuming, where a PAT flag has been set on a page while the hypervisor does not allow it. ok releng@.
sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c	Mon Feb 13 22:40:43 2012 +0000
+++ b/sys/arch/xen/x86/cpu.c	Mon Feb 13 23:54:58 2012 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.c,v 1.79 2012/01/28 12:15:19 cherry Exp $	*/
+/*	$NetBSD: cpu.c,v 1.80 2012/02/13 23:54:58 jym Exp $	*/
 /* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp  */
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.79 2012/01/28 12:15:19 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.80 2012/02/13 23:54:58 jym Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -532,7 +532,6 @@
 		panic("unknown processor type??\n");
 	}
 
-	pat_init(ci);
 	atomic_or_32(&cpus_attached, ci->ci_cpumask);
 
 #ifdef MPVERBOSE