Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453AbeADPjq (ORCPT + 1 other); Thu, 4 Jan 2018 10:39:46 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:51540 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753409AbeADPjl (ORCPT ); Thu, 4 Jan 2018 10:39:41 -0500 Date: Thu, 4 Jan 2018 07:39:39 -0800 From: Christoph Hellwig To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, ard.biesheuvel@linaro.org, marc.zyngier@arm.com, lorenzo.pieralisi@arm.com, christoffer.dall@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/11] arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry Message-ID: <20180104153939.GA3818@infradead.org> References: <1515078515-13723-1-git-send-email-will.deacon@arm.com> <1515078515-13723-3-git-send-email-will.deacon@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515078515-13723-3-git-send-email-will.deacon@arm.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 04, 2018 at 03:08:26PM +0000, Will Deacon wrote: > Although CONFIG_UNMAP_KERNEL_AT_EL0 does make KASLR more robust, it's > actually more useful as a mitigation against speculation attacks that > can leak arbitrary kernel data to userspace through speculation. > > Reword the Kconfig help message to reflect this, and make the option > depend on EXPERT so that it is on by default for the majority of users. > > Signed-off-by: Will Deacon Why is this not reusing the PAGE_TABLE_ISOLATION setting in security/Kconfig ?