From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.cn.fujitsu.com ([183.91.158.132] helo=heian.cn.fujitsu.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGhrB-0006Ur-EH for kexec@lists.infradead.org; Wed, 17 Apr 2019 10:31:58 +0000 Date: Wed, 17 Apr 2019 18:31:40 +0800 From: Chao Fan Subject: Re: [PATCH v4] x86/boot: Use efi_setup_data for searching RSDP on kexec-ed kernel Message-ID: <20190417103140.GB388@localhost.localdomain> References: <20190412084956.GC19808@zn.tnic> <20190412133528.GD19808@zn.tnic> <20190415090717.GA29317@zn.tnic> <20190415102525.GB29317@zn.tnic> <23309b73-d135-a207-564b-6003cee39184@ce.jp.nec.com> <20190416094024.GE27892@zn.tnic> <34d02ae0-7182-2983-b601-acbdb4085f33@ce.jp.nec.com> <20190417070250.GD8411@dhcp-128-65.nay.redhat.com> <20190417085434.GC20492@zn.tnic> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190417085434.GC20492@zn.tnic> 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 Cc: Kairui Song , Baoquan He , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Junichi Nomura , Dave Young On Wed, Apr 17, 2019 at 10:54:34AM +0200, Borislav Petkov wrote: >On Wed, Apr 17, 2019 at 03:02:50PM +0800, Dave Young wrote: >> How about move it after console_init, > >Sounds ok to me. That's still before KASLR gets setup and should work >for Chao's movable regions too. Yes, when debugging, I also put it after console_init(). Thanks, Chao Fan > >> and at the same time skip efi_get_rsdp_addr in case kexec? > >If kexec_get_rsdp_addr() gets a correct address, efi_get_rsdp_addr() >will be skipped. > >-- >Regards/Gruss, > Boris. > >Good mailing practices for 400: avoid top-posting and trim the reply. > > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec