From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 14 Jul 2009 12:49:47 -0400 To: 9fans@9fans.net Message-ID: <7a42f4b097199fba129f9b3067746968@coraid.com> In-Reply-To: <7d3530220907140923s590847dcs2128ca4e33dcc13f@mail.gmail.com> References: <7d3530220907132223o58711065w5a669c7fd0084e53@mail.gmail.com> <1a71e77003b3e1e72f9ae1d4f7a7fb1d@quanstro.net> <7d3530220907140903j55400f88h77301749c5b50f51@mail.gmail.com> <87b1e377877b7285828eab6953685345@coraid.com> <7d3530220907140923s590847dcs2128ca4e33dcc13f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] ugliness in vesa Topicbox-Message-UUID: 204fcb3c-ead5-11e9-9d60-3106f5b1d025 > As I'm reading it, the change to vganvidia.c you posted above > (re-pasted below) does pat stuff. Am I confused? I don't think pat and > mtrr are the same thing... they're not. mtrr operates at the physical address level and it's just a bunch of registers that control caching of a (limited set of) fixed and variable ranges. pat on the other hand, works on page tables (and directories). however the net result is that for pci space (or the vga ap) which is normally UC (or is it UC-), if you use a mtrr range to mark it as WT or pat entries to market it as WT, there is no difference. - erik