Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3061649rwi; Tue, 1 Nov 2022 15:31:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7I2D3G9DGZldfE4X19BRDsufDhWwapJYUqFxP2gjv33URwfnmdUHiq2wrJejFX1H5jAsdS X-Received: by 2002:a17:906:ee81:b0:77e:829a:76e9 with SMTP id wt1-20020a170906ee8100b0077e829a76e9mr20980564ejb.207.1667341895642; Tue, 01 Nov 2022 15:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667341895; cv=none; d=google.com; s=arc-20160816; b=rBHYoqom3oTjy08PGUuIkeB8nbhTsEUoyDE0NweYg0tPYsbAuduKHdqW7v59JKk36d ktbPVbnc89zoXvygjHpeoMgwQFbAXD5PyRPDsVzhHWi41m4zlRvJ0HYiiqo/tKVYmJbE kP2OR4mrKj16bmTBYapB4iw+AchDqZRNMZ8hFaDnBouBiw49T71m7MIT7rWY1gZwqe7j 4LbMn2m5p4C+AkXzDp3x45J0sNJabAaHdYi0htk9F7HrpOm+EAo8hf286PYKNeRqaXt2 vqs4nmDb7LvP342d97JNL9wJUmmeXWyefGFhrcGHFW1oby6/t3Exs349B5rLyOru/2cx CaDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+EnXRXswETa+s+5HTCpATtGu1kPXpWSIL9oK/CGv2EU=; b=pThmDuoIc+Ms9yrWDuyg37wJiaUf1ts9OTpwpNA0+Sv2h/jio3XsTU0xRgsT4Gjp9d PluQJ/TLDAjtr7ggBJtoWdnvvXiSTjKyKQx9sXgYh5fG4ho5Pa+Mgq/xFhBPfDtoqr/u tsHbDnLgJUOpSowCEpg9aWZJEwhPxnfFRiaQM+b/2hYcz66aTk+i5TWDJ70FBirGxSEz CJtGsTSbnAUsWM9NPiYnbg4EwN3DePj1qPIk4sxWRAiIqr9dbdVI31HKUk5VBE4xAaIu zLoGhHQvzTWin4iSY5p0rothGuLv7GlV+vUagE7wPb1T8xmQ9eCBaiQIlzrAm3NVU87W sXTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HKTDDZFN; 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 nd30-20020a170907629e00b0078d2848bca9si13876165ejc.704.2022.11.01.15.31.11; Tue, 01 Nov 2022 15:31:35 -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=HKTDDZFN; 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 S230266AbiKAWTr (ORCPT + 97 others); Tue, 1 Nov 2022 18:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbiKAWTq (ORCPT ); Tue, 1 Nov 2022 18:19:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AF34193C6; Tue, 1 Nov 2022 15:19:45 -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 dfw.source.kernel.org (Postfix) with ESMTPS id D57EC60FAA; Tue, 1 Nov 2022 22:19:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22252C433C1; Tue, 1 Nov 2022 22:19:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667341184; bh=oRP7g+ZDDYszSibvvA5FgoFpJlVOf5XIE6A0JYpcsIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HKTDDZFNmuD/A6cF+K+Y8uAFNlxKp7OfKIhGMYZ0Sm6lImu/HOdm/PlC1T5oqrhk5 /2lr0EoCvbT5i7xhWPngLc9QyJviN+MSUo9LY561doPU5mF4yhtlpp9LTLFtJyTchL 5W3RHNmncM3Z1RcUGEakEegnuxtxv41zz8FqJRIrt0RgVuxMObAWzyrotz0Rd/M3Bc QM5eAjNtcrHinEWbkzQoQv6cy0H4Qz7+S7qqgXzJ29eIccXyICTqAzWIEzhPPNTAAN kiIcXfMoNzcfS3JOJeCYbjzruc4+VITXaPfgjVpDekBee6aoSk2OFTZ/5eBtBQmvTg gmcgsC206ubtg== Received: by pali.im (Postfix) id BF6167F8; Tue, 1 Nov 2022 23:19:41 +0100 (CET) Date: Tue, 1 Nov 2022 23:19:41 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Gregory Clement Cc: Andrew Lunn , Sebastian Hesselbarth , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marek =?utf-8?B?QmVow7pu?= Subject: Re: [PATCH 0/6] ARM: dts: pci-mvebu: Fix assigned-addresses for every PCIe Root Port Message-ID: <20221101221941.ttrh3zgepqu6v2nn@pali> References: <20220817223053.31141-1-pali@kernel.org> <20221009111529.2eo2mwca3ywfkajy@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221009111529.2eo2mwca3ywfkajy@pali> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-8.2 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 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 ping? On Sunday 09 October 2022 13:15:29 Pali Rohár wrote: > Gregory, ping? > > On Thursday 18 August 2022 00:30:47 Pali Rohár wrote: > > Per IEEE Std 1275-1994 bindings documentation (to which kernel DT > > bindings refers), DT property assigned-addresses contains BDF address > > of resource. Currently more PCIe Root Port nodes have BDF address in > > assigned-addresses which points to different PCIe Root Port nodes. This > > obviously does not make sense as the address resource specified in > > assigned-addresses of every PCIe Root Port describes address range of > > internal registers which are specific for corresponding Marvell PCIe > > Root Port. Fix this issue and align all BDF addresses in > > assigned-addresses DT property to specify correct BDF address of the > > current PCIe Root Port. > > > > Note that current version of pci-mvebu.c controller driver, which > > registers Marvell PCIe Root Ports, ignores BDF value in DT property > > assigned-addresses. It expects that Root Port's assigned-addresses > > contains address range of that root port. That is why driver currently > > works without any issue and nobody spotted it. But if driver or > > something else would do device tree validation then this issue should be > > spotted and throws error. Also device tree files may be used by other > > projects where drivers may require correct values. > > > > This patch series aligns BDF address of every Marvell PCIe Root Port in > > node name, config space in reg property and mem in assigned-address > > property of internal registers resource. > > > > Pali Rohár (6): > > ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port > > ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port > > ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port > > ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port > > ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port > > ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port > > > > arch/arm/boot/dts/armada-370.dtsi | 2 +- > > arch/arm/boot/dts/armada-375.dtsi | 2 +- > > arch/arm/boot/dts/armada-380.dtsi | 4 ++-- > > arch/arm/boot/dts/armada-385.dtsi | 6 +++--- > > arch/arm/boot/dts/armada-39x.dtsi | 6 +++--- > > arch/arm/boot/dts/armada-xp-mv78230.dtsi | 8 ++++---- > > arch/arm/boot/dts/armada-xp-mv78260.dtsi | 16 ++++++++-------- > > arch/arm/boot/dts/dove.dtsi | 2 +- > > 8 files changed, 23 insertions(+), 23 deletions(-) > > > > -- > > 2.20.1 > >