From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751912AbdLARuY (ORCPT ); Fri, 1 Dec 2017 12:50:24 -0500 Received: from foss.arm.com ([217.140.101.70]:44240 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbdLARuX (ORCPT ); Fri, 1 Dec 2017 12:50:23 -0500 Date: Fri, 1 Dec 2017 17:50:26 +0000 From: Will Deacon To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, ard.biesheuvel@linaro.org, sboyd@codeaurora.org, dave.hansen@linux.intel.com, keescook@chromium.org, msalter@redhat.com, labbott@redhat.com, tglx@linutronix.de Subject: Re: [PATCH v2 00/18] arm64: Unmap the kernel whilst running in userspace (KAISER) Message-ID: <20171201175026.GB8826@arm.com> References: <1512059986-21325-1-git-send-email-will.deacon@arm.com> <20171201140406.oanuaz6zvyrhp4ml@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171201140406.oanuaz6zvyrhp4ml@lakrids.cambridge.arm.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 Hi Mark, On Fri, Dec 01, 2017 at 02:04:06PM +0000, Mark Rutland wrote: > On Thu, Nov 30, 2017 at 04:39:28PM +0000, Will Deacon wrote: > > Hi again, > > > > This is version two of the patches previously posted here: > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2017-November/542751.html > > > > Changes since v1 include: > > > > * Based on v4.15-rc1 > > * Trampoline moved into FIXMAP area > > * Explicit static key replaced by cpu cap > > * Disable SPE for userspace profiling if kernel unmapped at EL0 > > * Changed polarity of cpu feature to match config option > > * Changed command-line option so we can force on in future if necessary > > * Changed Falkor workaround to invalidate different page within 2MB region > > * Reworked alternative sequences in entry.S, since the NOP slides with > > kaiser=off were measurable > > This generally looks good to me. > > For patches patches 1-10, 13-15, and 17, feel free to add: > > Reviewed-by: Mark Rutland Thanks for going through this. Do you have any ideas about what we could rename the command-line option to? I'll get us started: - kaiser= - hidekernel= - unmapkernel= - hardenkaslr= - swuan= ... Will