Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1338624iog; Thu, 16 Jun 2022 04:25:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWx4B93qreAosL6HTPWJ2TDoDlSgD+o3cEO2w2Mt6bBiionUPIG8NDbMcrVaCkcXhSsHun X-Received: by 2002:a17:90b:2247:b0:1e8:9f24:269a with SMTP id hk7-20020a17090b224700b001e89f24269amr15515391pjb.14.1655378733629; Thu, 16 Jun 2022 04:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655378733; cv=none; d=google.com; s=arc-20160816; b=cjsht+CUrN16ig/3q4PDL/ktmeNHwzyx+/Af/MbT/YPot/N1FlzBREpeZSPoL4Jcxh cJBfZbecXTAuAPWfu95WDnL7cfi1pFVtqGVeb9kqkyUAZ3Y1VXQfq1aCCwd/h7vCu8NT j2CjHamXmkwBUzY+/m+bn5jEbliaVbgGjQLxQktlhAn7dZVV1uJN4b8HR3upfgccmMnl CxXGkWQmOH+8esBE28HFz95FNmqR6zRgj1n1YfS2AveTRf+lWtfsJTpQ7nzTXNexVhM2 KtPIFMy5UDgOe6MLmMNn2ZcNzzyTsKTIb5xcWLUMwjjC0HxXYxzcXloLbCa1KPpBZiya O9yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AplBO2dgFdhgppnaG/hf43xYN+u1cgW5+n0ebc5nfVE=; b=Wr3AJvFSs3nTAx9sVaxy+ff3Dci5+xKgaF9Sy+crQTUiE+aYjKePqK5N9+dZ8ibgpg z4dXfDBfHTS3Z6OREntI/lWe9NpNZejYoGfk8Ec8bsYzGIqjPl7TIWnlX9n1FuwZH622 nFEintPJg19PfWFMtTKnWmo6zkUzmHSBDoc619/I+IwAANQ6m1yN/itzEGkfGy5+8WJJ UdzFKzz5VWy5N3KrIvus1EAIoxPWerkM0xBY+11zl2rPkEvJF/1M9I9c+Hvb63ONNr0M RfinUHeikKobJrI9Xr1qz2bx8VRrry1KsCwbqnpkJRv8S1N3ZSBAmnKc9qo/apbE4f+I GTuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kOEJ1RS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa18-20020a17090b1bd200b001e2d9da0658si6507731pjb.146.2022.06.16.04.25.21; Thu, 16 Jun 2022 04:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kOEJ1RS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376319AbiFPKvq (ORCPT + 99 others); Thu, 16 Jun 2022 06:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376484AbiFPKvo (ORCPT ); Thu, 16 Jun 2022 06:51:44 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4337D5DE48; Thu, 16 Jun 2022 03:51:43 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25GApV0d091863; Thu, 16 Jun 2022 05:51:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655376691; bh=AplBO2dgFdhgppnaG/hf43xYN+u1cgW5+n0ebc5nfVE=; h=From:To:CC:Subject:Date; b=kOEJ1RS3CrrLucyBb2DVRA8xRZHOrfUyNP6A3oEmzvifQsSdVJaBHcUcECoTqASQs Omh3yNa7mxSOQDlEiwz747BBNU+M6z8xenBboo75itnCtJaxLDKazKKYF1Uji/NzM4 Fi8W0RAv513oGJp39FXzAtiGikrng4daNgdY4TOc= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25GApV3A010184 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Jun 2022 05:51:31 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 16 Jun 2022 05:51:31 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 16 Jun 2022 05:51:31 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25GApOXS018038; Thu, 16 Jun 2022 05:51:26 -0500 From: Matt Ranostay To: , CC: Matt Ranostay , Marc Zyngier , Robin Murphy , Nishanth Menon Subject: [PATCH] arm64: dts: ti: k3-j721s2: fix overlapping GICD memory region Date: Thu, 16 Jun 2022 03:51:12 -0700 Message-ID: <20220616105112.289719-1-mranostay@ti.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GICD region was overlapping with GICR causing the latter to not map successfully, and in turn the gic-v3 driver would fail to initialize. This issue was hidden till commit 2b2cd74a06c3 ("irqchip/gic-v3: Claim iomem resources") replaced of_iomap() calls with of_io_request_and_map() that internally called request_mem_region(). Respective console output before this patchset: [ 0.000000] GICv3: /bus@100000/interrupt-controller@1800000: couldn't map region 0 Cc: Marc Zyngier Cc: Robin Murphy Cc: Nishanth Menon Signed-off-by: Matt Ranostay --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index be7f39299894..19966f72c5b3 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -33,7 +33,7 @@ gic500: interrupt-controller@1800000 { ranges; #interrupt-cells = <3>; interrupt-controller; - reg = <0x00 0x01800000 0x00 0x200000>, /* GICD */ + reg = <0x00 0x01800000 0x00 0x100000>, /* GICD */ <0x00 0x01900000 0x00 0x100000>, /* GICR */ <0x00 0x6f000000 0x00 0x2000>, /* GICC */ <0x00 0x6f010000 0x00 0x1000>, /* GICH */ -- 2.36.1