Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp593604iog; Fri, 17 Jun 2022 09:18:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQHFLDrMgMpO/HIECrmuZp1Oq7CEeaKAR47FNC9S3NThl+v6qzBkZsit9D1YfE4lrPV16Y X-Received: by 2002:a17:907:160c:b0:711:3b56:dc7 with SMTP id hb12-20020a170907160c00b007113b560dc7mr10048751ejc.587.1655482739031; Fri, 17 Jun 2022 09:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655482739; cv=none; d=google.com; s=arc-20160816; b=SHB4U5/94301FkWVIfSi+RFQEnn3rCiXfVJ07mlTimAYv9F7O3lXIMdvyVPFNgKDwS XIQOYztd1ifTgw2Zt05vUR4xnyKDIki8GNiANreGxDH/2OjKho9Vaeo5VV9jEP34kT+e GG6Uipvr1l4RvYcKZlADJ5jvUgUAXKQHqEujQccGuGyPg6eHoWu/Yn0yM3LRJWWr9iku c6FxpUcFnBmvFR6m/IlfoORntswFh1mQHQFzAY2X1oOIOB8B+qDDvA/0mCrrUen3TWLI 8oci6dmgUYVqg18BQOF2F+Ci8sE6q0UN9pdP98DhnrH12wJ0JBCSw12yfs3eBJo7M7Fz fuUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=/vF1BsvlhQD+tw/5bNk3zQtWiZveNlOTJIolS391cc4=; b=JW6bpbuqQrJz1veJrB56cDYLclF35GBV33ilRFpVGvAe++Eptapw+gjbmcUvb4/U5+ 3wl1LwUPeZ+MdkmvwIJwl48W4ctJZ1wnv2ugA24JMGgf1uxnB1n/BKipxyw66dOzxDQ+ 3DdyzHhUi3QEVxefT0XoywIb4b2NRpnbBaWEqnH4W6zewFeSKGLcECZQgh84ZqBc/RNt 6RP0BwNlrTgbSJ0zashEeXhEpJ0RkjozDStuKvX0GlOYW2Kjn49DKs0pCpFnavcRXiCi exZyAiudX47RLyEUFnRKHnDnBdT2yKwegV8m5zUBfnT0LbaC8UslHWYz9bgBhmv8DZS5 gx7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BULfSdRd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp15-20020a170906c14f00b006fea2a02361si5863158ejc.371.2022.06.17.09.18.33; Fri, 17 Jun 2022 09:18:59 -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=@kernel.org header.s=k20201202 header.b=BULfSdRd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382709AbiFQPkd (ORCPT + 99 others); Fri, 17 Jun 2022 11:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382669AbiFQPkc (ORCPT ); Fri, 17 Jun 2022 11:40:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C82C4EDCB; Fri, 17 Jun 2022 08:40:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 50197B82B10; Fri, 17 Jun 2022 15:40:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA9CCC3411B; Fri, 17 Jun 2022 15:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655480429; bh=ztzdNE1IDuG+GmM/fpyvAZcK/yNVVOOFoLXAhy7ZfEs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BULfSdRd5jVeewOqCYAXdHG5rCesP16GVg2/KESyf0y0jM2YCUP+v94MBbxUp0efC q0g+E3s9nGBzcI+ag6XhwbtYzWY2wJB8/3TJdhgUMf003uTzczxiz3Ma6GjxQFuW01 TCuWK2lF9lGWLkrgpDKoyhixxD4Y93Qv50/teDsVTY4iM4qz1PAcxU3zGXYQQb3z+x 0E9GPgBJ8VeytL+LNKIO9UKuVbC3FNbKqNyHJ3Ipdzh0UKaTI0CGrE2+++DC+9CF+c lAvocFnMKxrChQOC5ARKn3Nxpkv3DOlmC4m4ZocD0sR4ogPl6BDcZcFKWFQjxePBbS OlAtGElAHaRUg== Received: from sofa.misterjones.org ([185.219.108.64] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o2E5C-001KXa-LR; Fri, 17 Jun 2022 16:40:26 +0100 Date: Fri, 17 Jun 2022 16:40:26 +0100 Message-ID: <87ilozpac5.wl-maz@kernel.org> From: Marc Zyngier To: Matt Ranostay Cc: , , , , Robin Murphy , Nishanth Menon Subject: Re: [PATCH v3] arm64: dts: ti: k3-j721s2: fix overlapping GICD memory region In-Reply-To: <20220617151304.446607-1-mranostay@ti.com> References: <20220617151304.446607-1-mranostay@ti.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: mranostay@ti.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stable@vger.kernel.org, robin.murphy@arm.com, nm@ti.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Fri, 17 Jun 2022 16:13:04 +0100, Matt Ranostay wrote: > > 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 Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.