<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 12, 2014 at 9:07 AM, Peter Stuge <span dir="ltr"><<a href="mailto:peter@stuge.se" target="_blank">peter@stuge.se</a>></span> wrote:<div>
 </div><div>[on arm]</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why is it helpful or neccessary there?</blockquote><div><br></div><div>It only matters if you like to have a dcache. Do you want a dcache? You must turn on paging.</div>
<div><br></div><div>On PPC, you have no choice, you can't turn off the soft TLBs on the new ones. So, you want PowerPC? </div><div>It requires paging.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
> We will have to have it on x86_64.<br>
<br>
</div>Why is it neccessary there?<br></blockquote><div><br></div><div>It only matters if you want to enter 64-bit mode. Want to enter 64-bit mode? turn on paging.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
- MTRRs sure make for a lot of fuss.<br>
- I wish we could do something simpler.<br>
- Let's turn on paging, that would be simpler!<br></blockquote><div><br></div><div>And, in fact, it is. It's far, far simpler. Just look at our last iteration of MTRR setup.</div><div><br></div><div>For the base identity map on x86-32, it's one page for 4G. For a map which locks out page 0, it's two pages.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm not saying that paging would not be simpler in some ways - I'm<br>
saying that it seems like a big change, introducing codebase-wide<br>
address indirection, for seemingly small gain of avoiding fuss with<br>
MTRRs.<br></blockquote><div><br></div><div>No, there's much more to it than that, as I've explained.</div><div><br></div><div>And, again, we've had virtual addresses forever. That's what segmentation hardware does. We just had a 1:1 mapping.</div>
<div>As we do on ARM today.</div><div><br></div><div>ron</div></div></div></div>