* enable mem= to mark memory as acpi-reserved
@ 2003-02-20 21:56 Pavel Machek
2003-02-25 0:02 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2003-02-20 21:56 UTC (permalink / raw)
To: Rusty trivial patch monkey Russell, kernel list, torvalds
Hi!
This enables user to mark memory acpi-reserved; this is needed to get
acpi working on PaceBlade tablet (it has broken e820 tables). Second
diff makes printk output better aligned so it is possible to compare
RAM maps by eyes. Please apply,
Pavel
--- linux/arch/i386/kernel/setup.c 2003-02-11 17:50:57.000000000 +0100
+++ linux-tablet/arch/i386/kernel/setup.c 2003-02-20 18:03:03.000000000 +0100
@@ -546,6 +546,9 @@
if (*from == '@') {
start_at = memparse(from+1, &from);
add_memory_region(start_at, mem_size, E820_RAM);
+ } else if (*from == '#') {
+ start_at = memparse(from+1, &from);
+ add_memory_region(start_at, mem_size, E820_ACPI);
} else {
limit_regions(mem_size);
userdef=1;
@@ -576,7 +582,7 @@
*cmdline_p = command_line;
if (userdef) {
printk(KERN_INFO "user-defined physical RAM map:\n");
- print_memory_map("user");
+ print_memory_map("user ");
}
}
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enable mem= to mark memory as acpi-reserved
2003-02-20 21:56 enable mem= to mark memory as acpi-reserved Pavel Machek
@ 2003-02-25 0:02 ` Rusty Russell
2003-02-25 17:41 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2003-02-25 0:02 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list, torvalds, andrew.grover
In message <20030220215638.GA18387@elf.ucw.cz> you write:
> Hi!
>
> This enables user to mark memory acpi-reserved; this is needed to get
> acpi working on PaceBlade tablet (it has broken e820 tables). Second
> diff makes printk output better aligned so it is possible to compare
> RAM maps by eyes. Please apply,
Second is trivial, first isn't. Suggest send to Andrew Grover.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enable mem= to mark memory as acpi-reserved
2003-02-25 0:02 ` Rusty Russell
@ 2003-02-25 17:41 ` Pavel Machek
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2003-02-25 17:41 UTC (permalink / raw)
To: Rusty Russell; +Cc: Pavel Machek, kernel list, torvalds, andrew.grover
Hi!
> > This enables user to mark memory acpi-reserved; this is needed to get
> > acpi working on PaceBlade tablet (it has broken e820 tables). Second
> > diff makes printk output better aligned so it is possible to compare
> > RAM maps by eyes. Please apply,
>
> Second is trivial, first isn't. Suggest send to Andrew Grover.
Does it mean you will care about the second?
Okay, will push the first through Andrew.
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-25 17:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 21:56 enable mem= to mark memory as acpi-reserved Pavel Machek
2003-02-25 0:02 ` Rusty Russell
2003-02-25 17:41 ` Pavel Machek
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®