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 648A3C43461 for ; Tue, 18 May 2021 12:16:00 +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 3159360C41 for ; Tue, 18 May 2021 12:16:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3159360C41 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=K6wnZXDRqg+0fLWen9q5al0bNc3ddaDsCmrcB9j7vGw=; b=NvG7Fj1UCsNv8HXzNzUpP7c18 YtPJ5lVNAlgFcUtTLBil7Y1EVBHsvmIDrIP/c23snCD+LxL/VzGO/cEnW5E0BvVjyNorgycorFYjo 4qH6j9QgXZCas93mRSmj+02rJRWHezo5vMQ6EpK8plMBJPjvSxBH7o38HEH3ISoMedEz5/UcTI5jf toNXRVx8f/OhIspJEvUbTxIV6k6pYtyI6jqe1Lc8wnZVPAVLDRRVwjZKHhjc9YLT/3ifeVzhyShMD wb5yuhQzqPmfNkc4ntcPy539PPpoA6BdzQaAmfFomSwvvltc49EH8pvpgW5YoutZtzBXtlWZrPq9r Gy/NCw+WQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liybu-000ijW-G4; Tue, 18 May 2021 12:14:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liybr-000ijJ-Ca for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 12:14:03 +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=NnDThE49jUo8vGGn3jNJH90Z/F2b2hhi7RRjfQC+3ww=; b=Pg8Wz0TyPaZvowYsaECagT5Vr2 SCbmVruJgM+VWh3cVfcSbvEPZT9okLWRsCe8dPKL4YY28qe+skVGfamrhDCqiHzjo++V/Vmptzv/N 3wxZCyzPolwpmmf2010kiaWsdOwUwcHzLHUE87zl44tv3SCKKQ/yYHXU9CXyNOFv+RQWyfAdUhhYD A8iRjNBH+7boGWJNLR3V0UrvZur+zqSHgfln8+BZuUDtY/gf69tS+mhB+KVIff5Rle4K/5F0DXXCJ aXf0VfrF4Lu0q95NJMqxkkJuAlUfYp/oycLRQrT+kgGeYLNX0hZ2iIuz1XnkvRWzrUYPDCNKSs31G ra0vMQsg==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liybo-00EdjQ-NM for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 12:14:02 +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 C440E6D; Tue, 18 May 2021 05:13:59 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.6.226]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1A6D63F73B; Tue, 18 May 2021 05:13:58 -0700 (PDT) Date: Tue, 18 May 2021 13:13:56 +0100 From: Mark Rutland To: Dong Aisheng Cc: linux-arm-kernel@lists.infradead.org, dongas86@gmail.com Subject: Re: [PATCH 4/4] arm64: head: fix code comments in set_cpu_boot_mode_flag Message-ID: <20210518121356.GG82842@C02TD0UTHF1T.local> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> <20210518101405.1048860-5-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210518101405.1048860-5-aisheng.dong@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_051400_845263_045C1447 X-CRM114-Status: GOOD ( 17.25 ) 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 Tue, May 18, 2021 at 06:14:05PM +0800, Dong Aisheng wrote: > Up to here, the CPU boot mode can either be EL1 or EL2. > Correct the code comments a bit. > > Signed-off-by: Dong Aisheng Acked-by: Mark Rutland Mark. > --- > arch/arm64/kernel/head.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > index d266b4c6287d..3b88000841d9 100644 > --- a/arch/arm64/kernel/head.S > +++ b/arch/arm64/kernel/head.S > @@ -550,7 +550,7 @@ SYM_FUNC_START_LOCAL(set_cpu_boot_mode_flag) > cmp w0, #BOOT_CPU_MODE_EL2 > b.ne 1f > add x1, x1, #4 > -1: str w0, [x1] // This CPU has booted in EL1 > +1: str w0, [x1] // Save CPU boot mode > dmb sy > dc ivac, x1 // Invalidate potentially stale cache line > ret > -- > 2.25.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel