From: Jesse Barnes Date: Wed, 14 Nov 2012 20:43:31 +0000 (+0000) Subject: x86/Sandy Bridge: reserve pages when integrated graphics is present X-Git-Tag: v3.8-rc4~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9acc5365dbda29f7be2884efb63771dc24bd815;p=pandora-kernel.git x86/Sandy Bridge: reserve pages when integrated graphics is present 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. [ hpa: made a number of stylistic changes, marked arrays as static const, and made less verbose; use "memblock=debug" for full verbosity. ] Signed-off-by: Jesse Barnes Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed