From 5cd66ca306ae3b1ff310a505ada9aa24f4259c28 Mon Sep 17 00:00:00 2001 From: mlarkin Date: Sun, 2 Jul 2017 19:49:31 +0000 Subject: [PATCH] re-enable PAT discussed with deraadt a month or so ago, this has been sitting in my tree since then. --- sys/arch/amd64/amd64/vmm.c | 5 ++--- 1 file 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 * @@ -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; -- 2.20.1