From: Thayne Harbaugh <tharbaugh@lnxi.com>
To: linux-kernel@vger.kernel.org
Cc: Eric Biederman <ebiederman@lnxi.com>
Subject: remove unnecessary BIOS reserved resources
Date: 17 Oct 2003 11:40:13 -0600 [thread overview]
Message-ID: <1066412413.6281.12.camel@tubarao> (raw)
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2003-10-17 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1066412413.6281.12.camel@tubarao \
--to=tharbaugh@lnxi.com \
--cc=ebiederman@lnxi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®