From nobody Sun Sep 22 03:41:50 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1F50C43219 for ; Tue, 26 Apr 2022 19:51:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354286AbiDZTzC (ORCPT ); Tue, 26 Apr 2022 15:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiDZTzB (ORCPT ); Tue, 26 Apr 2022 15:55:01 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC3116B0A4; Tue, 26 Apr 2022 12:51:50 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1njRDu-0006aF-4F; Tue, 26 Apr 2022 21:51:46 +0200 Date: Tue, 26 Apr 2022 20:51:36 +0100 From: Daniel Golle To: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Matthias Brugger Subject: [PATCH] arm64: dts: mediatek: mt7622: fix GICv2 range Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" With the current range specified for the CPU interface there is an error message at boot: GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not = set Setting irqchip.gicv2_force_probe=3D1 in bootargs results in: GIC: Aliased GICv2 at 0x0000000010320000, trying to find the canonical rang= e over 128kB GIC: Adjusting CPU interface base to 0x000000001032f000 GIC: Using split EOI/Deactivate mode Using the adjusted CPU interface base and 8K size results in only the final line remaining and fully working system as well as /proc/interrupts showing additional IPI3,4,5,6: IPI3: 0 0 CPU stop (for crash dump) interrupts IPI4: 0 0 Timer broadcast interrupts IPI5: 0 0 IRQ work interrupts IPI6: 0 0 CPU wake-up interrupts Signed-off-by: Daniel Golle --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts= /mediatek/mt7622.dtsi index 8c2563a3919a40..759803c2ce1577 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -332,7 +332,7 @@ gic: interrupt-controller@10300000 { #interrupt-cells =3D <3>; interrupt-parent =3D <&gic>; reg =3D <0 0x10310000 0 0x1000>, - <0 0x10320000 0 0x1000>, + <0 0x1032f000 0 0x2000>, <0 0x10340000 0 0x2000>, <0 0x10360000 0 0x2000>; }; --=20 2.36.0