From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from tyo162.gate.nec.co.jp ([114.179.232.162]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9nx5-0004ly-1U for kexec@lists.infradead.org; Fri, 29 Mar 2019 09:37:32 +0000 From: Junichi Nomura Subject: Re: [PATCH v2] x86/boot: Use EFI setup data if provided Date: Fri, 29 Mar 2019 09:37:00 +0000 Message-ID: References: <20190325231000.GA9184@jeru.linux.bs1.fc.nec.co.jp> <20190326135714.GG1867@zn.tnic> <20190327014852.GA3659@MiWiFi-R3L-srv> <73322ba9-e436-68db-7863-afd31607d969@ce.jp.nec.com> <20190328064343.GA1877@MiWiFi-R3L-srv> <20190328074337.GA9470@jeru.linux.bs1.fc.nec.co.jp> <20190328155256.GP22720@zn.tnic> <0263068e-f2d0-1101-0438-0f570f0b38e7@ce.jp.nec.com> <20190329083920.GA21152@zn.tnic> <20190329090550.GI4234@localhost.localdomain> <20190329091605.GB21152@zn.tnic> In-Reply-To: <20190329091605.GB21152@zn.tnic> Content-Language: ja-JP Content-ID: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Borislav Petkov , Chao Fan Cc: "kasong@redhat.com" , "bhe@redhat.com" , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Dave Young On 3/29/19 6:16 PM, Borislav Petkov wrote: > On Fri, Mar 29, 2019 at 05:05:50PM +0800, Chao Fan wrote: >> But in my code, I am not sure which version will be found firstly, so I >> write this logical, if ACPI20 found, return directly, then consider ACPI 1.0. > > Thanks. > > Junichi, please add a shorter version of that as a comment to the code, > above the function name so that it is clear why we're preferring the 2.0 > version. Sure, I'll add this above __efi_get_rsdp_addr(). /* * Search EFI system tables for RSDP. If both ACPI_20_TABLE_GUID and * ACPI_TABLE_GUID are found, take the former, which has more features. */ -- Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec