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 2797114600D; Thu, 13 Jun 2024 12:08:35 +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=1718280515; cv=none; b=F7TUBSKLfsG0bw6h7ZNuRxlmarTPiNuLiTfLAzXd/KbmTWQBp+n95qK4sFv99p8M7yx2MGw46M5BMvLNB5sYbVXCdiKrVAmwN0JM/EJ1eHKS8nYSXnNn/dQVkuhbWcDMB1/5vrWKuFiaY+FrENZT8O84whPTnfIlC0wP32Z2a80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718280515; c=relaxed/simple; bh=LM/UywQQty3CBWf+rXwDuYuc5nt56kWYAYlAMtDJJFo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Xeg4pEGSe/r4WNaJcxRexfDmv5XIJCEHdZ2YlJNt54J0/IQaZZ4dgn+mGk/8dGfeXgOgQEt356nhi+O9rQZMccUozJ6TjydFsezLgyaZudlTaziDOo2O+AYxOE2lzxe3JpNFJ3RuAgm+vFyeDjWqf9xYqcHLZSK3B9S8uxRjyko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=snTBxytA; 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="snTBxytA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F78FC2BBFC; Thu, 13 Jun 2024 12:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718280515; bh=LM/UywQQty3CBWf+rXwDuYuc5nt56kWYAYlAMtDJJFo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=snTBxytAAh22SsTHlr6QvkSE68BEbjJ4oWD8aM15NHyNsfjw251mEfD3LulSEP8I3 2ySlctJ80WnOufAAQLu+lE+zk8BqF1iVLKI6VgDCEsjGu0SSAFtBrZp4j6nm8nVH+e p7gvLfeUM+uRY3fD2eAlBgulQT8WsZ0FUALCY8rc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yang Xiwen , Krzysztof Kozlowski Subject: [PATCH 6.6 038/137] arm64: dts: hi3798cv200: fix the size of GICR Date: Thu, 13 Jun 2024 13:33:38 +0200 Message-ID: <20240613113224.769275363@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113223.281378087@linuxfoundation.org> References: <20240613113223.281378087@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 6.6-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;