From patchwork Mon Feb 19 15:05:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 13562824 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 C0DE1C48BC3 for ; Mon, 19 Feb 2024 15:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=89MmGVFDL/DvBHuEJH/WQLjJpE8hvB1IHw2DnYgaluw=; b=5A8WSunnBHSW2O +q0WzqAGHooKy/S2y0oztQoF4cYflrtVi/VqtjEwr525kkG9yI++ZBc+OCBu4KD57yyfmyAAXgS5M RlMDsFHrEUh6clVsv4H8mXDm53pci1T2ZuiVf1xVi2bDI2PDG/lcrfNDKFsNEGOISGabSkM64IWZo CVBOrxDSZ3q7I6qj4iIjR9DUC23v8ZEsSvlekrrl58llZyTY6PJgrfM0eXi3xT1jrTBFlqhbLctff 0GrHGh4yo4AfNnx/hTlVgnxOL3gVAIhQisosJzAF7Ab/CAgSbg5IfQs27HnMCPH24sV0ZCZNbbhBN Ypi/p02PrZm0aw9Mr8qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5EZ-0000000B0hX-0jL4; Mon, 19 Feb 2024 15:07:07 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5EW-0000000B0eq-00ib for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 15:07:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 0E6BBCE12E4; Mon, 19 Feb 2024 15:07:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3C25AC43390; Mon, 19 Feb 2024 15:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708355221; bh=0uD/fPZtAQRPWqpEsRxWQPIXiCQh3Fi1MJM8sSaEG04=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ahAItWfJKxeo6GypLUSP8U/jf5k6cnNNEiVkRIN7dpHU/QQHSyUZX6+uoSYVPbvDO WrZ7B0HTBd1Q5Lup3Sjz6ZU7avoO74SadNLnTY+R5X4GVbaYpQz2FpfL7lwRMXrRtq uAIoH2vZeoK3G4Pio6cdmLv63Rp6IPiaEa8l2ndodRMUFVgxGwckLJ80PztdsqIJ2A f1sDP8I1qHUXFqxofJ/sbzRH2lNBzlTbM0FIL4iwol1KwklsGJ+lD2GTHd6XvynyAl uhTKG6IXF9kUisee/FiFsqWEsrW97B1c6LOi9W5bcfk9ywtZ/lauczwcZBSypeThrM bUTYjlcZwOasg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20B01C5475B; Mon, 19 Feb 2024 15:07:01 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Mon, 19 Feb 2024 23:05:26 +0800 Subject: [PATCH v3 1/3] arm64: dts: hi3798cv200: fix the size of GICR MIME-Version: 1.0 Message-Id: <20240219-cache-v3-1-a33c57534ae9@outlook.com> References: <20240219-cache-v3-0-a33c57534ae9@outlook.com> In-Reply-To: <20240219-cache-v3-0-a33c57534ae9@outlook.com> To: Wei Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiancheng Xue , Alex Elder , Peter Griffin Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708355220; l=1236; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=Q7LcOT/VwpsuZcFlk8XRnwmi13g7rI7h0WTW2e9avFs=; b=Jm1sLBoWsNwRJnBJqT57uUsQ1DHPNPKwfkMsWU3hTpw3/doshoWyTEdH8NI4jO9bvXfuXAZ5F FGleHPqE4pEDExYWkqaZcbEFAOM4CmVWgzh11Fe/xVPEr+ime6GIurZ X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_070704_259567_EDD0817F X-CRM114-Status: GOOD ( 13.11 ) 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: , Reply-To: forbidden405@outlook.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Yang Xiwen During boot, Linux kernel complains: [ 0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set This SoC is using a regular GIC-400 and the GICR space size should be 8KB rather than 256B. With this patch: [ 0.000000] GIC: Using split EOI/Deactivate mode So this should be the correct fix. Fixes: 2f20182ed670 ("arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board") Signed-off-by: Yang Xiwen Cc: stable@vger.kernel.org --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index ed1b5a7a6067..d01023401d7e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -58,7 +58,7 @@ cpu@3 { gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; reg = <0x0 0xf1001000 0x0 0x1000>, /* GICD */ - <0x0 0xf1002000 0x0 0x100>; /* GICC */ + <0x0 0xf1002000 0x0 0x2000>; /* GICC */ #address-cells = <0>; #interrupt-cells = <3>; interrupt-controller;