Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp557235iog; Fri, 17 Jun 2022 08:36:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t8zRbe7PlfiBr6S4pdyqp6Ca67gftyVEmCj/qjD2PObuYPx/jLkbcKRj+r48u3K/NYXGOv X-Received: by 2002:a17:902:8ec9:b0:168:c341:847e with SMTP id x9-20020a1709028ec900b00168c341847emr9979481plo.170.1655480217051; Fri, 17 Jun 2022 08:36:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655480217; cv=none; d=google.com; s=arc-20160816; b=MKoXUUB0Br4QHqHJJZeh9o13M6GJRJsF29GNNk3sqEtXI0P3OA87MG/U3jE/xAiWjM e9OomPBGuUN2oUVIAPC9An0rUV4oCXQ3hey6wqgerqZ3VZ/5XI3d/WTkCzOl2o7ow6rM Q1VJ1vzNCWOyVkQdRGF7kBjdeX+b+PIx38wVsXu+KGrXyM+pP9z5doCLNKgRT1lnd7UU skFvA4+XOXtN+nNqJTH2K60eAplSuIpgJgRNY+7RYKivv6w9ACorgOL4rHB7s2RunClQ qyfzZfYFPzyaqDdlyzmClAdpwK1uLKq/z0R5LfIQwZQLy01ioLHPnXO8OUxI4QmuCPRs XGgA== 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=btEy72sdSM24iPuUSdFBaWxRw5345GU+X5tU9cmz78Y=; b=lTOIDPzjTEGg2H5ZLCjQ5nzgtT5bv+7YMLoJvRpNJwl+0Q1DOhtkTRpaOiESsEtEiR KDmguBY1zA3qSKOmKBYNv4ufCnZtIofXx6TuvynO8XdIkYc+jA8MZ0V5SBfAa9UILOiK DBmjCzWfXTlhRcyVZ1ghfh4yX8kOTj4A/B1yEF/VyaDvDudpCla1Tsb1mdgy8Rnhckt4 MwjvhKj4Z1Jr38Ik9rfTTNz3Q+3aXyVgg/bKgpkSLpLETvE6qH/X86wvyo4YmZ4hwB+0 2t1h9hHhjyi/ik1fxRzdv4YZvqZHhutkwg5UuChBDqjciSMk++GVWsfqMUy+RqJMo08D zB6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bIr7OUXI; 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 n34-20020a635922000000b003fc5a89b010si6653035pgb.103.2022.06.17.08.36.28; Fri, 17 Jun 2022 08:36:57 -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=bIr7OUXI; 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 S1383083AbiFQPNf (ORCPT + 99 others); Fri, 17 Jun 2022 11:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383071AbiFQPNe (ORCPT ); Fri, 17 Jun 2022 11:13:34 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A62582BB0F; Fri, 17 Jun 2022 08:13:32 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25HFDG2O065989; Fri, 17 Jun 2022 10:13:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655478796; bh=btEy72sdSM24iPuUSdFBaWxRw5345GU+X5tU9cmz78Y=; h=From:To:CC:Subject:Date; b=bIr7OUXIvZT+WljYb2+WvuvkV3uMGkZ5oDwXUbI1F9eiFdOpFR5YWuam3afkEp3kq odws1ff5gw2oMzk8J1WiwEb2BhQNweNGer2B/Dd2XfIcbhih9x9ILNVm8TJ9dQawwA Mu2yU8HGQ3lwjAK+HOjbbd127OVBQ8Bjnip2ldvk= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25HFDGev080733 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Jun 2022 10:13:16 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE102.ent.ti.com (10.64.6.23) 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 10:13:15 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) 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 10:13:15 -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 25HFD7pn028760; Fri, 17 Jun 2022 10:13:09 -0500 From: Matt Ranostay To: , , CC: Matt Ranostay , , Marc Zyngier , Robin Murphy , Nishanth Menon Subject: [PATCH v3] arm64: dts: ti: k3-j721s2: fix overlapping GICD memory region Date: Fri, 17 Jun 2022 08:13:04 -0700 Message-ID: <20220617151304.446607-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: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC") Cc: linux-stable@vger.kernel.org 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 Changes from v2: * Corrected Fixes: tag to actual commit that introduced the issue * Fixed word wrapping in commit message 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