From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Date: Thu, 06 May 2004 13:27:11 +0000 Subject: Re: [2.6.6 PATCH] Exposing EFI memory map Message-Id: <20040506132711.GA2281@parcelfarce.linux.theplanet.co.uk> List-Id: References: <003801c43347$812a1590$39624c0f@india.hp.com> <20040506114414.A14543@infradead.org> <20040506115919.GZ2281@parcelfarce.linux.theplanet.co.uk> <1083845904.3844.2.camel@laptop.fenrus.com> In-Reply-To: <1083845904.3844.2.camel@laptop.fenrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arjan van de Ven Cc: Matthew Wilcox , Christoph Hellwig , Sourav Sen , Matt_Domsch@dell.com, matthew.e.tolentino@intel.com, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org On Thu, May 06, 2004 at 02:18:24PM +0200, Arjan van de Ven wrote: > On Thu, 2004-05-06 at 13:59, Matthew Wilcox wrote: > > On Thu, May 06, 2004 at 11:44:14AM +0100, Christoph Hellwig wrote: > > > On Thu, May 06, 2004 at 02:22:46PM +0530, Sourav Sen wrote: > > > > Hi, > > > > > > > > The following simple patch creates a read-only file > > > > "memmap" under /firmware/efi/ in sysfs > > > > and exposes the efi memory map thru it. > > > > > > doesn't exactly fit into the one value per file approach, does it? > > > > It's not exactly modifiable. > > come on, it's the ideal hotplug memory interface ;) > should we try to unify the memory map exports between architectures > instead of matching the firmware-of-the-day for each architecture ?? Well, firmware-du-jour is what /sys/firmware/... is for ;-) I don't have a clear picture of what a hotplug memory interface would look like; and even if I did, I don't think the EFI memory map is of much help in that matter. -- "Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain