[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5dba5878-4bc7-e9cd-134d-ce88e8b6a766@ce.jp.nec.com>
Date: Fri, 29 Mar 2019 08:39:45 +0000
From: Junichi Nomura <j-nomura@...jp.nec.com>
To: Chao Fan <fanc.fnst@...fujitsu.com>
CC: Borislav Petkov <bp@...en8.de>, "bhe@...hat.com" <bhe@...hat.com>,
"Dave Young" <dyoung@...hat.com>,
"kasong@...hat.com" <kasong@...hat.com>,
"x86@...nel.org" <x86@...nel.org>,
"kexec@...ts.infradead.org" <kexec@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86/boot: Use efi_setup_data for searching RSDP on
kexec-ed kernel
On 3/29/19 5:29 PM, Chao Fan wrote:
> On Fri, Mar 29, 2019 at 07:20:38AM +0000, Junichi Nomura wrote:
>> + return __efi_get_rsdp_addr(config_tables, nr_tables, efi_64);
>> +#else
>> + return 0;
>> #endif
>> - return rsdp_addr;
>
> I remeber the rsdp_addr is defined before #ifdef CONFIG_EFI
> If so, you don't need
> #else
> return 0;
I moved the whole __efi_get_rsdp_addr() to the inside of #ifdef CONFIG_EFI
and both kexec_get_rsdp_addr() and efi_get_rsdp_addr() just return 0 if
CONFIG_EFI is not defined.
> BY the way, what's your patch based on? I like add patch on my local
> branch and then review code, but failed.
> I try to use 'patch -p1 <' your patch to the latest tip master branch,
> but failed.
The patch is based on Linus's v5.1-rc2.
--
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.
Powered by blists - more mailing lists