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=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 B67B5C433ED for ; Fri, 2 Apr 2021 12:36:06 +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 3CBCC61106 for ; Fri, 2 Apr 2021 12:36:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3CBCC61106 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=KKGmOCGzuDo584T0yc4IpQKzlCMlr9Pw/X1w46uqk1s=; b=MUjrwGeHZfkUyoNvBptYyhWnb nKaBAwx7NWH3AxbGvuAmg6A1OQC9SvxeVlrvJ5OoHnsylpGrbxBYavbxGAtbhMcKL0gauSAloGett fXyeHi5iGXmjd9fg/ecR4fIbg7/GRSOpXDtJE06zfblUY4u6uuwfc1w/Q8jfv9jV3FlDWfnwhUcL5 N7IexQUQG4wtmiXTeMCYyrMYva67YQIcIue2d3T1F9qkx0uXeTtet28h+Gj6hSvo1vGJEFo59R/tH +sWHrKuiKOjuOElYXwAlMBNhq7tlmUWBtZiXZiDLWl1UqP0JVifz5FzUoBS2KXckR3VvuuZU6ifPJ 8mQcW+R6g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lSJ0S-00CyYX-BM; Fri, 02 Apr 2021 12:34:32 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lSJ0J-00CyXx-Eo for linux-arm-kernel@lists.infradead.org; Fri, 02 Apr 2021 12:34:25 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 776DF61002; Fri, 2 Apr 2021 12:34:18 +0000 (UTC) Date: Fri, 2 Apr 2021 13:34:16 +0100 From: Catalin Marinas To: Derrick McKee Cc: Vincenzo Frascino , Andrey Konovalov , Linux ARM Subject: Re: Removed MTE function Message-ID: <20210402123415.GA2830@arm.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-20210402_133423_934069_32537B24 X-CRM114-Status: GOOD ( 10.63 ) 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 Fri, Apr 02, 2021 at 07:26:12AM -0400, Derrick McKee wrote: > I was under the impression that MTE was mainlined in the kernel. > However, the function mte_assign_mem_tag_range is not present in the > 5.10 or later kernels. Was it removed or just that functionality > isn't ready yet? If it was removed, why? Thanks. It was added in commit 85f49cae4dfc ("arm64: mte: add in-kernel MTE helpers") in 5.11 but moved out of mte.S by commit 2cb34276427a ("arm64: kasan: simplify and inline MTE functions") in 5.12 and renamed to mte_set_mem_tag_range(). Unfortunately, that commit did not delete the old function prototypes in mte.h. I'll clean it up next week, unless someone beats me to it with a patch. What do you need this function for? It's supposed to be used only by kasan, hence moved to mte-kasan.h. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel