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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 BD684C64E8A for ; Mon, 30 Nov 2020 12:52:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71B2D207BC for ; Mon, 30 Nov 2020 12:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725911AbgK3Mwh (ORCPT ); Mon, 30 Nov 2020 07:52:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:44292 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgK3Mwh (ORCPT ); Mon, 30 Nov 2020 07:52:37 -0500 Received: from gaia (unknown [95.146.230.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2055820691; Mon, 30 Nov 2020 12:51:53 +0000 (UTC) Date: Mon, 30 Nov 2020 12:51:51 +0000 From: Catalin Marinas To: Florian Weimer , Evgenii Stepanov , Kostya Serebryany , Dave Martin , Szabolcs Nagy , Vincenzo Frascino , Peter Collingbourne Cc: Will Deacon , linux-api@vger.kernel.org, libc-alpha@sourceware.org, Andrey Konovalov , Linux ARM , Kevin Brodsky Subject: Re: [PATCH v4 1/2] arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere Message-ID: <20201130125151.GD3902@gaia> References: <160650438443.22092.12368244632759393865.b4-ty@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160650438443.22092.12368244632759393865.b4-ty@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org Hi Peter, On Fri, Nov 27, 2020 at 07:13:43PM +0000, Catalin Marinas wrote: > On Thu, 19 Nov 2020 19:29:46 -0800, Peter Collingbourne wrote: > > In an upcoming change we are going to introduce per-task SCTLR_EL1 > > bits for PAC. Move the existing per-task SCTLR_EL1 field out of the > > MTE-specific code so that we will be able to use it from both the > > PAC and MTE code paths and make the task switching code more efficient. > > Applied to arm64 (for-next/pac-keys-ctrl), thanks! > > [1/2] arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere > https://git.kernel.org/arm64/c/e710c29e0177 > [2/2] arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) > https://git.kernel.org/arm64/c/284c64e9eba3 > > If Dave has any other comments next week, we can apply them on top. I'm dropping these patches from the arm64 tree as they conflict (and not in a trivial way) with the MTE patches queued in the mm tree. So we either wait until 5.12 or we try to merge them via Andrew on top of the mm tree. Given the interaction with MTE, I'm slightly inclined towards the former. -- Catalin