
27 May
2010
27 May
'10
10:11 p.m.
Wolfgang Denk wrote:
Ah, that's a serious limitation.
No, it is not. Testing is done per bank.
Ok, I get it now. I'm supposed to call get_ram_size() on each DIMM I locate. That's going to be complicated because we don't have any TLBs set up when we do that.
And what if we have a 4GB DIMM? Because virtual addresses are still 32-bits, we would need to change get_ram_size() to modify a temporary TLB while it's reading/writing memory. So we'd need to have an e300 version of get_ram_size(), an e500 version, an e600 version, and so on.
So I have a question: are you still going to require me to use get_ram_size() in my P1022DS board patch?
--
Timur Tabi
Linux kernel developer at Freescale