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 5FD9EC83F0A for ; Wed, 9 Jul 2025 21:58:46 +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:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID: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=aRazELHHR5ln7G6ajJVSpUmKCyOQ/r0dMcYRohiIZQw=; b=N+z+kYTR3KynyD2NAMu9kelZBs nXSr1RPYFYYTSucuoCSjkLKomUgFMelUlc5t6GE5zLH5MMrkJeTKbleFPrc//Ne3/j0i04baX43iv eB8Cao8Wlxsk78nwy2tsLwnUujzu9NTpx8CjmT0+s9hG0wPmwlAXINxNuat+Bq1N4kNkqqrbdQbHd ZtGURqePOs6DmR/8h34iWeMqjHPq8zGjZlG7wzrqA34WI7/0UD6ZD8Zmdtp1ADwkm4fa123Mz0ZS3 B/qK3UpBpOWtSSnJyqu3hhmb/irUlfJ/Gl4FOzaFdWmfFkh0kTP36wHOrx/LuSqvY3t2UwmXU96Ix TP8zN4rQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZco7-00000009xL8-1CtJ; Wed, 09 Jul 2025 21:58:27 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZXdU-00000009JLA-2xtE for linux-arm-kernel@lists.infradead.org; Wed, 09 Jul 2025 16:27:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 7F3DC450B4; Wed, 9 Jul 2025 16:27:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D38CC4CEEF; Wed, 9 Jul 2025 16:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752078425; bh=58dMFpVclE1fI2hMvzz1Vk2nv1dCDMBCLxLTGsdrOYQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jLpaJ/bS2o2KH41C6vKrFwk685YSFSUw+YJBtaqINW+aUUcheLyFkUcLPYIUVBk7b RPyN9xDhplUAjp4YEL2TdZZ2VbHczfChb51MXJtWOd6O/hQScjhJTlrYZnQcIPOKB1 rpBoOthV1lV47h8AHeeeciha7s3k/2HIdr91KQXqLfVZ2SxrXTqA6CkXDpZndTKRJS 2r1NHotP2Pm/0X6/4uPsAoe4j+tXnGjCL+jxwpvdsIsu8NvJ4sdUbYmA+42DjMyS2y keAVyUQ3nfjWLtMq+Q0GEhGuPaYC0hAoeGzW6+Uz9bsrMqcUJJNp8jp7fc3SWaMSJs MRD7dbtZp0O4Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1uZXdP-00EE2d-D3; Wed, 09 Jul 2025 17:27:03 +0100 Date: Wed, 09 Jul 2025 17:27:03 +0100 Message-ID: <86ldox9voo.wl-maz@kernel.org> From: Marc Zyngier To: Zenghui Yu Cc: , , , Subject: Re: [PATCH] irqchip/gic-v3: Fix GICD_CTLR register naming In-Reply-To: <20250709130046.1354-1-yuzenghui@huawei.com> References: <20250709130046.1354-1-yuzenghui@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: yuzenghui@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, wanghaibin.wang@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250709_092708_783051_3120B26B X-CRM114-Status: GOOD ( 22.23 ) 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 Wed, 09 Jul 2025 14:00:46 +0100, Zenghui Yu wrote: > > It was incorrectly named as GICD_CTRL in a pr_info() and comments. Fix > them. > > Signed-off-by: Zenghui Yu > --- > drivers/irqchip/irq-gic-v3.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c > index efc791c43d44..dbeb85677b08 100644 > --- a/drivers/irqchip/irq-gic-v3.c > +++ b/drivers/irqchip/irq-gic-v3.c > @@ -190,12 +190,12 @@ static void __init gic_prio_init(void) > > /* > * How priority values are used by the GIC depends on two things: > - * the security state of the GIC (controlled by the GICD_CTRL.DS bit) > + * the security state of the GIC (controlled by the GICD_CTLR.DS bit) > * and if Group 0 interrupts can be delivered to Linux in the non-secure > * world as FIQs (controlled by the SCR_EL3.FIQ bit). These affect the > * way priorities are presented in ICC_PMR_EL1 and in the distributor: > * > - * GICD_CTRL.DS | SCR_EL3.FIQ | ICC_PMR_EL1 | Distributor > + * GICD_CTLR.DS | SCR_EL3.FIQ | ICC_PMR_EL1 | Distributor > * ------------------------------------------------------- > * 1 | - | unchanged | unchanged > * ------------------------------------------------------- > @@ -223,7 +223,7 @@ static void __init gic_prio_init(void) > dist_prio_nmi = __gicv3_prio_to_ns(dist_prio_nmi); > } > > - pr_info("GICD_CTRL.DS=%d, SCR_EL3.FIQ=%d\n", > + pr_info("GICD_CTLR.DS=%d, SCR_EL3.FIQ=%d\n", > cpus_have_security_disabled, > !cpus_have_group0); > } Hey, even people at ARM have made the same creative typo[1]! Acked-by: Marc Zyngier Thanks, M. [1] https://developer.arm.com/documentation/198123/0302/Appendix--Legacy-operation -- Without deviation from the norm, progress is not possible.