diff options
author | Richard Zhu <hongxing.zhu@nxp.com> | 2025-02-26 10:42:56 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-03-15 13:12:00 -0500 |
commit | 81d1d214e171c9c4b283f9aeb9a97c4a88d0fcf6 (patch) | |
tree | 251b53bd5aff4ea8f5bd832ba0d78508c240f3df /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
PCI: imx6: Identify controller via 'linux,pci-domain', not address
Instead of testing the controller register address to distinguish
controller 1 from controller 0 on i.MX8MQ platforms, use the PCI domain
number, which comes from the devicetree 'linux,pci-domain' property.
All relevant devicetrees should already supply 'linux,pci-domain', which
was added by c0b70f05c87f ("arm64: dts: imx8mq: use_dt_domains for pci
node").
Instead of being set directly in imx_pcie_probe(), pci->dbi_base will be
set by the DWC core in dw_pcie_get_resources().
No functional changes intended.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250226024256.1678103-3-hongxing.zhu@nxp.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions