From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00339C43461 for ; Mon, 14 Sep 2020 12:22:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 603F42242F for ; Mon, 14 Sep 2020 12:22:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BNe05zAy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 603F42242F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UOqI9uXdKAo9XTQpgcH2dBU3c/Zfuz4MkUdn9U2FqJU=; b=BNe05zAy83xgxJQ4JMxAlGXDI X21S0CsIVo4pVSQH9+xcE60d7CpFuJojYsmx3PqmGMoVu/sbZx79Y6E7Lb6qeF0jV6i4cRuoW+wpv KTS0aomVKB37tsC/FFEAlYU8j7yBxA6G771kFg64b8giHuRWcHaHcpVT3LE/ih/MZMp0b7+Z5X18h 3ouFoW0tFh2jzEbDzpCXv+TY7cr38zuQiI6d/W8CIwE4peYVOiBfyXO9l3hwrfQClI4Y+hDDUz87M vmFm+Xk/by/WygdaxEDz7Z4wLHTf6yaZn41iU7jySW7tCJcJUBOaIERda1EtDXXOZnPJRanTRzfHk NF50HnwIw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHnUS-0003op-FR; Mon, 14 Sep 2020 12:21:48 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHnUP-0003mj-7h for linux-arm-kernel@lists.infradead.org; Mon, 14 Sep 2020 12:21:46 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DA35B106F; Mon, 14 Sep 2020 05:21:41 -0700 (PDT) Received: from [10.37.12.80] (unknown [10.37.12.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E1D903F68F; Mon, 14 Sep 2020 05:21:39 -0700 (PDT) Subject: Re: [PATCH v2 0/4] kselftests/arm64: add PAuth tests To: Will Deacon , Boyan Karatotev References: <20200831110450.30188-1-boyan.karatotev@arm.com> <20200911181558.GA21319@willie-the-truck> From: Vincenzo Frascino Message-ID: <626cb564-22e1-4f2d-47c7-f38439c5fb29@arm.com> Date: Mon, 14 Sep 2020 13:24:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200911181558.GA21319@willie-the-truck> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200914_082145_333974_FBB3E54F X-CRM114-Status: GOOD ( 18.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: boian4o1@gmail.com, Catalin Marinas , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, amit.kachhap@arm.com, Shuah Khan , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Will, On 9/11/20 7:15 PM, Will Deacon wrote: > On Mon, Aug 31, 2020 at 12:04:46PM +0100, Boyan Karatotev wrote: >> Pointer Authentication (PAuth) is a security feature introduced in ARMv8.3. >> It introduces instructions to sign addresses and later check for potential >> corruption using a second modifier value and one of a set of keys. The >> signature, in the form of the Pointer Authentication Code (PAC), is stored >> in some of the top unused bits of the virtual address (e.g. [54: 49] if >> TBID0 is enabled and TnSZ is set to use a 48 bit VA space). A set of >> controls are present to enable/disable groups of instructions (which use >> certain keys) for compatibility with libraries that do not utilize the >> feature. PAuth is used to verify the integrity of return addresses on the >> stack with less memory than the stack canary. > > Any chance of a v3 addressing the couple of small comments from Dave on > the third patch, please? Then I can pick up the whole lot for 5.10. > Boyan is on it. Thank you. > Cheers, > > Will > -- Regards, Vincenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel