[Intel-gfx] Memory corruption on hibernate/thaw with KMS

Bojan Smojver bojan at rexursive.com
Fri Oct 14 03:39:52 CEST 2011


On Fri, 2011-10-14 at 12:02 +1100, Bojan Smojver wrote:
> Just one more note here.

Forgot - Rafael mentioned that the patch below may help with 64-bit
boxes. So, I'm going to test this next.

---------------------
 arch/x86/mm/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/arch/x86/mm/init.c
===================================================================
--- linux.orig/arch/x86/mm/init.c
+++ linux/arch/x86/mm/init.c
@@ -63,9 +63,9 @@ static void __init find_early_table_spac
 #ifdef CONFIG_X86_32
        /* for fixmap */
        tables += roundup(__end_of_fixed_addresses * sizeof(pte_t), PAGE_SIZE);
+#endif
 
        good_end = max_pfn_mapped << PAGE_SHIFT;
-#endif
 
        base = memblock_find_in_range(start, good_end, tables, PAGE_SIZE);
        if (base == MEMBLOCK_ERROR)
---------------------

-- 
Bojan




More information about the Intel-gfx mailing list