Re: [Intel-gfx] [PATCH] [v2] drm/i915: Paranoia - get zeroed page table pages

2014-03-05 Thread Ben Widawsky
On Wed, Mar 05, 2014 at 06:32:06PM +0200, Imre Deak wrote: > On Thu, 2014-02-27 at 19:47 -0800, Ben Widawsky wrote: > > We normally clear the page tables as one of the first things during > > initialization. They are however wired up (and potentially valid) before > > we clear them. > > I might be

Re: [Intel-gfx] [PATCH] [v2] drm/i915: Paranoia - get zeroed page table pages

2014-03-05 Thread Imre Deak
On Thu, 2014-02-27 at 19:47 -0800, Ben Widawsky wrote: > We normally clear the page tables as one of the first things during > initialization. They are however wired up (and potentially valid) before > we clear them. I might be missing something, but afaics the page directories/tables are not in u

[Intel-gfx] [PATCH] [v2] drm/i915: Paranoia - get zeroed page table pages

2014-02-27 Thread Ben Widawsky
We normally clear the page tables as one of the first things during initialization. They are however wired up (and potentially valid) before we clear them. To prevent the GPU from doing anything we might later regret, simply get zeroed pages, which always mean invalid on all GENs. NOTE: that a si