Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751833AbcCLMD1 (ORCPT ); Sat, 12 Mar 2016 07:03:27 -0500 Received: from mx2.suse.de ([195.135.220.15]:56925 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbcCLMDZ (ORCPT ); Sat, 12 Mar 2016 07:03:25 -0500 Date: Sat, 12 Mar 2016 13:03:03 +0100 From: Borislav Petkov To: Richard Purdie Cc: Bruce Ashfield , Paolo Bonzini , One Thousand Gnomes , Paul Gortmaker , Toshi Kani , Toshi Kani , "Hart, Darren" , "saul.wold" , linux-kernel@vger.kernel.org, kvm ML , x86-ml Subject: Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled" Message-ID: <20160312120303.GA23469@pd.tnic> References: <1457628591.15454.542.camel@hpe.com> <20160310172029.GA2194@pd.tnic> <20160310190429.GI23251@windriver.com> <20160310191933.GC2194@pd.tnic> <20160311132356.43a7b373@lxorguk.ukuu.org.uk> <20160311134000.GC4347@pd.tnic> <56E319FF.3090709@redhat.com> <20160311221651.GE4347@pd.tnic> <56E34695.2020300@windriver.com> <1457738994.2804.266.camel@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1457738994.2804.266.camel@linuxfoundation.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 820 Lines: 24 On Fri, Mar 11, 2016 at 11:29:54PM +0000, Richard Purdie wrote: > ... and if I remember rightly, the CPU features the kvm* options > provide vary quite widely and wasn't consistent. How so? Please elaborate so that we can fix those. Btw, your reproducer works fine with -cpu kvm32 - only vncviewer's window gets killed after a "Rect too large: 640x480 at (0, 0)" but when I reconnect again right after it I see an X window asking me to calibrate my touch screen and I'm at a loss as to where my touch screen is... :-P > Tweaking the kernel to only enable PAT with MTRR sounds like a good > fix, Yeah, the idea is to basically switch to uncacheable memtype as when MTRRs are disabled. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --