Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp205764lqg; Wed, 10 Apr 2024 23:13:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhReLdOK5aQcnHJ+JjKc/jcZpGmjyQEo4fet9D+EPuwU8Mbk3vWTnbciJFiVguoznmx0Oqs1O5ioeTJ7Bo2M4CsZPcVxYxXBkcM4Fdjw== X-Google-Smtp-Source: AGHT+IFlHj5Nuzw3C/6wNEskW1N1kLHzu7a/vMQn1IGrLWS2HD4HNPaP3rlqMsOJKJIsHkHINvR+ X-Received: by 2002:a05:6512:4dd:b0:515:90e5:4555 with SMTP id w29-20020a05651204dd00b0051590e54555mr2648737lfq.16.1712816027920; Wed, 10 Apr 2024 23:13:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712816027; cv=pass; d=google.com; s=arc-20160816; b=xfa+yVc4Pu9vURP30VymgQ27uiMmHXdP5vEiRI0RccIo+le/2x6XiDnfrXGvnqzAWE sRQJ5znLy5EZVAWVJYRbH6A1xjdWFMbxGnSptlZQj2MyVWpdSy0egPtXlLaUb8gsAuop UC2lr/b1k9bPExVcHIB1+yx7TkuTzkRjphDap5l7mG0cO0xAvTUzMks03X86GJBsTtsF XlnMQnyLah7Fzp6zCmgVfxrtsBE1YTEtQAYzlDQG5d6pJQQ6XKU0vD74IYOOxqAm+VZx a4hFF+FrlGkZr7DeDZG2/wxfGKsbDwrrLGAqf9t3gaWuWpsIIzzETXBnGGIGtzcFS1L6 i8KA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ArMDdUgx3nEyeI5+WTPv4nMAolK1oVSYh2kLBkinyQs=; fh=fQLxpE74GK7hVIz/8BNsMFQ8JXfiIN4yc9VLc2Gs6Ic=; b=hLIgz+F9xKX7l8A6URVOV3Fn2gKJHPTEI9RCER7T0ESOSI48QS07i7JCJm3zeaWr7X p5lj2nQODCW3cBLIPk1hSsKfJFFwhGLia2OOQ8aqpoZHtRp9TF+ncteqEidvCmPmn1lH lqXz/eLhRSNEHuuFBEJJukm6y/1C2FeEM8C2gGnc8P2xRHlnZyAJOPOM/5egwvUtCIlj MT2bseHucMbR2cPcgaOz0ZH4AK4Mc5PMWmIOnQKlZ3D/yKBktAD1QU96cdyIFchh7eo7 R7Ci+v0XJXjgg+h91mJTg9SE8K8A/sajwjC+n75xXcSamt5URlNiR+kUv+NyboD6LeOy CWOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XwxgQBFr; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-139820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s25-20020a508d19000000b0056c2aa20a43si437877eds.123.2024.04.10.23.13.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 23:13:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XwxgQBFr; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-139820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 787761F25253 for ; Thu, 11 Apr 2024 06:13:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45CFB13CAAB; Thu, 11 Apr 2024 06:13:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XwxgQBFr" Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CCC713C9DC; Thu, 11 Apr 2024 06:13:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712816014; cv=none; b=HYwkSO3UUJs3DJe01J9jsHRcCCQYi7kee2Zfex1nN9NQzmTMKGkR8mS4uM3CPQJLuWJ2LQzWBu6zPX5oqd8trn4yeuvqN922MNLk8H/zeZWY8BueYJJTU84rOxRUsXkVXK4ejzut4UTRcXd+v/udcSVseVHEp2bFtMsRmvtsa+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712816014; c=relaxed/simple; bh=oNsmX1xMgspzOb63oBwoH1VM5OfdEoNMEJ10/xs4GaA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ADB2SyyDCW1kfi9bK5y0H2LMk0TToWq0S8kIPwYgzZnNIxptr7gJ33BOWp7I5U16NUNcL8pEgwwzC5Fblam5/JRwG1L4t27lzirca6FNAqlwBi3zTirryZCDkJcCzbJlQrrWUu+VR9zL1QCfE2VeIOxgsktG7ICuScwkOP3Vs1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XwxgQBFr; arc=none smtp.client-ip=209.85.160.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-23335730db1so500711fac.2; Wed, 10 Apr 2024 23:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712816011; x=1713420811; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ArMDdUgx3nEyeI5+WTPv4nMAolK1oVSYh2kLBkinyQs=; b=XwxgQBFrQ6ZH13Mf53TmQruW3NoYw+O7ty2ay5FuoDrAQ4kb+tAHmuDJcTZjXFcGuX Sk0FvyR+f7rNKiUFItUVwJRjvmHSyl60lBIHmMWiUtk7H4/OuFgRBm2RtW0aTsYJTwYB XD0wSlVhsDdgEiqIU/72II8lqDxE+w0GDA6r3+23JiFN1ccLW8itcEn2TnsTqNPLjFq4 22bAi3Rnhh69eTaGvighiqexH9dHgxqKTnTSARXsPuOlftcR0ymh4SrKoa/7y05xBL+V k4tAaD0l/WJekGRjKZ79rTbu3E1xO0LjLc/extq8PpoIKAKRRaF8oArw8dE7zvMOKVyy bcxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712816011; x=1713420811; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ArMDdUgx3nEyeI5+WTPv4nMAolK1oVSYh2kLBkinyQs=; b=TH+r3B5WOlBwbxiFKS6OX/2KITU+imP4slTVRfu7IzGig1fVcnUZYU4ouWPZv7G1z4 gECp0PG/8wu9OivxWWz+bJLq7D3KzFaM8hU0wne20/MKVco8R1ix486xTSQ8xqmOu3tU 7z7dn3WRZGKbbDCZpGL6781DqGAWVYwn+TXrXNVVFOVfhnXeKrN79xhtHqXgTI2LeGBP UIB25xAigqqpftimt6I+bMaOor5sOsiVp/ZDxXmmdfS+Gi+Hnaz4aNubpa1pGL2Po8uV wcDkVRq0lv9eCblQFMmSrdqcEPGcen5/S9e3K42PiJA0frtpYB3Dh3wlBg7ePk6gEBSd u6Qw== X-Forwarded-Encrypted: i=1; AJvYcCVVIZsDwrDrIak7+0wirSAujCfASZZB0DtRPqVjDAL0bhj5mgF2Tf9HArTbRBMnmUI8WJbwzhop/2/6cmFIuqxaqd8SWFBrr1TmmzKlGUb2lXMNuruRaP6VDslylsirBZMBQbPzJRg+ywgPYZPlIwJujiSpPJ/T5CiUsy7fFpTYYFM3B+KklfFVhJwpliOQC5JDcv9HvAHxPEV+Rk8iZ6Mf1wB420ja7vkmjuDWn6STHQ7RrRek0LM1F3Jyg0925+DskaQMpw== X-Gm-Message-State: AOJu0Yz4a+1dLioCLsp+eY7uRhWOQ3gA1PsqALWQXcyQG9cSiZqktSb4 1NeO80Asq3XqI+J3uLk/9a+AAa1jerSw3sJ4sRB3rrRQxvceO9/YsaTLVrT/sYJTwwZ6Et1s9G6 emhlKJp+aF/3Mv/8LAouL9TEfcko= X-Received: by 2002:a05:6870:204e:b0:22e:ce2e:4506 with SMTP id l14-20020a056870204e00b0022ece2e4506mr4862394oad.37.1712816011117; Wed, 10 Apr 2024 23:13:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240410212638.GA2159326@bhelgaas> <458ce909-0616-487d-b4bd-42b58d059198@linaro.org> In-Reply-To: <458ce909-0616-487d-b4bd-42b58d059198@linaro.org> From: Sergio Paracuellos Date: Thu, 11 Apr 2024 08:13:18 +0200 Message-ID: Subject: Re: [PATCH v2 2/4] dt-bindings: PCI: mediatek,mt7621: add missing child node reg To: Krzysztof Kozlowski Cc: Bjorn Helgaas , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hector Martin , Sven Peter , Alyssa Rosenzweig , Ray Jui , Scott Branden , Broadcom internal kernel review list , Florian Fainelli , Jim Quinlan , Nicolas Saenz Julienne , Will Deacon , Linus Walleij , Srikanth Thokala , Ryder Lee , Jianjun Wang , Matthias Brugger , AngeloGioacchino Del Regno , Daire McNamara , Bjorn Andersson , Konrad Dybcio , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Jingoo Han , Gustavo Pimentel , Manivannan Sadhasivam , Bharat Kumar Gogada , Michal Simek , Geert Uytterhoeven , Magnus Damm , Neil Armstrong , Mark Kettenis , Tom Joseph , Ahmad Zainie , Jiaxun Yang , Kishon Vijay Abraham I , Thippeswamy Havalige , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, Apr 11, 2024 at 8:01=E2=80=AFAM Krzysztof Kozlowski wrote: > > On 10/04/2024 23:26, Bjorn Helgaas wrote: > > On Wed, Apr 10, 2024 at 08:15:19PM +0200, Krzysztof Kozlowski wrote: > >> MT7621 PCI host bridge has children which apparently are also PCI host > >> bridges, at least that's what the binding suggest. > > > > What does it even mean for a PCI host bridge to have a child that is > > also a PCI host bridge? > > > > Does this mean a driver binds to the "parent" host bridge, enumerates > > the PCI devices below it, and finds a "child" host bridge? Yes, that is exactly what you can see on enumeration. The following is a typical boot trace where all bridges has a device also b= elow: [ 20.927280] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges: [ 20.940675] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff] [ 20.958228] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0060000000 [ 20.974566] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000 [ 21.369711] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 21.379316] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 21.389140] mt7621-pci 1e140000.pcie: PCIE2 enabled [ 21.399014] PCI coherence region base: 0x60000000, mask/settings: 0xf000= 0002 [ 21.413343] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 21.425952] pci_bus 0000:00: root bus resource [bus 00-ff] [ 21.437023] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6ffffff= f] [ 21.450657] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 21.462960] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 21.474832] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 21.487255] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 21.499807] pci 0000:00:00.0: supports D1 [ 21.507625] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 21.519923] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 21.531827] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 21.544225] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 21.556773] pci 0000:00:01.0: supports D1 [ 21.564621] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 21.576823] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400 [ 21.588726] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 21.601128] pci 0000:00:02.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 21.613668] pci 0000:00:02.0: supports D1 [ 21.621520] pci 0000:00:02.0: PME# supported from D0 D1 D3hot [ 21.634850] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 21.650699] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 21.666571] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 21.682825] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185 [ 21.694707] pci 0000:01:00.0: reg 0x10: [io 0x0000-0x0007] [ 21.705725] pci 0000:01:00.0: reg 0x14: [io 0x0000-0x0003] [ 21.716789] pci 0000:01:00.0: reg 0x18: [io 0x0000-0x0007] [ 21.727843] pci 0000:01:00.0: reg 0x1c: [io 0x0000-0x0003] [ 21.738907] pci 0000:01:00.0: reg 0x20: [io 0x0000-0x000f] [ 21.749979] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff] [ 21.762568] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 21.819657] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 21.829966] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 21.842054] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff= ] [ 21.855532] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref] [ 21.869874] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 21.883352] pci 0000:02:00.0: [1b21:0611] type 00 class 0x010185 [ 21.895230] pci 0000:02:00.0: reg 0x10: [io 0x0000-0x0007] [ 21.906256] pci 0000:02:00.0: reg 0x14: [io 0x0000-0x0003] [ 21.917309] pci 0000:02:00.0: reg 0x18: [io 0x0000-0x0007] [ 21.928373] pci 0000:02:00.0: reg 0x1c: [io 0x0000-0x0003] [ 21.939428] pci 0000:02:00.0: reg 0x20: [io 0x0000-0x000f] [ 21.950500] pci 0000:02:00.0: reg 0x24: [mem 0x00000000-0x000001ff] [ 21.963094] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 22.029662] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 22.039993] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 22.052063] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff= ] [ 22.065538] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref] [ 22.079886] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 22.093352] pci 0000:03:00.0: [1b21:0611] type 00 class 0x010185 [ 22.105233] pci 0000:03:00.0: reg 0x10: [io 0x0000-0x0007] [ 22.116249] pci 0000:03:00.0: reg 0x14: [io 0x0000-0x0003] [ 22.127313] pci 0000:03:00.0: reg 0x18: [io 0x0000-0x0007] [ 22.138367] pci 0000:03:00.0: reg 0x1c: [io 0x0000-0x0003] [ 22.149451] pci 0000:03:00.0: reg 0x20: [io 0x0000-0x000f] [ 22.160503] pci 0000:03:00.0: reg 0x24: [mem 0x00000000-0x000001ff] [ 22.173091] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 22.239653] pci 0000:00:02.0: PCI bridge to [bus 03-ff] [ 22.249973] pci 0000:00:02.0: bridge window [io 0x0000-0x0fff] [ 22.262045] pci 0000:00:02.0: bridge window [mem 0x00000000-0x000fffff= ] [ 22.275524] pci 0000:00:02.0: bridge window [mem 0x00000000-0x000fffff pref] [ 22.289870] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03 [ 22.303080] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 22.316129] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x800000= 00] [ 22.329956] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 22.343081] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x800000= 00] [ 22.356912] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000] [ 22.370053] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x800000= 00] [ 22.383870] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff= ] [ 22.397349] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 22.411692] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff= ] [ 22.425165] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 22.439522] pci 0000:00:02.0: BAR 8: assigned [mem 0x60400000-0x604fffff= ] [ 22.452991] pci 0000:00:02.0: BAR 9: assigned [mem 0x60500000-0x605fffff pref] [ 22.467328] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff= ] [ 22.480814] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff= ] [ 22.494303] pci 0000:00:02.0: BAR 1: assigned [mem 0x60620000-0x6062ffff= ] [ 22.507766] pci 0000:00:00.0: BAR 7: assigned [io 0x0000-0x0fff] [ 22.519861] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff] [ 22.531960] pci 0000:00:02.0: BAR 7: assigned [io 0x2000-0x2fff] [ 22.544068] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff= ] [ 22.557548] pci 0000:01:00.0: BAR 4: assigned [io 0x0000-0x000f] [ 22.569635] pci 0000:01:00.0: BAR 0: assigned [io 0x0010-0x0017] [ 22.581726] pci 0000:01:00.0: BAR 2: assigned [io 0x0018-0x001f] [ 22.593827] pci 0000:01:00.0: BAR 1: assigned [io 0x0020-0x0023] [ 22.605917] pci 0000:01:00.0: BAR 3: assigned [io 0x0024-0x0027] [ 22.618030] pci 0000:00:00.0: PCI bridge to [bus 01] [ 22.627859] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 22.639956] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff= ] [ 22.653437] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 22.667785] pci 0000:02:00.0: BAR 5: assigned [mem 0x60200000-0x602001ff= ] [ 22.681268] pci 0000:02:00.0: BAR 4: assigned [io 0x1000-0x100f] [ 22.693359] pci 0000:02:00.0: BAR 0: assigned [io 0x1010-0x1017] [ 22.705450] pci 0000:02:00.0: BAR 2: assigned [io 0x1018-0x101f] [ 22.717552] pci 0000:02:00.0: BAR 1: assigned [io 0x1020-0x1023] [ 22.729654] pci 0000:02:00.0: BAR 3: assigned [io 0x1024-0x1027] [ 22.741746] pci 0000:00:01.0: PCI bridge to [bus 02] [ 22.751587] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff] [ 22.763678] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff= ] [ 22.777161] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 22.791515] pci 0000:03:00.0: BAR 5: assigned [mem 0x60400000-0x604001ff= ] [ 22.804991] pci 0000:03:00.0: BAR 4: assigned [io 0x2000-0x200f] [ 22.817084] pci 0000:03:00.0: BAR 0: assigned [io 0x2010-0x2017] [ 22.829175] pci 0000:03:00.0: BAR 2: assigned [io 0x2018-0x201f] [ 22.841274] pci 0000:03:00.0: BAR 1: assigned [io 0x2020-0x2023] [ 22.853379] pci 0000:03:00.0: BAR 3: assigned [io 0x2024-0x2027] [ 22.865472] pci 0000:00:02.0: PCI bridge to [bus 03] [ 22.875312] pci 0000:00:02.0: bridge window [io 0x2000-0x2fff] [ 22.887403] pci 0000:00:02.0: bridge window [mem 0x60400000-0x604fffff= ] > > I think the question should be towards Mediatek folks. I don't know what > this hardware is exactly, just looks like pci-pci-bridge. The driver > calls the children host bridges as "ports". You can see the topology here in my first driver submit cover letter message [0]. Thanks, Sergio Paracuellos [0]: https://lore.kernel.org/all/CAMhs-H-BA+KzEwuDPzcmrDPdgJBFA2XdYTBvT4R4= MEOUB=3DWQ1g@mail.gmail.com/t/ > > Best regards, > Krzysztof >