[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170320021412.GA3793@dhcp-128-65.nay.redhat.com>
Date: Mon, 20 Mar 2017 10:14:12 +0800
From: Dave Young <dyoung@...hat.com>
To: Matt Fleming <matt@...eblueprint.co.uk>
Cc: Omar Sandoval <osandov@...ndov.com>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
kernel-team@...com, kexec@...ts.infradead.org,
linux-efi@...r.kernel.org
Subject: Re: kexec regression since 4.9 caused by efi
On 03/17/17 at 01:32pm, Matt Fleming wrote:
> On Fri, 17 Mar, at 10:09:51AM, Dave Young wrote:
> >
> > Matt, I think it should be fine although I think the md type checking in
> > efi_mem_desc_lookup() is causing confusion and not easy to understand..
>
> Could you make that a separate patch if you think of improvements
> there?
Duplicate the lookup function is indeed a little ugly, will do it when I
have a better idea, we can leave it as is since it works.
>
> > How about move the if chunk early like below because it seems no need
> > to sanity check the addr + size any more if the md is still RUNTIME?
>
> My original version did as you suggest, but I changed it because we
> *really* want to know if someone tries to reserve a range that spans
> regions. That would be totally unexpected and a warning about a
> potential bug/issue.
Matt, I'm fine if you prefer to capture the range checking errors.
Would you like me to post it or just you send it out?
Thanks
Dave
Powered by blists - more mailing lists