diff options
author | 2025-03-15 15:15:47 -0500 | |
---|---|---|
committer | 2025-03-24 14:58:34 -0500 | |
commit | befc86a0b354285f49b6d0dccd50956e95f437c4 (patch) | |
tree | 669e369a1cdfc9083997655222b8428bb2a90e90 /net/lapb/lapb_timer.c | |
parent | PCI: dwc: ep: Ensure proper iteration over outbound map windows (diff) | |
download | wireguard-linux-befc86a0b354285f49b6d0dccd50956e95f437c4.tar.xz wireguard-linux-befc86a0b354285f49b6d0dccd50956e95f437c4.zip |
PCI: dwc: Use parent_bus_offset to remove need for .cpu_addr_fixup()
We know the parent_bus_offset, either computed from a DT reg property (the
offset is the CPU physical addr - the 'config'/'addr_space' address on the
parent bus) or from a .cpu_addr_fixup() (which may have used a host bridge
window offset).
Apply that parent_bus_offset instead of calling .cpu_addr_fixup() when
programming the ATU.
This assumes all intermediate addresses are at the same offset from the CPU
physical addresses.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20250315201548.858189-13-helgaas@kernel.org
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions