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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4BE0C433EF for ; Wed, 6 Oct 2021 14:23:18 +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 865F6611AE for ; Wed, 6 Oct 2021 14:23:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 865F6611AE 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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=EcJYPiuFtRtGYYC6dRbkwZAFzwjES1NF4DHMWkJzGdo=; b=Kj6EUpAR2NCXroB1JLhnXsQoDr oToF3t3bztdmavNUvHVlbun0FUo1vurG97dfWHj7bJQcIml4YlnK+DWXGGQ+u9/EsaIvXwtyeFKFW SHzzSs2iC3sISFYhsXVxdSZtR+pwESH+pPKJLVLNY1gFEGP603D4TSrb9F30CRbHc77uShfpTkqwH bjHMp2zf9/TYxmmu7loCunMq1aIHFMvVRj44eyOS8MOs1980KJvFS7pYQeMhPpTPtWLP7fzwN1ndp vO0RLRt1K4/kkE3hUNKVyv40kj6GwbSmm+ChiFnvzsJj6LJOT8oI3CqzOB4EfjgBtx62Zjo7Bu1Y1 NiBVVxqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY7nF-00EcFP-Ue; Wed, 06 Oct 2021 14:21:14 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY7nC-00EcEK-A2 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 14:21:11 +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 078996D; Wed, 6 Oct 2021 07:21:04 -0700 (PDT) Received: from [10.57.43.152] (unknown [10.57.43.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E4CFC3F66F; Wed, 6 Oct 2021 07:21:00 -0700 (PDT) Subject: Re: [PATCH v2 4/5] arm64: mte: Add asymmetric mode support To: Andrey Konovalov Cc: Linux ARM , LKML , kasan-dev , Andrew Morton , Catalin Marinas , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Evgenii Stepanov , Branislav Rankov , Lorenzo Pieralisi References: <20211004202253.27857-1-vincenzo.frascino@arm.com> <20211004202253.27857-5-vincenzo.frascino@arm.com> From: Vincenzo Frascino Message-ID: <2d03d87b-5ea8-8b2a-eae6-ae70c7e9d855@arm.com> Date: Wed, 6 Oct 2021 16:21:17 +0200 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: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211006_072110_454436_F26C54EB X-CRM114-Status: GOOD ( 10.74 ) 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 10/6/21 2:19 PM, Andrey Konovalov wrote: >> + if (!system_uses_mte_async_mode()) >> + static_branch_enable(&mte_async_mode); > Using this variable and function here still looks confusing. Maybe > naming the variable mte_async_or_asymm_mode? Or > mte_async_fault_possible similarly to KASAN? > > mte_async_or_asymm_mode works for me. I will modify the code in v3. Thanks. -- Regards, Vincenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel