aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/mobiveil
diff options
context:
space:
mode:
authorAndrew Murray2019-10-04 14:29:41 +0100
committerLorenzo Pieralisi2020-05-07 09:34:37 +0100
commit2b9f217433e31d125fb697ca7974d3de3ecc3e92 (patch)
treef8a59b000bc2893b961acb42d169e2aefc974aae /drivers/pci/controller/mobiveil
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
PCI: rcar: Fix incorrect programming of OB windows
The outbound windows (PCIEPAUR(x), PCIEPALR(x)) describe a mapping between a CPU address (which is determined by the window number 'x') and a programmed PCI address - Thus allowing the controller to translate CPU accesses into PCI accesses. However the existing code incorrectly writes the CPU address - lets fix this by writing the PCI address instead. For memory transactions, existing DT users describe a 1:1 identity mapping and thus this change should have no effect. However the same isn't true for I/O. Link: https://lore.kernel.org/r/20191004132941.6660-1-andrew.murray@arm.com Fixes: c25da4778803 ("PCI: rcar: Add Renesas R-Car PCIe driver") Tested-by: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Andrew Murray <andrew.murray@arm.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers/pci/controller/mobiveil')
0 files changed, 0 insertions, 0 deletions