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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C8AA5CFA758 for ; Fri, 4 Oct 2024 10:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1ncxEnDj/jcoTzgYKgUnMjy15Tt6eM3dIyqT4/iOaV8=; b=lDtTYiRg4Y9MavsLxsv3eqSAla FIZ+L/xFGUCBN4nqTnJs4Nf7lifJHfdMRzTCaPpwXeFgLyE57ybrLm09euGobEcfOIwTkAwOFWEYa 22YQjs31l/uU0XkcFidKwad6vlomfLfCWuSHWMeZ0ELBi94EEej04pQJQjj3LLmC3pEZ3tRXtViGD N54rcWwwTX823zWE/I7jLcQMf1PNpW6VrWLNWVcmzUXqgP78L/nvvqC1vtXt7aeMaGqKsHvMHE5yd /DdDBJvq1imkcw1vL+2pseikwaKnnq3s/QMJWBWKoKKzZK2nNP5MhWZJMEhn3EdyUBZuXgY9YLvAG 9QfTtpAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swfI4-0000000Bmq6-0MQe; Fri, 04 Oct 2024 10:12:04 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swfGi-0000000BmR1-3u0V for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 10:10:42 +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 0134D339; Fri, 4 Oct 2024 03:11:10 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5C8D53F640; Fri, 4 Oct 2024 03:10:39 -0700 (PDT) Date: Fri, 4 Oct 2024 13:10:36 +0300 From: Catalin Marinas To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Mark Rutland , Robin Murphy , Marc Zyngier Subject: Re: [PATCH 0/5] arm64: Use memory copy instructions in kernel routines Message-ID: References: <20240930161051.3777828-1-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_031041_028642_B3898985 X-CRM114-Status: GOOD ( 12.51 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 03, 2024 at 05:49:57PM +0100, Kristina Martsenko wrote: > On 02/10/2024 17:20, Catalin Marinas wrote: > > On Mon, Sep 30, 2024 at 05:10:46PM +0100, Kristina Martsenko wrote: > >> This series makes the memcpy(), memmove() and memset() routines use the > >> CPY/SET instructions, as well as copy_page() and clear_page(). > > > > Another function we should optimise is mte_zero_clear_page_tags() using > > SETG*. > > I can send that as a separate series. Sounds good, thanks. > What about mte_set_mem_tag_range()? Ah, that as well but I guess only the init == true path since I don't think we have any FEAT_MOPS instruction for only setting the tags. -- Catalin