Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245AbcCJOnQ (ORCPT ); Thu, 10 Mar 2016 09:43:16 -0500 Received: from mail.windriver.com ([147.11.1.11]:59484 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751724AbcCJOnB (ORCPT ); Thu, 10 Mar 2016 09:43:01 -0500 Date: Thu, 10 Mar 2016 09:42:51 -0500 From: Paul Gortmaker To: Toshi Kani CC: Borislav Petkov , Richard Purdie , Toshi Kani , Bruce Ashfield , "Hart, Darren" , "saul.wold" , Subject: Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled" Message-ID: <20160310144250.GG23251@windriver.com> References: <1457067768.15454.181.camel@hpe.com> <20160304183713.GA26051@windriver.com> <1457129560.15454.266.camel@hpe.com> <20160307003501.GB26051@windriver.com> <1457366596.15454.281.camel@hpe.com> <20160307210852.GC26051@windriver.com> <1457393912.15454.419.camel@hpe.com> <20160307235328.GD26051@windriver.com> <1457398578.15454.421.camel@hpe.com> <1457400913.15454.435.camel@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1457400913.15454.435.camel@hpe.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1500 Lines: 62 [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"] On 07/03/2016 (Mon 18:35) Toshi Kani wrote: > On Mon, 2016-03-07 at 17:56 -0700, Toshi Kani wrote: [...] > And also an output of /proc/cpuinfo, please? Here is the output of /proc/cpuinfo in the guest session, while running on pentium dual core as host (no vmx): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : QEMU Virtual CPU version 2.5+ stepping : 3 cpu MHz : 2593.449 cache size : 4096 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep pge cmov mmx fxsr sse sse2 pni hypervisor bugs : bogomips : 5186.89 clflush size : 32 cache_alignment : 32 address sizes : 36 bits physical, 32 bits virtual power management: Paul. -- > > I think I know what's going on. ?I noticed that you have the following > message in your dmesg files. > > ?[????0.000000] MTRR: Disabled > > MTRR is set to disabled when your CPU is Intel but does not support MTRR. > ?Perhaps, QEMU does not emulate MTRR? > > pat_init() is not called when MTRR is disabled. ?I think this dependency is > wrong, and it needs to be fixed. > > This issue has been there for a long time, and you have been running > essentially as PAT disabled in the past. ?The commit in question simply > detected this issue. > > Thanks, > -Toshi