<div dir="ltr">Hi Ron<div><br></div><div>I didn't know that and really appreciate all this information.</div><div><span style="line-height:1.5">I'll take a look at what you mentioned</span><br></div><div><br></div><div>Thanks a lot!</div></div><br><div class="gmail_quote"><div dir="ltr">Em ter, 9 de ago de 2016 às 13:45, ron minnich <<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have not read this thread closely and maybe I'm telling you something you know. But I want to warn you about CD. I know it is named 'cache disabled'<div>but that's not quite what it means. </div><div><br></div><div>I'm trying and failing to find the original slide deck from the UNM grad student (and intel employee) who first implemented our cache as ram in 2005. His point to me was that CD doesn't *really* mean cache hardware is disabled, just that it changes cache hardware behavior such that refills from memory are disabled. If there are valid tags in the cache then loads that hit those tags will work. So the task for CAR on x86 is to create valid tags, then set CD. His point was the breakthrough for me on understanding CAR on x86. Ollie Lo and I had been stuck on this point for a while, we kept thinking we could not set CD and have CAR work; in fact, setting CD is part of ensuring CAR works. The Intel employee's point was "you have to read between the lines in section III". </div><div><br></div><div>you can </div><div>git grep DO.NOT.INVALIDATE</div><div>for a few comments on this and it may help.</div><div><br></div><div>Basically, in the classic car we got in 2005, the steps on x86 are:</div><div>enable cache</div><div>do references to set tags</div><div>disable cache (really!)</div><div>then cache as ram works. </div><div><br></div><div>Things have changed on some CPUs since then and we now even have chipset-dependent x86 CAR code but I suspect the basic idea remains the same on x86. </div><div><br></div><div>You may already know this, just wanted to make sure.</div></div><div dir="ltr"><div><br></div><div>ron</div><div class="gmail_quote"></div></div>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>