public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* x86: Add /sys/firmware/memmap
@ 2008-06-25 19:57 Bernhard Walle
  2008-06-25 19:57 ` [PATCH 1/2] " Bernhard Walle
  2008-06-25 19:57 ` [PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820 Bernhard Walle
  0 siblings, 2 replies; 24+ messages in thread
From: Bernhard Walle @ 2008-06-25 19:57 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, vgoyal, kexec, yhlu.kernel, Bernhard Walle

This patch series adds a new interface /sys/firmware/memmap
to export the BIOS (Firmware) provided memory map via sysfs
for usage with kexec.

While the first patch adds the generic interface, the second
patch implements that interface for E820 on x86. EFI is on the TODO
list, and other architectures can be added later.

This patch is RFC. It has been tested on x86-64 and i386 and
replaces my previous attemt that adds such an interface via
procfs.


Signed-off-by: Bernhard Walle <bwalle@suse.de>



^ permalink raw reply	[flat|nested] 24+ messages in thread
* x86: Add /sys/firmware/memmap
@ 2008-06-26  8:14 Bernhard Walle
  2008-06-26  8:14 ` [PATCH 1/2] " Bernhard Walle
  0 siblings, 1 reply; 24+ messages in thread
From: Bernhard Walle @ 2008-06-26  8:14 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, kexec, yhlu.kernel, vgoyal, Bernhard Walle

This patch series adds a new interface /sys/firmware/memmap
to export the BIOS (Firmware) provided memory map via sysfs
for usage with kexec.

While the first patch adds the generic interface, the second
patch implements that interface for E820 on x86. EFI is on the TODO
list, and other architectures can be added later.


Signed-off-by: Bernhard Walle <bwalle@suse.de>




^ permalink raw reply	[flat|nested] 24+ messages in thread
* x86: Add /sys/firmware/memmap
@ 2008-06-26 20:19 Bernhard Walle
  2008-06-26 20:19 ` [PATCH 1/2] " Bernhard Walle
  0 siblings, 1 reply; 24+ messages in thread
From: Bernhard Walle @ 2008-06-26 20:19 UTC (permalink / raw)
  To: x86; +Cc: kexec, linux-kernel, vgoyal, yhlu.kernel, gregkh, Bernhard Walle

This patch series adds a new interface /sys/firmware/memmap to export
the BIOS (Firmware) provided memory map via sysfs for usage with
kexec.

While the first patch adds the generic interface, the second patch
implements that interface for E820 on x86.

Change compared to previous commit:

 1. Added Greg KH to Cc as suggested by H. Peter Anvin to review sysfs
    structure.
 
 2. Display the configuration option only if CONFIG_EMBEDDED is set.
    If not, default to including the code in any case as it is not only
    useful for kexec.

Please review!


Signed-off-by: Bernhard Walle <bwalle@suse.de>




^ permalink raw reply	[flat|nested] 24+ messages in thread
* x86: Add /sys/firmware/memmap
@ 2008-06-27 11:12 Bernhard Walle
  2008-06-27 11:12 ` [PATCH 1/2] " Bernhard Walle
  0 siblings, 1 reply; 24+ messages in thread
From: Bernhard Walle @ 2008-06-27 11:12 UTC (permalink / raw)
  To: x86; +Cc: gregkh, kexec, yhlu.kernel, vgoyal, linux-kernel

This patch series adds a new interface /sys/firmware/memmap to export
the BIOS (Firmware) provided memory map via sysfs for usage with
kexec.

While the first patch adds the generic interface, the second patch
implements that interface for E820 on x86.

Change compared to previous commit:

 1. Comments from Greg KH.
 2. Documentation.

The patch has been tested on i386 and x86_64 with success.



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2008-07-12  0:36 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 19:57 x86: Add /sys/firmware/memmap Bernhard Walle
2008-06-25 19:57 ` [PATCH 1/2] " Bernhard Walle
2008-06-25 22:43   ` Vivek Goyal
2008-06-26  8:13     ` Mikael Pettersson
2008-06-26  8:45       ` Bernhard Walle
2008-06-26  9:11         ` Mikael Pettersson
2008-06-26 18:00           ` H. Peter Anvin
2008-06-26 18:18             ` Vivek Goyal
2008-06-26 19:18               ` H. Peter Anvin
2008-06-26 18:23             ` Bernhard Walle
2008-06-26 12:42       ` Vivek Goyal
2008-06-26  8:15     ` Bernhard Walle
2008-06-25 19:57 ` [PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820 Bernhard Walle
  -- strict thread matches above, loose matches on Subject: below --
2008-06-26  8:14 x86: Add /sys/firmware/memmap Bernhard Walle
2008-06-26  8:14 ` [PATCH 1/2] " Bernhard Walle
2008-06-26 20:19 x86: " Bernhard Walle
2008-06-26 20:19 ` [PATCH 1/2] " Bernhard Walle
2008-06-26 20:45   ` Vivek Goyal
2008-06-26 22:24   ` Greg KH
2008-06-27 11:08     ` Bernhard Walle
2008-06-27 11:12 x86: " Bernhard Walle
2008-06-27 11:12 ` [PATCH 1/2] " Bernhard Walle
2008-06-27 18:51   ` Dave Hansen
2008-06-27 20:56   ` Greg KH
2008-07-01 20:30     ` Bernhard Walle
2008-07-01 20:33       ` Ingo Molnar
2008-07-12  0:36   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox