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

Stefan Reinauer stefan.reinauer at coresystems.de
Sun May 23 12:05:31 CEST 2010


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?

Stefan





More information about the coreboot mailing list