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 F3CC3C433EF for ; Wed, 6 Oct 2021 14:21:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB3C66117A for ; Wed, 6 Oct 2021 14:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238894AbhJFOW5 (ORCPT ); Wed, 6 Oct 2021 10:22:57 -0400 Received: from foss.arm.com ([217.140.110.172]:56484 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231438AbhJFOW4 (ORCPT ); Wed, 6 Oct 2021 10:22:56 -0400 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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