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,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, 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 70939C433DB for ; Mon, 15 Mar 2021 18:42:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30255601FE for ; Mon, 15 Mar 2021 18:42:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232059AbhCOSmC (ORCPT ); Mon, 15 Mar 2021 14:42:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:55380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231968AbhCOSl6 (ORCPT ); Mon, 15 Mar 2021 14:41:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6E9DA601FE; Mon, 15 Mar 2021 18:41:56 +0000 (UTC) Date: Mon, 15 Mar 2021 18:41:53 +0000 From: Catalin Marinas To: Vincenzo Frascino Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, Andrew Morton , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Evgenii Stepanov , Branislav Rankov , Andrey Konovalov , Lorenzo Pieralisi Subject: Re: [PATCH v16 6/9] arm64: mte: Conditionally compile mte_enable_kernel_*() Message-ID: <20210315184152.GC22897@arm.com> References: <20210315132019.33202-1-vincenzo.frascino@arm.com> <20210315132019.33202-7-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210315132019.33202-7-vincenzo.frascino@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 01:20:16PM +0000, Vincenzo Frascino wrote: > mte_enable_kernel_*() are not needed if KASAN_HW is disabled. > > Add ash defines around the functions to conditionally compile the > functions. > > Signed-off-by: Vincenzo Frascino Acked-by: Catalin Marinas (BTW, Andrey now has a different email address; use the one in the MAINTAINERS file) 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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,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 2AEC1C433E0 for ; Mon, 15 Mar 2021 18:43:47 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 A9DB564EF6 for ; Mon, 15 Mar 2021 18:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A9DB564EF6 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=s/fs0f/8oU6dWLOSQHf4JL6a27C81luH7sBzNerxkWQ=; b=No/tExSZ2Y/xPAQnc8RM9qSFs NvaVNgYz6F77p9UmhxKnM24NlQAysEDaWpcDelPJIpu02MDrnRlEg97eyArz//1kkhrQ9ElLvnDbu ChbrSlbCdr5ZJN1OavTMFKF44n0WBe8/VDWQ7lF/PXqX9KmrZNmKTxjytsTqeAe34oSc/F4l4bJAx lmVNsizCA5okJgfs3AIRYon8X1YLSAX+kdv22UXU2WFFPtc8aNmDJ1ss9xCVomWvPF7Q4/fDkTISO M+2jiquCO2SFSIlX53mCp0JOOrjjmD/tZ8dMu9ZI47QE4W6vBxboVv/01ZnIeq3+7P558Qekt6Osx rfstC3qiA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLsAJ-00Gi2o-Md; Mon, 15 Mar 2021 18:42:08 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLsAE-00Gi1p-FU for linux-arm-kernel@lists.infradead.org; Mon, 15 Mar 2021 18:42:04 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6E9DA601FE; Mon, 15 Mar 2021 18:41:56 +0000 (UTC) Date: Mon, 15 Mar 2021 18:41:53 +0000 From: Catalin Marinas To: Vincenzo Frascino Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, Andrew Morton , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Evgenii Stepanov , Branislav Rankov , Andrey Konovalov , Lorenzo Pieralisi Subject: Re: [PATCH v16 6/9] arm64: mte: Conditionally compile mte_enable_kernel_*() Message-ID: <20210315184152.GC22897@arm.com> References: <20210315132019.33202-1-vincenzo.frascino@arm.com> <20210315132019.33202-7-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210315132019.33202-7-vincenzo.frascino@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-20210315_184202_786079_FDC1C9A8 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. 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 Mon, Mar 15, 2021 at 01:20:16PM +0000, Vincenzo Frascino wrote: > mte_enable_kernel_*() are not needed if KASAN_HW is disabled. > > Add ash defines around the functions to conditionally compile the > functions. > > Signed-off-by: Vincenzo Frascino Acked-by: Catalin Marinas (BTW, Andrey now has a different email address; use the one in the MAINTAINERS file) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel