the following patch was just integrated into master: commit 05efa9e58f2488fa611257c6296d10f20d06bca0 Author: Aaron Durbin adurbin@chromium.org Date: Sat Feb 8 15:41:52 2014 -0600
mtrr: only add prefetchable resources as WRCOMB for VGA devices
Be more conservative and only add VGA devices' prefetchable resources as write-combining in the address space. Previously all prefetchable memory was added as a write-combining memory type. Some hardware incorrectly advertises its BAR as prefetchable when it shouldn't be.
A new memranges_add_resources_filter() function is added to provide additional filtering on device and resource.
Change-Id: I3fc55b90d8c5b694c5aa9e2f34db1b4ef845ce10 Signed-off-by: Aaron Durbin adurbin@chromium.org
See http://review.coreboot.org/5169 for details.
-gerrit