Skip to content
Commit 54c18193 authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/fsl: Setup PCI inbound window based on actual amount of memory



Previouslly we just always set the inbound window to 2G.  This was
broken for systems with >2G.  If a system has >=4G we will need
SWIOTLB support to handle that case.

We now allocate PCICSRBAR/PEXCSRBAR right below the lowest PCI outbound
address for MMIO or the 4G boundary (if the lowest PCI address is above
4G).

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 01af9507
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment