Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp472048iog; Fri, 17 Jun 2022 07:06:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1se4+fEDt+7VclbZZ2R1urOeKUV3pkw2jzzylz1DC3AkCSLP+v/Wn5VCrQIUVy1qbFox70g X-Received: by 2002:a17:90b:19c8:b0:1ec:78f1:8379 with SMTP id nm8-20020a17090b19c800b001ec78f18379mr2887055pjb.83.1655474807836; Fri, 17 Jun 2022 07:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655474807; cv=none; d=google.com; s=arc-20160816; b=CEOSkucBxDR/2Ms+t3pk38TA4arE6EzVQGIuzc6fKedXX67Gu8CYnTCfo5NNfvJjj7 l88BJ9kvMwbzSrHMbYQY9XWxpgBV2ZB+d0hfhk2Rgj4oILKypeJOM0idJXWcAc0e5pBa nm6ujXNeE6Tgt9d73EvT+rJb2Sr97Z8PJOiPW+R9xS4zMxjyc/PWDuX9SlDa4k1mLSiD RJUdE0HKZFFV2G45UasXMuILJGU1xtAEls9dGwvvne0Tw2kOnHUH+ic7VOUbtmV+T7rz VnUuBrUBWIq+kpo4aW22BKC4ZbZOvQTzuSUsYp3N9rySsJW75vVAyU8Lyd8IBsqlsXbG YUTQ== 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=LoE7Q35wiMGDSUG73hBQuRCgbs5XNjx0rxkm5JJxwl8=; b=Nh51FLpdgx3xn7yORz5VtQfoMgLKXYl6jbX8NdJmxwCchV1gOACwxf9D3v1TlNp7kQ Z+welKNsiFx1FCiR1yNc9mtER0Jq35kPHCGeJCVdsUQYDQADye0OD9pMGSz0nvcyN8m9 o/t1J09GoqHhR+qQHjhgHyHgtqmNUQS6SWJZNc2jheVSMIcoNmVAw5kdTY2B/wAfaS4N 5ItJCkMLBBhlnsYDYFuvohut7xlKMcG+IokF322Vg9Trz9zfL0aUsP7nmEaLdEHM9Ln+ QvHohiEwQtvjSmNgFc4JbF9sB2czstDLBFl/r8+S0aIC4ssA8PIm6JHFsmEaxeHoo/DY H2iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zWHLzuJ6; 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 h19-20020a635753000000b003fddd12eb2asi6047982pgm.766.2022.06.17.07.06.01; Fri, 17 Jun 2022 07:06:47 -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=zWHLzuJ6; 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 S1382597AbiFQODO (ORCPT + 99 others); Fri, 17 Jun 2022 10:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382603AbiFQODI (ORCPT ); Fri, 17 Jun 2022 10:03:08 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B018D275F4; Fri, 17 Jun 2022 07:02:51 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25HE2e5K103349; Fri, 17 Jun 2022 09:02:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655474560; bh=LoE7Q35wiMGDSUG73hBQuRCgbs5XNjx0rxkm5JJxwl8=; h=From:To:CC:Subject:Date; b=zWHLzuJ6WX4/BikSrsf2dUCSfPF3ZgD9Fyk3fv3Fci1GgfIG/K6qiOmtzL/6sJWz3 44tVTlhS54a+G9yVumA1vzRVauPHvDmlglGZEUKiFNyR7qFEChihxsHJDIKG+y07D5 ZyBwx+Mw1MJf/YMKov6KDb/jdgkCzR0G0TVC8wYo= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25HE2e9F074042 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Jun 2022 09:02:40 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 17 Jun 2022 09:02:40 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) 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; Fri, 17 Jun 2022 09:02:40 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25HE2XED041511; Fri, 17 Jun 2022 09:02:35 -0500 From: Matt Ranostay To: , , CC: Matt Ranostay , Marc Zyngier , Robin Murphy , Nishanth Menon Subject: [PATCH v2] arm64: dts: ti: k3-j721s2: fix overlapping GICD memory region Date: Fri, 17 Jun 2022 07:02:07 -0700 Message-ID: <20220617140207.444298-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 Fixes: 2b2cd74a06c3 ("irqchip/gic-v3: Claim iomem resources") 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(-) Changes from v1: * Add missing Fixes: in commit messages 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