diff options
author | Rob Herring <[email protected]> | 2020-10-23 09:52:52 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-11-04 13:55:30 -0600 |
commit | 832ea234277a2465ec6602fa6a4db5cd9ee87ae3 (patch) | |
tree | b3a0bafdc0d6b2798973d16d22b92dc4abb1fe29 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9fff3256f93da6eb2b806eeaec8c1dc6e9a87194 (diff) |
PCI: mvebu: Fix duplicate resource requests
With commit 669cbc708122 ("PCI: Move DT resource setup into
devm_pci_alloc_host_bridge()"), the DT 'ranges' is parsed and populated
into resources when the host bridge is allocated. The resources are
requested as well, but that happens a second time for the mvebu driver in
mvebu_pcie_parse_request_resources(). We should only be requesting the
additional resources added in mvebu_pcie_parse_request_resources(). These
are not added by default because they use custom properties rather than
standard DT address translation.
Also, the bus ranges was also populated by default, so we can remove it
from mvebu_pci_host_probe().
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=209729
Fixes: 669cbc708122 ("PCI: Move DT resource setup into devm_pci_alloc_host_bridge()")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Tested-by: Jan Kundrát <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Lorenzo Pieralisi <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions