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 9A1D4C3DA63 for ; Wed, 24 Jul 2024 14:37:12 +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=/SpxtbBa6eCptM9wxD6urNil6MSb38CZFQDmxBc9K/E=; b=Iv9+KrxjTfyvY49bgGDWj+4x5x qssUZnJd7ZraiwDjqzRvymv/pHifAfmfnh1wQrxYeSEzSGOMqO26aCe1n5DlSGq/NacpWnGjGGoOL Moo9GeXPUdJRYCh1bHLe7xFEs+1k4MAo8jEaGp4vNs4yKcsZZtI6J+L7guu8amzUootZY/tEgb1Ym YDToO9nEdjgS9q7tpA1UJc1/pJHC5crxEdCqLcS/a9pP3Xst1mlvJlUs2GhbJeiKBTy7TqqL3V3C2 4sXYkGTKlBM8I4y0XUzU7IFUj/61w6oZbPLEKwrvF1xF7nTQSpIY4xjEyWVlWL7rEnVwdlX7f2L4p 5zGNa1VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWd6z-0000000FcZ9-0cD8; Wed, 24 Jul 2024 14:37:01 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWd6b-0000000FcVT-1VtY for linux-arm-kernel@lists.infradead.org; Wed, 24 Jul 2024 14:36:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5CB0461222; Wed, 24 Jul 2024 14:36:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09370C32781; Wed, 24 Jul 2024 14:36:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721831796; bh=Vy2makQph1vBv9yaLQjTTAxrl6O97neZ2BLSX1zENkA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=O3g4xrjNY+45miLGNzlprZQaT2uJpeFAWeGvCN3Nf92J3eyO3+fa3LCiYwuJE0ChM VYKPE7dDxPUN5XZt67dUwpD1HDrWf+ZrJIGurt9p48QcKy6Y9wKMKcQq4hnrp423IJ 7/Wv1fD9tD24tJ1CcBHhpa5lilO1HzkxyB7FRwDokTEcPqzcdrp9cuvdK6564D4TzS GQkQKwC/zpA/uFChiY5PrmU6zccBHm37oe0yHo9/WmW8XVXdn0E5/nQVRnXmR57W/Y +xO4ipSxg9txfmLyiSmF2ih0FkPPeVP2lpUQKtJyoVj3kkZNPJf2tIs4tmUqVN5QxU U8pNhykjhEayw== 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 1sWd6X-00F2Fr-9D; Wed, 24 Jul 2024 15:36:33 +0100 Date: Wed, 24 Jul 2024 15:36:32 +0100 Message-ID: <867cda3lhr.wl-maz@kernel.org> From: Marc Zyngier To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH] irqchip: Replace compared GIC version with ID_AA64PFR0_EL1_GIC_V4P1 In-Reply-To: <20240724054623.667595-1-anshuman.khandual@arm.com> References: <20240724054623.667595-1-anshuman.khandual@arm.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/29.3 (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: anshuman.khandual@arm.com, linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, catalin.marinas@arm.com, will@kernel.org, linux-kernel@vger.kernel.org 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-20240724_073637_493594_1DBE543E X-CRM114-Status: GOOD ( 21.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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 24 Jul 2024 06:46:23 +0100, Anshuman Khandual wrote: > > Replace open encoding for GIC version code with ID_AA64PFR0_EL1_GIC_V4P1 in > gic_cpuif_has_vsgi(). Please fix the subject format to say "irqchip/gic-v4.1". > > Cc: Marc Zyngier > Cc: Thomas Gleixner > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual > --- > Applies after the following patch that fixes the given field in tools sysreg. > > https://lore.kernel.org/all/20240718215532.616447-1-rananta@google.com/ > > drivers/irqchip/irq-gic-v4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-gic-v4.c b/drivers/irqchip/irq-gic-v4.c > index ca32ac19d284..58c28895f8c4 100644 > --- a/drivers/irqchip/irq-gic-v4.c > +++ b/drivers/irqchip/irq-gic-v4.c > @@ -97,7 +97,7 @@ bool gic_cpuif_has_vsgi(void) > > fld = cpuid_feature_extract_unsigned_field(reg, ID_AA64PFR0_EL1_GIC_SHIFT); > > - return fld >= 0x3; > + return fld >= ID_AA64PFR0_EL1_GIC_V4P1; > } > #else > bool gic_cpuif_has_vsgi(void) Please repost this *once* the dependent patch is actually merged, so that we don't have to think of the dependencies. With that: Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.