Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754491AbcCWIv5 (ORCPT ); Wed, 23 Mar 2016 04:51:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:42094 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754094AbcCWIvo (ORCPT ); Wed, 23 Mar 2016 04:51:44 -0400 Date: Wed, 23 Mar 2016 09:51:41 +0100 From: Borislav Petkov To: Toshi Kani Cc: mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, mcgrof@suse.com, jgross@suse.com, paul.gortmaker@windriver.com, konrad.wilk@oracle.com, elliott@hpe.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/6] x86/mm/pat: Add pat_disable() interface Message-ID: <20160323085141.GC8031@pd.tnic> References: <1458175619-32206-1-git-send-email-toshi.kani@hpe.com> <20160322165944.GC5656@pd.tnic> <1458682845.6393.614.camel@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1458682845.6393.614.camel@hpe.com> 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: 810 Lines: 24 On Tue, Mar 22, 2016 at 03:40:45PM -0600, Toshi Kani wrote: > Will change to "Prevent the OS from initializing the PAT MSR". > > I wanted to clarify that "disable" does not mean to disable PAT MSR. How do you "disable PAT MSR" ? I think you're overdocumenting this. pat_disable() is as clear as day what it does. It doesn't need any commenting... > I've run checkpatch.pl and thought it was OK to have this warning (instead > of a >80 warning) since the error message part was not split.  The > "attempting" part is for debugging and its string is passed from the > caller.  We always put the quoted strings on a single line for easier grepping. Forget the 80-cols rule. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --