Messages in this thread | | | Date | Mon, 1 Mar 2010 17:31:00 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: 2.6.33-git6 boot failure[x86_64] (WARN: at arch/x86/mm/ioremap.c:111) |
| |
On Mon, 1 Mar 2010, Wu Fengguang wrote: Ah walk_system_ram_range() is actually doing almost the same alignment > check as the removed x86 page_is_ram(), except that it calls func() > with len=0. This happens when page_is_ram(cffa3000) is called. > > walk_system_ram_range(): > pfn = (unsigned long)(res.start >> PAGE_SHIFT); > len = (unsigned long)((res.end + 1 - res.start) >> PAGE_SHIFT); > ret = (*func)(pfn, len, arg); > > The following patch should fix the problem.
Right, that should fix it. Though I wonder whether we should warn prominently about non page aligned e820 mapping entries.
Thanks,
tglx
| |