From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56591 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751932AbeDETdL (ORCPT ); Thu, 5 Apr 2018 15:33:11 -0400 Date: Thu, 5 Apr 2018 21:33:09 +0200 From: Greg KH To: Mark Rutland Cc: stable@vger.kernel.org, mark.brown@linaro.org, ard.biesheuvel@linaro.org, marc.zyngier@arm.com, will.deacon@arm.com Subject: Re: [PATCH v4.9.y 09/27] arm64: mm: Map entry trampoline into trampoline and kernel page tables Message-ID: <20180405193309.GA21484@kroah.com> References: <20180403110923.43575-1-mark.rutland@arm.com> <20180403110923.43575-10-mark.rutland@arm.com> <20180403111505.lyl3gimida3uriwm@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180403111505.lyl3gimida3uriwm@lakrids.cambridge.arm.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Apr 03, 2018 at 12:15:06PM +0100, Mark Rutland wrote: > On Tue, Apr 03, 2018 at 12:09:05PM +0100, Mark Rutland wrote: > > From: Will Deacon > > > > commit 51a0048beb44 upstream. > > > > The exception entry trampoline needs to be mapped at the same virtual > > address in both the trampoline page table (which maps nothing else) > > and also the kernel page table, so that we can swizzle TTBR1_EL1 on > > exceptions from and return to EL0. > > > > This patch maps the trampoline at a fixed virtual address in the fixmap > > area of the kernel virtual address space, which allows the kernel proper > > to be randomized with respect to the trampoline when KASLR is enabled. > > > > Reviewed-by: Mark Rutland > > Tested-by: Laura Abbott > > Tested-by: Shanker Donthineni > > Signed-off-by: Will Deacon > > Signed-off-by: Alex Shi > > Reviewed-by: Mark Rutland [v4.9 backport] > > It has just been pointed out to me that I messed up the SoB chain here, > and this should be: > > Signed-off-by: Mark Rutland [v4.9 backport] > > Otherwise, the patch itself is fine. Sorry for the noise there -- I hope > this can be fixed up when applying? I'll go fix it up...