[PATCH] riscv: dts: fu740: fix size of pcie 32bit memory
Ben Dooks
ben.dooks at codethink.co.uk
Mon Jan 9 00:02:12 PST 2023
On 07/01/2023 19:37, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley at microchip.com>
>
> On Fri, 06 Jan 2023 13:44:56 +0000, 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.
>>
>> [...]
>
> Applied to riscv-dt-fixes, thanks!
>
> [1/1] riscv: dts: fu740: fix size of pcie 32bit memory
> https://git.kernel.org/conor/c/43d5f5d63699724d47f0d9e0eae516a260d232b4
>
> I checked the numbers and they look correct per the v1p2 doc.
> I added a T-b from IRC for Ron, added the cc: stable and fixed the
> fixes tag while I was at it.
>
> Thanks,
> Conor.
Ok, great. I'll ping the fu-sdk people as well as this is probably
useful for the next release.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
More information about the linux-riscv
mailing list