Message ID | 20240218-cache-v1-1-2c0a8a4472e7@outlook.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp705976dyc; Sun, 18 Feb 2024 01:41:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxKjQtjQGVqAeTcYfyVbzrYE1yIQP7Nz1VClYo1OdKeWAsLPgj0gywDliE7Sd4hgQdA603wDdKCevzX2+2hHVAU0nDRg== X-Google-Smtp-Source: AGHT+IGLmqNUvplhHd4E5KwUVNDTZJg0ZP8vhDPr3fsI4LSSBoNSoRnxzcrXJk9RnlHoHsozZDCn X-Received: by 2002:a05:6214:411b:b0:68f:3faa:787d with SMTP id kc27-20020a056214411b00b0068f3faa787dmr7540607qvb.18.1708249270308; Sun, 18 Feb 2024 01:41:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708249270; cv=pass; d=google.com; s=arc-20160816; b=OANu16e/VfQYjrmNoCyFLEhh++0xAMSgoROAqdhZ7zvGuq4jzrQnBBLMTxOTojh/ud NQlgRxW7inxbPCNa07AG3E9WmraKCIWgE9S6lDWrVgrFAIl5wDfHJ6jYizPBF6QTizN3 NUr1aa74dCKJe7aCMQSu5EWAR1X1aKE9aEE9am23RcmFDW5eD4Lyi0kRouJbBsvY5Sw/ iJng21Wh/fXM6qzFRl3PBBi6wa0BTv213fuEQ9Umj9cX5+1I33iew7XtXRxcDYtHr8QZ pzEcvHfnv0T8SxLb3d25onMNpn/BHDTAPscptKm3Ai5Dxcn3YuoHiTHSDoq08KYS5lSA IxSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=jBaND+a2jfT+xvQs+VNlYNSBy7R/Rrj0p6GzT1NNO3c=; fh=29BeSxQRolKTTenbNnypbAFTlVYixRCnPjbHsJYzT6k=; b=OqRxs7WhE+RTYnN0z5ORO6/J5BBtGqJajnjC1vT490RTuHzzqyz1zZv3ntP9D1MmPd VfZMO3uW/VpDIwBxKMEC7ltu/Llso3YaqhTd82SjlHt7Wac2t27Ih8c4lxqxeHQW/CUJ 0kejL7FcczDiXG1Ijq6S+4RJ0R7Fq5rwAOE5T4EY3/z6a9gaBIqP8uqfVfCE+98xgVB4 vwmLRvJSLDqqyJ7DT8Ff4ycXECILCCxtfKES8o4fXW4S7bLWSRYUqB49DbwGVAxM0ecR IY5Hh1HALl56IsohJCWp8X6B2we66uoK/+xqMiFDjDLVpWz1erJFLaFaOuQEWOG/W8oS iUqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L8mmDD7S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gu6-20020a056214260600b0068f5fb1576asi743384qvb.118.2024.02.18.01.41.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 01:41:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L8mmDD7S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70323-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1E2CE1C20CC7 for <ouuuleilei@gmail.com>; Sun, 18 Feb 2024 09:41:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4ED481CF9A; Sun, 18 Feb 2024 09:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L8mmDD7S" 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 B3F7D168A7; Sun, 18 Feb 2024 09:40:34 +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=1708249234; cv=none; b=VuXBMSvTZAI2W6Kzb2LvlJe/IsWeCBp1jx9LoYAg4M9rOzx9okWf/AYtq+Qn1bDcZDocvToblP5fmi1mSHm4Lgk/BnEtsoKRHfBQqS/z/SrXF7yT1YQdeP/A1vP5uERrG8dDrwpvFpGpDWWwl9n0bhDOjmfU/ZSBkspN9oZHoKY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708249234; c=relaxed/simple; bh=g/cYia/nzuVeyrMQsTsvao1OEQbnaDqgWqKJyaK7rY8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Pz9wZEXXURRyzRHOFLa1TFEbWGbG1t4ndw7gZh0cEy1SzZxvfOefXVMz22KoeZZVZru0re3Qaosv7DaHiQK6ueexH9RaIt+f7g9LW5xQfN8EWHrs9Hr/peOMkIfDGkG9yU/zkmV/EvIgMaDm+w+01N57NR/8XHaj8b0pi9ZN6LQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L8mmDD7S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 3D3BAC433C7; Sun, 18 Feb 2024 09:40:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708249234; bh=g/cYia/nzuVeyrMQsTsvao1OEQbnaDqgWqKJyaK7rY8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=L8mmDD7SjB9RkrGIg0nde0/NyvsttIMhJOhWW8hLYbczEOE0oJjsGSLZIWEo8V7n1 cl8PdsHVoVduSYaZsLrAyB3ZRmBSjj1QdYwROheQNqhEgoXp11H1hBOPfeFblHuwHi c35h4ZssPTxtZQuhiUBw760eeGbz4qUJYloZAQi8Ym9O0OA5Tpk2OtmWYF9d/oFkH9 G0jdLJJb5VeVtNi415ZHjQQXcHf50XdRpsQSwqoM4wvnpHe6EhwWqeTSChJgeyqj8i RMB+Per1R40CTH6VWoTzf+e86XFdoWXW2wC6OfB4kBWhQ21s7DSV6cSVGf62l+Oszg 0YqL7fx1HbBvg== 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 22B75C48BF8; Sun, 18 Feb 2024 09:40:34 +0000 (UTC) From: Yang Xiwen via B4 Relay <devnull+forbidden405.outlook.com@kernel.org> Date: Sun, 18 Feb 2024 17:40:30 +0800 Subject: [PATCH 1/2] arm64: dts: hi3798cv200: Fix the size of GICR Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240218-cache-v1-1-2c0a8a4472e7@outlook.com> References: <20240218-cache-v1-0-2c0a8a4472e7@outlook.com> In-Reply-To: <20240218-cache-v1-0-2c0a8a4472e7@outlook.com> To: Wei Xu <xuwei5@hisilicon.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Jiancheng Xue <xuejiancheng@hisilicon.com>, Alex Elder <elder@linaro.org>, Peter Griffin <peter.griffin@linaro.org> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Xiwen <forbidden405@outlook.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708249233; l=1243; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=cM/+jwZOd1PTjdjnQjIchbxxptzvx3CBS8/AnT/3vpc=; b=/A9JI75VcknvkbU5W9gkLRmoqf1WJh/ohHjKqGbIMBsKkkK/WPK5yfIjww3AcQbSkUzL8JDSV NrPoGdyLs04AXuPMwP/6CSlzS2G1hIP7BvdWXE43WyHj2CAK/4lqJ+l 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 <forbidden405@outlook.com> Reply-To: <forbidden405@outlook.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791229186952291280 X-GMAIL-MSGID: 1791229186952291280 |
Series |
arm64: dts: hi3798cv200: fix GICR size, add cache info
|
|
Commit Message
Yang Xiwen via B4 Relay
Feb. 18, 2024, 9:40 a.m. UTC
From: Yang Xiwen <forbidden405@outlook.com> During boot, kernel complains: [ 0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set Looking at GIC-400 datasheet, I believe this SoC is using a regular GIC-400 and the GICR space size should be 8 KB 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 <forbidden405@outlook.com> --- 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;