the following patch was just integrated into master: commit c965076c3ecec6ccf8eb0eb1d57d6a0a312dab04 Author: Aaron Durbin adurbin@chromium.org Date: Fri Mar 22 22:03:09 2013 -0500
resources: introduce reserved_ram_resource()
mmio_resource() was previously being used for reserving RAM from the OS by using IORESOURCE_IGNORE_MTRR atrribute. Instead, be more explicit for those uses with reserved_ram_resource(). bad_ram_resource() now calls reserved_ram_resource(). Those resources are marked as cacheable but reserved.
The sandybridge and haswell code were relying on the implementation fo the MTRR algorithm's interaction for reserved regions. Instead be explicit about what ranges are MMIO reserved and what are RAM reserved.
Change-Id: I1e47026970fb37c0305e4d49a12c98b0cdd1abe5 Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/2886 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
Build-Tested: build bot (Jenkins) at Sat Mar 23 07:02:24 2013, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Sat Mar 23 19:40:35 2013, giving +2 See http://review.coreboot.org/2886 for details.
-gerrit