Re: [PATCH v2 00/18] arm64: Unmap the kernel whilst running in userspace (KAISER)

From: Mark Rutland
Date: Fri Dec 01 2017 - 09:04:16 EST


Hi Will,

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 <mark.rutland@xxxxxxx>

(assuming you fix up the issue Robin spotted on patch 14).

Thanks,
Mark.