From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hL5kX-0004wR-Ah for kexec@lists.infradead.org; Mon, 29 Apr 2019 12:51:15 +0000 Date: Mon, 29 Apr 2019 14:50:59 +0200 From: Borislav Petkov Subject: Re: [PATCH v5 1/2] x86/kexec: Build identity mapping for EFI systab and ACPI tables Message-ID: <20190429125059.GB2324@zn.tnic> References: <20190424092944.30481-1-bhe@redhat.com> <20190424092944.30481-2-bhe@redhat.com> <20190427161121.GC12360@zn.tnic> <20190428054114.GS3584@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190428054114.GS3584@localhost.localdomain> 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: Baoquan He Cc: x86@kernel.org, kasong@redhat.com, fanc.fnst@cn.fujitsu.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com, j-nomura@ce.jp.nec.com, tglx@linutronix.de, dyoung@redhat.com On Sun, Apr 28, 2019 at 01:41:14PM +0800, Baoquan He wrote: > About this place, do you think below change is OK to you? > > ~~~ > The current code only builds identity mapping for physical memory during > kexec-type loading. The regions reserved by firmware are not covered. > In the later code change, the boot decompressing code of kexec-ed kernel > will try to access EFI systab and ACPI tables, lacking identity mapping for > them will cause error and reset system to firmware. Yap, better. Thx. -- 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