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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 3C324C433ED for ; Thu, 20 May 2021 14:20:39 +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 02E8561184 for ; Thu, 20 May 2021 14:20:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02E8561184 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=E/HH2mT7j3WRk3tE7sjXKgBc0DJ55Z447WTurGnkww0=; b=evKZ6TkXOpJ/NBQK2vmGToKIBe GJkp1WYff5zRtxEhqgUlRpQNR6TL+DpORRZuIVbi5zvAZtegfnD4MFVknHQ2pVyyslDxF91YerHMV KokmKhuUtBrtrEgXq+cF+KrCS9hgYakr0w0TJVGliAxfc2RbeL7tnNhe6nMc3OjYEiZmcfJccvbRZ DxnsGUclSeItUSOdaH/HdK+LNHH9lEJR8nTdR3eFIPAwaG9dZiLVg+6sUhfQIUhr9mgckVtpS4gEP G7wOUCIb4OUVBNFv2PzB7dNillOAMi50Z/d3zqz1gtymbg2JY7kfjKEKgyx9fO31lX73umJcWmqQ4 Bs14qkMg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljjVd-001RJV-79; Thu, 20 May 2021 14:18:45 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljjVX-001RIY-Uu for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 14:18:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sUL1g+53vgjYNDojJfQfmL6tu75Nnyl/EmhTBAXj0cg=; b=06UbEfgecMzPLKpo8FTO1jQZRL bBj16B5HBrbxtw++eY7iHKZAx91yhVGgKohkbKPPxpxkillob1wJ4IFpKdcwb2PsGdLj8/egYWikN ezv5SxzGZ9abqusmOWoU2cEIyBuX1gMBmFB7aiiB2MuQ9RDF8URRWlt7jw9hYRqokCDPJRZjQ9/sV 1cLaZoaWyTJEDpALI9DbRz0KbSdTPaGvrOsvE9C/CbKxfTc7eZ8Zi6gF72cOfryx6Iv8JriYJwFWZ MuioKetWeberFpupm+OlUFUmsgjJ+jhDy7HP+06rjnP+p8nFl54LdlrlhRGxr4RH0IqjpyqBqVkYi 4N3ToZPw==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljjVV-00GPxW-4F for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 14:18:38 +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 7A64011D4; Thu, 20 May 2021 07:18:35 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.7.235]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C87773F73B; Thu, 20 May 2021 07:18:33 -0700 (PDT) Date: Thu, 20 May 2021 15:18:31 +0100 From: Mark Rutland To: Fuad Tabba Cc: linux-arm-kernel@lists.infradead.org, will@kernel.org, catalin.marinas@arm.com, maz@kernel.org, ardb@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, robin.murphy@arm.com Subject: Re: [PATCH v3 09/18] arm64: Fix comments to refer to correct function __flush_icache_range Message-ID: <20210520141831.GL17233@C02TD0UTHF1T.local> References: <20210520124406.2731873-1-tabba@google.com> <20210520124406.2731873-10-tabba@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210520124406.2731873-10-tabba@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_071837_240544_C7471944 X-CRM114-Status: GOOD ( 23.97 ) 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 Thu, May 20, 2021 at 01:43:57PM +0100, Fuad Tabba wrote: > Many comments refer to the function flush_icache_range, where the > intent is in fact __flush_icache_range. Fix these comments to > refer to the intended function. > > That's probably due to commit 3b8c9f1cdfc506e9 ("arm64: IPI each > CPU after invalidating the I-cache for kernel mappings"), which > renamed flush_icache_range() to __flush_icache_range() and added > a wrapper. > > No functional change intended. > > Signed-off-by: Fuad Tabba Acked-by: Mark Rutland Mark. > --- > arch/arm64/kernel/hibernate-asm.S | 4 ++-- > arch/arm64/mm/cache.S | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/kernel/hibernate-asm.S b/arch/arm64/kernel/hibernate-asm.S > index 0ed2f72a6b94..ef2ab7caf815 100644 > --- a/arch/arm64/kernel/hibernate-asm.S > +++ b/arch/arm64/kernel/hibernate-asm.S > @@ -45,7 +45,7 @@ > * Because this code has to be copied to a 'safe' page, it can't call out to > * other functions by PC-relative address. Also remember that it may be > * mid-way through over-writing other functions. For this reason it contains > - * code from flush_icache_range() and uses the copy_page() macro. > + * code from __flush_icache_range() and uses the copy_page() macro. > * > * This 'safe' page is mapped via ttbr0, and executed from there. This function > * switches to a copy of the linear map in ttbr1, performs the restore, then > @@ -87,7 +87,7 @@ SYM_CODE_START(swsusp_arch_suspend_exit) > copy_page x0, x1, x2, x3, x4, x5, x6, x7, x8, x9 > > add x1, x10, #PAGE_SIZE > - /* Clean the copied page to PoU - based on flush_icache_range() */ > + /* Clean the copied page to PoU - based on __flush_icache_range() */ > raw_dcache_line_size x2, x3 > sub x3, x2, #1 > bic x4, x10, x3 > diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S > index 7318a40dd6ca..80da4b8718b6 100644 > --- a/arch/arm64/mm/cache.S > +++ b/arch/arm64/mm/cache.S > @@ -50,7 +50,7 @@ alternative_else_nop_endif > .endm > > /* > - * flush_icache_range(start,end) > + * __flush_icache_range(start,end) > * > * Ensure that the I and D caches are coherent within specified region. > * This is typically used when code has been written to a memory region, > -- > 2.31.1.751.gd2f1c929bd-goog > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel