Re: Introduce userspace interface for Firmware-provided memory map

From: Bernhard Walle
Date: Sun Jun 22 2008 - 16:00:09 EST


Hi,

* "H. Peter Anvin" <hpa@xxxxxxxxxx> [2008-06-20 13:35]:
>
> Vivek Goyal wrote:
> > On Fri, Jun 20, 2008 at 05:56:57PM +0200, Bernhard Walle wrote:
> >> This patch (as request for comments) introduces a new userspace interface
> >> /proc/firmware_mem that provides the unfiltered view of the BIOS on
> >> memory configuration. That's usable for two reasons:
> >
> > How about /proc/firmware_memmap. This is little longish but probably more
> > clear in intent.
>
> Perhaps even /proc/firmware/memmap (or /sys/firmware/memmap/...). I
> realize introducing a new directory is annoying, but it's a namespace
> that is likely to have other users.

Since /sys/firmware is already used by ACPI and EDD, I think that's
quite a good idea! Maybe we should also export the raw E820 or EFI
memory map there. Just like EDD.

I'll send a new patch.




Bernhard
--
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/