[PATCH] arch: mach-k3: Fix incorrect mapping of higher DDR addresses as device memory

Tom Rini trini at konsulko.com
Fri Jan 19 17:09:00 CET 2024


On Tue, Jan 09, 2024 at 02:15:51PM +0530, Sekhar Nori wrote:

> Entry for physical address 0x500000000 in memory map table for MMU
> configuration is spilling over and inadvertently making DDR available at
> higher address (above 4GB address space) get mapped as device memory
> (nGnRnE).
> 
> Fix this by adjusting entry size. Tested on AM62A SK. Before this patch:
> 
> => time crc32 0x881000000 0x20000000
> crc32 for 881000000 ... 8a0ffffff ==> 7f34d7ca
> 
> time: 1 minutes, 14.716 seconds
> 
> After patch:
> 
> => time crc32 0x881000000 0x20000000
> crc32 for 881000000 ... 8a0ffffff ==> 7f34d7ca
> 
> time: 2.710 seconds
> 
> Acked-by: Andrew Davis <afd at ti.com>
> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
> Reviewed-by: Nishanth Menon <nm at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240119/d36c1f8b/attachment.sig>


More information about the U-Boot mailing list