reserve 64bit resources on x86_64
PATCH 1/1 reserve 64bit resources on x86_64
Andi,
The hack from the i386 kernel to not reserve 64bit resource regions appears to have made it into x86_64. Since struct resource is 64bit on 64bit architectures this is completely unnecessary, and dangerous if the kernel ever assigns a 64bit BAR.
Eric
arch/x86_64/kernel/e820.c +0 -2
@@ -185,8 +185,6 @@int i;for (i =0 ; i < e820.nr_map; i++) {struct resource *res; -if (e820.map[i].addr + e820.map[i].size >0x100000000ULL ) -continue ; res =alloc_bootmem_low (sizeof (struct resource ));switch (e820.map[i].type) {case E820_RAM : res->name ="System RAM" ;break ;