[PATCH] riscv: dts: fu740: fix size of pcie 32bit memory

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Fri Jan 6 06:07:56 PST 2023


On 06/01/2023 14:44, Ben Dooks wrote:
> The 32-bit memory resource is needed for non-prefetchable memory
> allocations on the PCIe bus, however with some cards (such as the
> SM768) the system fails to allocate memory from this.
> 
> Checking the allocation against the datasheet, it looks like there
> has been a mis-calcualation of the resource for the first memory
> region (0x0060090000..0x0070ffffff) which in the data-sheet for
> the fu740 (v1p2) is from 0x0060000000..0x007fffffff. Changing
> this to allocate from 0x0060090000..0x007fffffff fixes the probing
> issues.
> 
> Fixes: ae80d514808557018e44190 ("riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC
> ")

Don't wrap lines.

> 

Drop empty line between tags.

> Cc: Paul Walmsley <paul.walmsley at sifive.com>
> Cc: Greentime Hu <greentime.hu at sifive.com>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
> ---

Best regards,
Krzysztof




More information about the linux-riscv mailing list