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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 2F811C8300F for ; Mon, 30 Nov 2020 12:53:08 +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 B4B7F20691 for ; Mon, 30 Nov 2020 12:53:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="skiYa+yw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4B7F20691 Authentication-Results: mail.kernel.org; dmarc=fail (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:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WxllhtXTYfU/fl+pHr4FWy1By66YQhghwXIUDqNmckc=; b=skiYa+ywVDtLHZQU6TcpXuI3X XohQoE15xFUA15EEU7b50kgQ1B6jSlvk0s9rEnxbwJJ14G4ndbreA9ucXflVdC23LC12eY/zOwBIQ 5eqt1c4uVwAKs1Og6MpfZwZbhiaScMuQK1LKA+KhQnMp3TH7QisIiPO0BrtMKHDogFHKWcpOT/NJF hTjJILvYjMRzuo62nlORBub5lt2iwpzslYzsjg4lDVl7fwg13NCbxxaKGFLFH7fN55crRjdQGGsbS CC3e0dU2UiMYSmFA3urd+HjGuVg46X08iNCGP3xQfz+cq9J4x72kko1wX44Cx0h2PAEpT2fDHLJpd 8MVR5exyQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjieu-00026i-FL; Mon, 30 Nov 2020 12:52:00 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjier-00025f-Uv for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2020 12:51:58 +0000 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 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-Disposition: inline In-Reply-To: <160650438443.22092.12368244632759393865.b4-ty@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_075158_093072_7451EFEA X-CRM114-Status: GOOD ( 17.52 ) 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: libc-alpha@sourceware.org, linux-api@vger.kernel.org, Kevin Brodsky , Andrey Konovalov , Will Deacon , Linux ARM 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel