Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp16912imu; Wed, 12 Dec 2018 11:38:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/V6EuEWxK2qlywRJBoO5a9LCxbxl8PGtKpraZ5cfuRUS5/QGQGPz1BIXVWCPfI2Y1M/5sds X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr21045544pll.111.1544643486477; Wed, 12 Dec 2018 11:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544643486; cv=none; d=google.com; s=arc-20160816; b=FgRNCBENFMeOecyAUoL/pTmYEBQ74BTTX4Om2CP9pq/p6cYusY4VeFTKBcsI0CqQOD DxcWXpx9W2wJ2huMS1VeQ8f6e3TIasIX7ykp6joIIqEYd3EaJb8OiEugCcHMrM3qoGGY xTLN3o7YRHnrVpsd59aYc89r+Ec/Mgjkn3OwUsd+YLyzeLzL7vgYnHnD9+lEHRYqEDNA rE8QCQC/ASJ8INVZcHf5pDJTn7K//4ZiRREW/F1KR4HWqLWqdebsFsQl3/cIIWHuIndQ DoXrSCwhWO4h45MLv85dwIEEAZxFHnSpi0+utUprMpph0z1C2X4NPS1r6OBGrMYtBIwS mGSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=knWydUQ9jnHnEX2WDtsXOFjPYdbqfG7fLsFeeVZqJFo=; b=WciY1cDYNdm+qhoV03H7gk2kKVsTIFkfhHO5X8ORobiuThL0OhSKjeAvnIRNcs/MFg MqVlbGFAn6zk5/7+YrYEzJcwhykEP+lptIKETixkuLth7aWaGYXZYeokQtiFlBxb4rUQ Jqb3htKe/O+cZHsDlRVruG2wLYzU2VKBglgggpSzFKPRDWQrXJJnp2NMJKu/R8Ak4cVt /d/IqNGrdnBpSGAQzCiHha2RXTaTg+MkHHFmawOS2RZZNs3w9lxENQXH1JQoK+Nz60qf xqGVu1PClPO0TOsqdSUCikhZOaSNip66WqI+2hNzoH/8ZitmDXXJTZ/Qo8ySFIwEO0jO Uh0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si16406057pll.63.2018.12.12.11.37.50; Wed, 12 Dec 2018 11:38:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726796AbeLLTfW (ORCPT + 99 others); Wed, 12 Dec 2018 14:35:22 -0500 Received: from foss.arm.com ([217.140.101.70]:47938 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726235AbeLLTfV (ORCPT ); Wed, 12 Dec 2018 14:35:21 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5F7C0A78; Wed, 12 Dec 2018 11:35:21 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2E7BE3F59C; Wed, 12 Dec 2018 11:35:21 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id AC0201AE0BDC; Wed, 12 Dec 2018 19:35:44 +0000 (GMT) Date: Wed, 12 Dec 2018 19:35:44 +0000 From: Will Deacon To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, Adam Wallis , Amit Kachhap , Andrew Jones , Ard Biesheuvel , Catalin Marinas , Christoffer Dall , Cyrill Gorcunov , Dave P Martin , Jacob Bramley , Kees Cook , Marc Zyngier , Mark Rutland , Ramana Radhakrishnan , Richard Henderson , Suzuki K Poulose , kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 00/13] ARMv8.3 pointer authentication userspace support Message-ID: <20181212193544.GB22013@edgewater-inn.cambridge.arm.com> References: <20181207183931.4285-1-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181207183931.4285-1-kristina.martsenko@arm.com> User-Agent: Mutt/1.11.1+30 (d10eec459b35) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kristina, On Fri, Dec 07, 2018 at 06:39:18PM +0000, Kristina Martsenko wrote: > This series adds support for the ARMv8.3 pointer authentication extension, > enabling userspace return address protection with GCC 7 and above. I've pushed this out to for-next/ptr-auth with the following changes: * Rebased onto for-next/core * Dropped the GET/SET ptrace requests for now, due to fragile regset usage * Moved the user key state from thread_info to thread_struct * Removed use of VA_BITS for the PAC mask (doesn't work with 52-bit user VAs) * Added a patch to use _BITUL for the bit definitions in sysreg.h * Tidied up the HWCAP generation [need to run this past Suzuki] * Reduced the number of CPU caps from 6 to 4 [also need to run past Suzuki] * Added Reviewed-by tags I've not merged it into for-next/core yet, because it could use some testing and review first. Cheers, Will