On Wed, Dec 24, 2008 at 3:02 AM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Dec 23, 2008 at 11:56 PM, Carl-Daniel Hailfinger<br>
<<a href="mailto:c-d.hailfinger.devel.2006@gmx.net">c-d.hailfinger.devel.2006@gmx.net</a>> wrote:<br>
<br>
> Ron, this one is rather simple once you see the pitfalls.<br>
> - The MTRR setup functions in stage1 were never active in any target<br>
> because they killed CAR. That's why removing them was OK.<br>
<br>
</div>But we ought to be able to use them after car is disabled, i.e. after<br>
initram is done, right? This is purely an academic question at this<br>
point.</blockquote><div><br>I put early_mtrr_init() into stage1_phase3(), it didn't seem to make any sort of difference in boot speed, but it didn't seem to break anything either.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
> - C7 CAR does not enable any caching yet (neither in stage0 (for easier<br>
> debugging back then and also because of strange failures) nor in stage1)<br>
> unless I'm mistaken.<br>
><br>
<br>
</div>I am glad that things make sense. Now we just need to fix the C7 :-)<font color="#888888"></font></blockquote><div><br>*phew* I was worried that was how v3 was always going to run. As for those times Ron, stage0 takes <1 second, initram is ~5 seconds, and stage2 is a loooong time. Just loading stage2/segment0 is around 30 seconds, but now we know why. I'm hoping you guys can cook up a fix, I've tinkered with that code a bunch of times tonight and all I've done is break stuff.<br>
<br>-Corey <br></div></div><br>