Messages in this thread Patch in this message | | | Subject | remove unnecessary BIOS reserved resources | From | Thayne Harbaugh <> | Date | 17 Oct 2003 11:40:13 -0600 |
| |
e820 BIOS reserved memory ranges can be incorrect. Even when the ranges are correct, once they are entered into iomem_resource with request_resorce() the ranges prevent drivers from registering the same ranges.
Not registering the ranges shouldn't break anything - some BIOSes don't even report _any_ reserved ranges and the kernel works just fine. This patch drops registration of e820 BIOS reserved ranges. The patch should apply to 2.4.x and 2.6.
--- linux-2.4.20/arch/i386/kernel/setup.c 2002-11-28 16:53:09.000000000 -0700 +++ linux-2.4.20-bs/arch/i386/kernel/setup.c 2003-10-17 12:01:12.000000000 -0600 @@ -1047,7 +1047,6 @@ case E820_RAM: res->name = "System RAM"; break; case E820_ACPI: res->name = "ACPI Tables"; break; case E820_NVS: res->name = "ACPI Non-volatile Storage"; break; - default: res->name = "reserved"; } res->start = e820.map[i].addr; res->end = res->start + e820.map[i].size - 1; Anyone have reasons why this shouldn't be applied?
-- Thayne Harbaugh Linux Networx [unhandled content-type:application/pgp-signature] | |