Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3612802pxf; Mon, 15 Mar 2021 13:51:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx58lRh7rUivfSglg/3DHG12AAGiwtleFx/5LkSRlzqf2/41HA4EN/ikHT6Ohe9sP7JJHta X-Received: by 2002:a17:907:216a:: with SMTP id rl10mr25958577ejb.365.1615841462452; Mon, 15 Mar 2021 13:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615841462; cv=none; d=google.com; s=arc-20160816; b=binm9+ILBqIxj74eIPeJUzYM/RImYzNktkHH5Wx9oE2sOjLn5wuZxzo7Iy6P1m5B1n 4ObKrx+9tL8JxmY+wPOzaB57fnqfluP3xcBnkvwP2YS9/LPGIhCcaoIBQkESM6a9depv AXck0696n3QdAIG41yfuMIdYvV7Fdg/bUR9E/vVClw9ET9aLNIWINFH2T1RA5aeWQ9/1 v7u8meNlrtVm1epRS82UJ1ToGHlDlF4M1A4PmClto4u4aD+h6RLwwN3LGFmzSmHx/rHX TQC5vyP5S+ecsDT789AdLj763O7HCr/SRsfPj/XHoyeAQSrRtKl8BDbbGS4JT9sSrYUB 9sXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=UKdVLMHsyYPp1zy05XlPglC4+G+wuoRYIcRwhtHGogA=; b=IL5jDq8+gZI34YRJzhc40rilzmUrdlumfHtLLXQGjnDYjPaSjqrSuetQ9wfGA8I5T1 xqizgMV9m3bauIz+oOVybZZnpQNn02S3fcmmyFYRVdzzTfXIsH4TiDX5deFS5waCKvAU 1e/f8JKzTM+S1wpn4ntkoKoAOq4J3OyFf7ZPTTjd6c91coii/uoZtuGZCwoKBBYYjKKf xS0W4Y5byLqNpSxkyd+jgVq+/uPYYH2NQowK8bov14Y95JgMWfB8eCZ8KTMP53dW3bIQ mZeuexAEDDAOI1bmimhBuCqrOOj53IJV5kXYUAnQ+ltvyrhl4h5N6NnJkwRPyK8n0bGu 9RJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si11284353ejb.269.2021.03.15.13.50.39; Mon, 15 Mar 2021 13:51:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232006AbhCOSmC (ORCPT + 99 others); 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)