From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [RFC 12/17] arm64: move ptrauth keys to thread_info Date: Fri, 19 Oct 2018 12:38:21 +0100 Message-ID: <20181019113820.jly74g2kk3cxf3yp@mbp> References: <20181005084754.20950-1-kristina.martsenko@arm.com> <20181005084754.20950-13-kristina.martsenko@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181005084754.20950-13-kristina.martsenko@arm.com> Sender: linux-kernel-owner@vger.kernel.org To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, Mark Rutland , linux-arch@vger.kernel.org, Andrew Jones , Jacob Bramley , Arnd Bergmann , Ard Biesheuvel , Marc Zyngier , Adam Wallis , "Suzuki K . Poulose" , Will Deacon , Christoffer Dall , kvmarm@lists.cs.columbia.edu, Ramana Radhakrishnan , Amit Kachhap , Dave P Martin , linux-kernel@vger.kernel.org, Kees Cook List-Id: linux-arch.vger.kernel.org On Fri, Oct 05, 2018 at 09:47:49AM +0100, Kristina Martsenko wrote: > From: Mark Rutland > > To use pointer authentication in the kernel, we'll need to switch keys > in the entry assembly. This patch moves the pointer auth keys into > thread_info to make this possible. > > There should be no functional change as a result of this patch. > > Signed-off-by: Mark Rutland > Signed-off-by: Kristina Martsenko Can we actually fold this into patch 7? It also leaves the door open to allowing per-thread keys. -- Catalin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:50902 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727004AbeJSToI (ORCPT ); Fri, 19 Oct 2018 15:44:08 -0400 Date: Fri, 19 Oct 2018 12:38:21 +0100 From: Catalin Marinas Subject: Re: [RFC 12/17] arm64: move ptrauth keys to thread_info Message-ID: <20181019113820.jly74g2kk3cxf3yp@mbp> References: <20181005084754.20950-1-kristina.martsenko@arm.com> <20181005084754.20950-13-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005084754.20950-13-kristina.martsenko@arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, Mark Rutland , linux-arch@vger.kernel.org, Andrew Jones , Jacob Bramley , Arnd Bergmann , Ard Biesheuvel , Marc Zyngier , Adam Wallis , "Suzuki K . Poulose" , Will Deacon , Christoffer Dall , kvmarm@lists.cs.columbia.edu, Ramana Radhakrishnan , Amit Kachhap , Dave P Martin , linux-kernel@vger.kernel.org, Kees Cook Message-ID: <20181019113821.ddOgxTWHW2cZ20gicFmEtkTS0_Jb8BcDSYebk52cHVo@z> On Fri, Oct 05, 2018 at 09:47:49AM +0100, Kristina Martsenko wrote: > From: Mark Rutland > > To use pointer authentication in the kernel, we'll need to switch keys > in the entry assembly. This patch moves the pointer auth keys into > thread_info to make this possible. > > There should be no functional change as a result of this patch. > > Signed-off-by: Mark Rutland > Signed-off-by: Kristina Martsenko Can we actually fold this into patch 7? It also leaves the door open to allowing per-thread keys. -- Catalin