diff options
| author | Sergio Paracuellos <[email protected]> | 2021-09-25 22:32:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-05 12:36:25 +0200 |
| commit | e0b913816ba1ab61fd57a0b14b354271cbe8f000 (patch) | |
| tree | 5d3c57bec410442d6cb29789054feb1b7caefa9b /tools/perf/scripts/python/bin | |
| parent | 9f76779f24183c5d85a9441016d9dad042411e50 (diff) | |
staging: mt7621-pci: properly adjust base address for the IO window
The value to adjust in the bridge register RALINK_PCI_IOBASE must take into
account the raw value from DT, not only the translated linux port number.
As long as io_offset is zero, the two are the same, but if you were to use
multiple host bridge in the system, or pick a different bus address in DT,
you can have a nonzero io_offset. At this means to take into account the
bus address which is used to calculate this offset, substracting it from
the IO resource start address.
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions