From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 271BE17FD; Thu, 13 Jun 2024 12:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282699; cv=none; b=fpmwfEU+NUXenfOrMnE8LBOGUTdN25IMH5oqzCb50WA4c6XrNTTPwAzO10OGlYeie34Q/1lfGVHuetdD30r3H/l032vEbNPdFO0Vf1fOAhYBkL4WYX5zsWdfNUGKIECLZXm7xblX1MxT2EPGKjv2pqQWMZ1KL6AQOLdwmSQzJfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282699; c=relaxed/simple; bh=RRp60HHoXUfWHmT1x/Hk/LSfiLFuo0iCco9y4qpAQPE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mQiOu8N2St+pGpHaNYl/dthiJ55v1Obah6PRZuvtk7teSc+p0M7I9XxpslsMt9SF9c2J5Bodm6ikWbMucDSa4+39qmv+A6VMdJpUxZ73IaQ+9y5ThBBw1egq3Q4bvkgaJ3UNnw7PZOtFWhjALtr+hJmWPyCLzXrK7VTjOmJGDnc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0HYed87x; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0HYed87x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2379C2BBFC; Thu, 13 Jun 2024 12:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718282699; bh=RRp60HHoXUfWHmT1x/Hk/LSfiLFuo0iCco9y4qpAQPE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0HYed87xqgU/4UD+py46QWP+WrTCv2ATkcgJbSNO+dl+GmA76Jc21PDo4lwxhDnXW 2UlBEZd8fnOJJDmKrz7QjUu4UBhHXmwUN0YOgimUi/c5J9YyVbUFNCC4yf2fGyzCTK D5KnD2T29BxTZIvZ9WSHsnkYM1QauWhQ/nxSIxfg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yang Xiwen , Krzysztof Kozlowski Subject: [PATCH 5.15 366/402] arm64: dts: hi3798cv200: fix the size of GICR Date: Thu, 13 Jun 2024 13:35:23 +0200 Message-ID: <20240613113316.413022145@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113302.116811394@linuxfoundation.org> References: <20240613113302.116811394@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yang Xiwen commit 428a575dc9038846ad259466d5ba109858c0a023 upstream. 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 Link: https://lore.kernel.org/r/20240219-cache-v3-1-a33c57534ae9@outlook.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -58,7 +58,7 @@ 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;