From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754660AbdBNQUh (ORCPT ); Tue, 14 Feb 2017 11:20:37 -0500 Received: from mail.skyhub.de ([78.46.96.112]:40141 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753337AbdBNQUa (ORCPT ); Tue, 14 Feb 2017 11:20:30 -0500 Date: Tue, 14 Feb 2017 17:20:13 +0100 From: Borislav Petkov To: Mathias Krause Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , "David S. Miller" , Jesper Nilsson , Mikael Starvik , Geert Uytterhoeven , x86@kernel.org, linux-kernel@vger.kernel.org, "H. Peter Anvin" Subject: Re: [PATCH 3/6] x86/cpu: proc - remove "wp" status line in cpuinfo Message-ID: <20170214162013.esm3jznmng545oje@pd.tnic> References: <1486933932-585-1-git-send-email-minipli@googlemail.com> <1486933932-585-4-git-send-email-minipli@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1486933932-585-4-git-send-email-minipli@googlemail.com> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 12, 2017 at 10:12:09PM +0100, Mathias Krause wrote: > As of commit a5c2a893dbd4 ("x86, 386 removal: Remove > CONFIG_X86_WP_WORKS_OK") the kernel won't boot if CR0.WP isn't working > correctly. This makes a process reading this file always see "wp : yes" > here -- otherwise there would be no process to begin with ;) > > As this status line in /proc/cpuinfo serves no purpose for quite some > time now, get rid of it. Right, sure, except /proc/cpuinfo's format is kind of an ABI and scripts rely on it, I'm being told. TBH, I'd remove that wp:-line too but this is just me. tip guys' call. FWIW, for all three: Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.