Re: [PATCH v2 0/2] common/memsize.c: Fix get_ram_size() when cache is enabled

2023-06-22 Thread Tom Rini
On Tue, 30 May 2023 15:33:25 +0200, Francesco Dolcini wrote: > From: Francesco Dolcini > > Ensure that every write is flushed to memory and afterward reads are > from memory. > Since the algorithm rely on the fact that accessing to not existent > memory lead to write at addr / 2 without this mod

[PATCH v2 0/2] common/memsize.c: Fix get_ram_size() when cache is enabled

2023-05-30 Thread Francesco Dolcini
From: Francesco Dolcini Ensure that every write is flushed to memory and afterward reads are from memory. Since the algorithm rely on the fact that accessing to not existent memory lead to write at addr / 2 without this modification accesses to aliased (not physically present) addresses are cache