SetVirtualAddressMap() on Tiano EFI firmware
Simon Horman
horms at verge.net.au
Sat Oct 4 21:13:00 EDT 2008
On Thu, Oct 02, 2008 at 12:16:03PM -0600, Bjorn Helgaas wrote:
> On Thursday 11 September 2008 02:23:58 pm Bjorn Helgaas wrote:
> > ...
> > The following patch makes kexec-tools work on either old or new
> > firmware. Masking out the top nibble of either a physical address
> > or a virtual address in region 7 results in a physical address.
> >
> > diff --git a/purgatory/arch/ia64/purgatory-ia64.c b/purgatory/arch/ia64/purgatory-ia64.c
> > index b2fe6d4..acacb56 100644
> > --- a/purgatory/arch/ia64/purgatory-ia64.c
> > +++ b/purgatory/arch/ia64/purgatory-ia64.c
> > @@ -147,7 +147,7 @@ setup_arch(void)
> >
> > inline unsigned long PA(unsigned long addr)
> > {
> > - return addr - PAGE_OFFSET;
> > + return addr & 0x0fffffffffffffffLL;
> > }
> >
> > void
> >
>
> I haven't seen any activity on this.
>
> Simon, if nobody objects to it, would you consider the patch above
> for kexec-tools?
Hi Bjorn,
That looks good to me. Could you provided a Signed-off-by line?
--
Simon Horman
VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
More information about the kexec
mailing list