Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2544a873 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

revert: "x86: ioremap(), extend check to all RAM pages"



Vegard Nossum reported a large (150 seconds) boot delay during bootup,
and bisected it to "x86: ioremap(), extend check to all RAM pages"
(commit bdd3cee2). Revert this commit for now.

Bisected-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent a4c863f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr,
	/*
	 * Don't allow anybody to remap normal RAM that we're using..
	 */
	for (pfn = phys_addr >> PAGE_SHIFT;
	for (pfn = phys_addr >> PAGE_SHIFT; pfn < max_pfn_mapped &&
		(pfn << PAGE_SHIFT) < last_addr; pfn++) {

		int is_ram = page_is_ram(pfn);