From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([5.9.137.197]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1haGy9-00054k-5B for kexec@lists.infradead.org; Mon, 10 Jun 2019 09:52:02 +0000 Date: Mon, 10 Jun 2019 11:51:50 +0200 From: Borislav Petkov Subject: Re: [PATCH] x86/kexec: Add ACPI NVS region to the ident map Message-ID: <20190610095150.GA5488@zn.tnic> References: <20190610073617.19767-1-kasong@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190610073617.19767-1-kasong@redhat.com> 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: Kairui Song Cc: x86@kernel.org, Baoquan He , kexec@lists.infradead.org, Chao Fan , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Dirk van der Merwe , Junichi Nomura , Thomas Gleixner , Dave Young , Ingo Molnar On Mon, Jun 10, 2019 at 03:36:17PM +0800, Kairui Song wrote: > With the recent addition of RSDP parsing in decompression stage, kexec > kernel now needs ACPI tables to be covered by the identity mapping. > And in commit 6bbeb276b71f ("x86/kexec: Add the EFI system tables and > ACPI tables to the ident map"), ACPI tables memory region was added to > the ident map. > > But on some machines, there is only ACPI NVS memory region, and the ACPI > tables is located in the NVS region instead. In such case second kernel *are* located - plural. > will still fail when trying to access ACPI tables. > > So, to fix the problem, add NVS memory region in the ident map as well. > > Fixes: 6bbeb276b71f ("x86/kexec: Add the EFI system tables and ACPI tables to the ident map") > Suggested-by: Junichi Nomura > Signed-off-by: Kairui Song > --- > > Tested with my laptop and VM, on top of current tip:x86/boot. You tested this in a VM and not on the *actual* machine with the NVS region? This is a joke, right? -- 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