From: Khalid Aziz <khalid.aziz@hp.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [RFC] /proc/efi_memmap
Date: Tue, 13 Sep 2005 16:05:03 +0000 [thread overview]
Message-ID: <1126627503.6504.4.camel@minuet.fc.hp.com> (raw)
In-Reply-To: <200509092346.j89NkDdo001318@agluck-lia64.sc.intel.com>
On Sun, 2005-09-11 at 21:34 -0700, Luck, Tony wrote:
> >What does Kexec-people really want ?
> >Excact EFI memory map ? or physical address map with some attributes ?
>
> Not sure what their exact needs are.
The userspace kexec tools looks at the memory map to verify a new kernel
being loaded in memory will be loaded in memory that is normally
available for it. Same goes for initial ramdisk as well. kexec
opens /proc/iomem on x86 for this. I had sent a patch in July (subject
"[PATCH] /proc/iomem update") that provides same info in /proc/iomem as
x86 does and that will take care of kexec needs. I have already tested
kexec tool for ia64 with that patch and it works fine.
--
Khalid
>
> >(exporiting just EFI memmap looks easy but...)
> >I think EFI memory map cannot cooperate with memory hotplug and
> >will be obsolete in future.
> >So more generic "physical memory map" looks good.
>
> Good point. EFI memory map is static, so the information may
> be wrong in a hot-plug memory world.
>
> > > 1) Is /proc/efi_memmap a good name?
> >just rename to memory_map and show efi's for now looks good.
> >
> > > + seq_printf(m, "%4d %16.16lx %16.16lx %lx\n", md->type,
> >md->phys_addr,
> > > + efi_md_end(md), md->attribute);
> >
> >and please define more "generic format".
> >If an interface is fixed, we can change implementation.
>
> If this is a general memory map, rather than EFI map, then
> yes, the EFI type and attributes aren't helpful.
>
> >BTW, EFI memory map doesn't matches kernel's memory view (by
> >GRANULE etc..)
> >It isn't problem for kexec-people ?
>
> I don't see why the new kernel would have the same page and
> granule size. So it may be able to use memory that the old
> kernel couldn't.
>
> -Tony
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-09-13 16:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 23:46 [RFC] /proc/efi_memmap Luck, Tony
2005-09-12 3:29 ` KAMEZAWA Hiroyuki
2005-09-12 4:34 ` Luck, Tony
2005-09-12 15:17 ` Bjorn Helgaas
2005-09-13 16:05 ` Khalid Aziz [this message]
2005-09-13 19:30 ` Luck, Tony
2005-09-13 19:56 ` Grant Grundler
2005-09-13 22:47 ` Khalid Aziz
2005-09-13 22:52 ` Khalid Aziz
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=1126627503.6504.4.camel@minuet.fc.hp.com \
--to=khalid.aziz@hp.com \
--cc=linux-ia64@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.