summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2017-07-02 19:49:31 +0000
committermlarkin <mlarkin@openbsd.org>2017-07-02 19:49:31 +0000
commit5cd66ca306ae3b1ff310a505ada9aa24f4259c28 (patch)
treea00cea568fb6b0500a7fab84e0434de4488e16c6
parentFixed a typo in error message. (diff)
downloadwireguard-openbsd-5cd66ca306ae3b1ff310a505ada9aa24f4259c28.tar.xz
wireguard-openbsd-5cd66ca306ae3b1ff310a505ada9aa24f4259c28.zip
re-enable PAT
discussed with deraadt a month or so ago, this has been sitting in my tree since then.
-rw-r--r--sys/arch/amd64/amd64/vmm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index 2da7bc24188..c37f229700b 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.156 2017/06/29 08:24:10 mlarkin Exp $ */
+/* $OpenBSD: vmm.c,v 1.157 2017/07/02 19:49:31 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -5233,7 +5233,6 @@ vmm_handle_cpuid(struct vcpu *vcpu)
* hyperthreading (CPUID_HTT)
* pending break enabled (CPUID_PBE)
* MTRR (CPUID_MTRR)
- * PAT (CPUID_PAT)
* plus:
* hypervisor (CPUIDECX_HV)
*/
@@ -5247,7 +5246,7 @@ vmm_handle_cpuid(struct vcpu *vcpu)
~(CPUID_ACPI | CPUID_TM | CPUID_TSC |
CPUID_HTT | CPUID_DS | CPUID_APIC |
CPUID_PSN | CPUID_SS | CPUID_PBE |
- CPUID_MTRR | CPUID_PAT);
+ CPUID_MTRR);
break;
case 0x02: /* Cache and TLB information */
*rax = eax;