Re: [PATCH] powerpc/fsl_pci: Size upper inbound window based on RAM size

2016-08-26 Thread Tillmann Heidsieck
the space below the DMA offset (previously 40 bits), but not the window that starts at the DMA offset. Signed-off-by: Scott Wood <o...@buserror.net> Cc: Tillmann Heidsieck <theidsi...@leenox.de> --- Tested-by: Tillmann Heidsieck <theidsi...@leenox.de>

Re: [RFC PATCH] powerpc: fsl_pci: fix inbound ATMU entries for systems with >4G RAM

2016-08-25 Thread Tillmann Heidsieck
mapping for it". According to the radeon driver it did put one of the rings to this address (viewed from the CPU). Signed-off-by: Tillmann Heidsieck <theidsi...@leenox.de> --- arch/powerpc/sysdev/fsl_pci.c | 40 1 file changed, 20 insertions

[RFC PATCH] powerpc: fsl_pci: fix inbound ATMU entries for systems with >4G RAM

2016-08-24 Thread Tillmann Heidsieck
our by adding the second window starting at 4G. The current implementation still leaves memory beyond 68G unmapped as this would require yet another ATMU entry. Tested on a T4240 with 12G of RAM and an AMD E6760 PCIe card working with the in-tree radeon driver. Signed-off-by: Tillmann Heidsi