[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081113090421.763f7df3@hale.suse.de>
Date: Thu, 13 Nov 2008 09:04:21 +0100
From: Bernhard Walle <bwalle@...e.de>
To: "H. Peter Anvin" <hpa@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
kexec@...ts.infradead.org
Subject: Re: [PATCH] Always use 64 bit addresses for the firmware memory map
* H. Peter Anvin [2008-11-12 15:35]:
>
> Bernhard Walle wrote:
> > * H. Peter Anvin [2008-11-12 11:59]:
> >> I want to make sure, though, that we don't just end up pushing the
> >> truncation further down in the code.
> >
> > Well, I think that interface should export the BIOS memmap as provided.
> > Since E820 does provide 64 bit addresses, that should get exported.
> >
> > It should even possible to kexec a PAE kernel from a non PAE kernel ...
> > I didn't test, but it could work. But only if the E820 map is correctly
> > written in the zero page, which is only the case if we get it correctly.
>
> That's fine, but we do have to check that we don't truncate elsewhere.
What do you mean? That my patch doesn't fix all problems that might
exist but are not yet fixed or that my patch introduces new problems?
Well, for example in the resource reservation code [e820.c,
e820_reserve_resource()] that is handled at line 1285:
if (end != (resource_size_t)end) {
res++;
continue;
}
My patch only changes the firmware interface, not the architecture
specific code. However, I cannot guarantee that it doesn't break
something, but what action do you expect from me that the patch is
taken?
Regards,
Bernhard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists