[coreboot] [RFC] change the ROM caching for AMD CAR

Marc Jones marcj303 at gmail.com
Fri May 28 20:07:35 CEST 2010


On Sun, May 23, 2010 at 4:05 AM, Stefan Reinauer
<stefan.reinauer at coresystems.de> wrote:
> On 5/23/10 11:38 AM, Rudolf Marek wrote:
>> Hi all,
>>
>> It looks like we can cache now the whole ROM while in CAR (i showed
>> that in the analysis posted earlier, it works too ;)
>>
>> The attached patch does that. Comments?
>>
>> Marc and I thinks we can add some safeguard to check if any L2 data
>> was evicted during CAR to RAM. This is just few instructions to enable
>> the PerfCounter and
>> then  read it in the post_cache_as_ram. I will post this as separate
>> patch.
>>
>>
>> Signed-off-by: Rudolf Marek <r.marek at assembler.cz>
>>
>> I did not test this particular patch however it does work with similar
>> changes already. I take this patch as think for RFC, if it is enough
>> to change it like this.
>>
> Does this fix the slowness of copying coreboot_ram to ram?

I don't expect this to fix the slow lzma decomress. The disable_car
code still changes the MTRR settings. That needs to be sorted as well.

Marc
-- 
http://se-eng.com




More information about the coreboot mailing list