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=-12.5 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_GIT 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 0E4CCC4338F for ; Wed, 28 Jul 2021 17:48:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D219D60BD3 for ; Wed, 28 Jul 2021 17:48:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D219D60BD3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8zbNJbfA0b27cZS8naOVjbKFkifZtQ5+Pw8/KuuJGd8=; b=0shZt6gbNZxr9a gBa0sI+ewzyGQhh5ZAYKzYsjNtJDtJYMwJvkmJpLrvmFV8nmNWm7GsRNgkQc0F18a8mVxeMgTT+ge oFmLK5zjerN3lOZ9UJw/MQbKXuBlDBbCWdMYuvV/m4vQuiDSdxeOrItvhWJVplYT+AUk7HAXlZfsi LaAEbqwlll+ziXfVgXRTxrIq5qP4tSJVqMw6rNqhGkwbXLW9Y7yvoX+9VrAyivnIV1FzrM+h3xJh1 NdWv4q0PRWX1DU+IxJNpKpzOYIzM7S1iv4vWuLCF7rqGeCqtCWln90XsiM07/zHkf9ynQn6vEvcek dQQ6w8TrN7jnknsaX8iQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8ndV-001spU-Pe; Wed, 28 Jul 2021 17:46:29 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8ndR-001som-Gm for linux-arm-kernel@lists.infradead.org; Wed, 28 Jul 2021 17:46:26 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C36BF60BD3; Wed, 28 Jul 2021 17:46:23 +0000 (UTC) From: Catalin Marinas To: Vincenzo Frascino , Peter Collingbourne , Will Deacon Cc: Greg Kroah-Hartman , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, Tejas Belagod , Evgenii Stepanov Subject: Re: [PATCH v11 0/5] arm64: mte: allow async MTE to be upgraded to sync on a per-CPU basis Date: Wed, 28 Jul 2021 18:46:15 +0100 Message-Id: <162749406642.26134.16808284983239195005.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210727205300.2554659-1-pcc@google.com> References: <20210727205300.2554659-1-pcc@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210728_104625_617516_4B75A3C5 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Tue, 27 Jul 2021 13:52:54 -0700, Peter Collingbourne wrote: > On some CPUs the performance of MTE in synchronous mode is similar > to that of asynchronous mode. This makes it worthwhile to enable > synchronous mode on those CPUs when asynchronous mode is requested, > in order to gain the error detection benefits of synchronous mode > without the performance downsides. Therefore, make it possible for > user programs to opt into upgrading to synchronous mode on those CPUs. > > [...] Applied to arm64 (for-next/mte) but first added Will's acks from v10 an changed the Documentation/ patch to state "when scheduling" instead of "when running". Thanks! [1/5] arm64: mte: rename gcr_user_excl to mte_ctrl https://git.kernel.org/arm64/c/638982a03fbc [2/5] arm64: mte: change ASYNC and SYNC TCF settings into bitfields https://git.kernel.org/arm64/c/433c38f40f6a [3/5] arm64: move preemption disablement to prctl handlers https://git.kernel.org/arm64/c/d2e0d8f9746d [4/5] arm64: mte: introduce a per-CPU tag checking mode preference https://git.kernel.org/arm64/c/dd061616edcf [5/5] Documentation: document the preferred tag checking mode feature https://git.kernel.org/arm64/c/80c7c36fb3dd -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel