From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 303FCD111BF for ; Mon, 4 Nov 2024 08:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0eDl7nTDHYrLpfTOtxAhIDxo7Jm/MGY+3YDpczmW7gs=; b=Cc7yfZyw/jeAClnNs8UGd+pfs7 AsyJAZdjZqOjDqQ+ou+53ICDh+/dX6pSUmyqlW+alYIn/NpTxwMrzWDNchg/+cdnvSQb94FytJ/II nZz43GKX1CNdy+Bvd+XmxNu9ERWV2TMmo8ney+DgG9iN8ZOPsIe708Ed+6ZnpIoVHqQGT3aqKcuz+ L5N1Hed4cwDxU1pwcHDyu9ctChGbnEhn3vSLdW99qAxsys7Yi4rbJSdZU/4J4O6Mf12UeatRzEeZ8 +JDMrGOdpZsPrAfX7qfJJ48Ij2abjcNY6yNxMRmFO8BqpiysAN8sIwFxaQmIoXgoKNOZmiuuYqscZ inj5wcbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t7seS-0000000D0NU-12GO; Mon, 04 Nov 2024 08:41:32 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t7sbI-0000000Czrt-0xEg for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2024 08:38:19 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2feeb1e8edfso16990111fa.1 for ; Mon, 04 Nov 2024 00:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1730709493; x=1731314293; darn=lists.infradead.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:date:from:from:to :cc:subject:date:message-id:reply-to; bh=0eDl7nTDHYrLpfTOtxAhIDxo7Jm/MGY+3YDpczmW7gs=; b=PvvrDK/8CKtBQXFu4q5iR4bxVfmAx/1EvOoDx7hiO5pqBCpKER+ID48gk9q1OBYMx1 HLhd7HNVKZDPbc0pTvMaOl0aZv52ZrnBiBe79qY/532bx1s1w4nhPT02dsdVTW7M3Ve6 kC4HA4GpFpBobFVW5T0phON+Y66BHuI6CmBGuOIXnnxdxX/N/aDPpAqLAy9oQENoRVE8 7HpvRoyRrUQr87mQlxrgfxKg5OYTbo/pR2vIJwSg43oYTDrsWvh1Ea6rxHRu1ld708Sb de9s3RhTvRdRLcnAwSnXTeFNuIG9kPxmtaRD5HdS4iFYXbxsTPZWb92SnkvxdEP6YZ3p FcPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730709493; x=1731314293; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0eDl7nTDHYrLpfTOtxAhIDxo7Jm/MGY+3YDpczmW7gs=; b=GbvH1DR30PqUYRrAQG3RxnQgEPJ/K5Jx1h5x0tD0qkJPLPN1au7qIwXh+sGPpuE062 8Vs/rH7ZrwsmE4MGWNR9O13OI7TpfB27Ue30Pq6q5P4F3eBKBAuhKjI0Ra1wfKUPDfkt l5F4ntCC9qftLTorKNA0VIBebiy4cBI44UfLru6azM+d4SJtqJmauIS7DPfXpKW76ocb 9Lf7/dHIt4zurc96JFTSj51pDHmraaJKyU+mYeIFFTMi7hRiyqjADkIFxGHKcBuV0aRm nQvMsodKKQ7UUBM0xZAZsU/8U2HZhcZzOErMYB9vKAbC1HgdEy0FePfVBviwz62gu7xN vb9w== X-Forwarded-Encrypted: i=1; AJvYcCWpg1jhJ5Fd0A+POnzlpE+NozvS5zoJ2h+il1XC/7KoRCUQ9dzP939FSRbrd0OsTZ4TAqejiw60SzoY7Ur8NPxs@lists.infradead.org X-Gm-Message-State: AOJu0YzoDErESzfY5QArq4YA9Es6wk8qRG6aBzqofmF5a2JVVQdf8ioX HDuCvU38rlOQ2REwmTIoGNeuG63+Ae6EcPdyLtFqAwGf2j304dknolHIwI8KcG8= X-Google-Smtp-Source: AGHT+IFBeEZRJog8jSvCZbczChA6E0/8cPss+uc4uzyQS1f/pQYOfuO7Wtjy7JqnNnrKVyUSvAin5Q== X-Received: by 2002:a2e:a589:0:b0:2fb:3df8:6a8c with SMTP id 38308e7fff4ca-2fedb7c9c38mr69759771fa.23.1730709493472; Mon, 04 Nov 2024 00:38:13 -0800 (PST) Received: from localhost (host-79-35-211-193.retail.telecomitalia.it. [79.35.211.193]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9e564e9ceasm522722066b.96.2024.11.04.00.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 00:38:13 -0800 (PST) From: Andrea della Porta X-Google-Original-From: Andrea della Porta Date: Mon, 4 Nov 2024 09:38:39 +0100 To: Herve Codina Cc: Andrea della Porta , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Lorenzo Pieralisi , Krzysztof Wilczynski , Manivannan Sadhasivam , Bjorn Helgaas , Linus Walleij , Catalin Marinas , Will Deacon , Bartosz Golaszewski , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Saravana Kannan , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-gpio@vger.kernel.org, Masahiro Yamada , Stefan Wahren , Luca Ceresoli , Thomas Petazzoni , Andrew Lunn Subject: Re: [PATCH v3 05/12] PCI: of_property: Assign PCI instead of CPU bus address to dynamic bridge nodes Message-ID: References: <20241104090623.53f73d75@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241104090623.53f73d75@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241104_003816_435891_A41FE14E X-CRM114-Status: GOOD ( 14.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Herve, On 09:06 Mon 04 Nov , Herve Codina wrote: > Hi Andrea, > > On Mon, 28 Oct 2024 15:07:22 +0100 > Andrea della Porta wrote: > > > When populating "ranges" property for a PCI bridge, of_pci_prop_ranges() > > incorrectly use the CPU bus address of the resource. Since this is a PCI-PCI > > bridge, the window should instead be in PCI address space. Call > > pci_bus_address() on the resource in order to obtain the PCI bus > > address. > > > > Signed-off-by: Andrea della Porta > > Tested ok with my LAN966x PCI device. > > Tested-by: Herve Codina Thanks for testing that! Regards, Andrea > > Best regards, > Hervé