From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [Intel-gfx] [PATCH] x86/Sandy Bridge: reserve pages when integrated graphics is present Date: Wed, 14 Nov 2012 15:11:34 -0800 Message-ID: <20121114151134.2df4d666@jbarnes-desktop> References: <1352925811-2598-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1352925811-2598-1-git-send-email-jbarnes@virtuousgeek.org> Sender: linux-kernel-owner@vger.kernel.org To: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 14 Nov 2012 20:43:31 +0000 Jesse Barnes wrote: > SNB graphics devices have a bug that prevent them from accessing certain > memory ranges, namely anything below 1M and in the pages listed in the > table. So reserve those at boot if set detect a SNB gfx device on the > CPU to avoid GPU hangs. > > Stephane Marchesin had a similar patch to the page allocator awhile > back, but rather than reserving pages up front, it leaked them at > allocation time. So if people are seeing seemingly random hangs with SNB, please give this patch a try. These issues aren't easy to hit, and they're frustratingly hard to debug, but with some long runtime maybe it'll give people some confidence. -- Jesse Barnes, Intel Open Source Technology Center