From: Borislav Petkov <bp@alien8.de>
To: Kairui Song <kasong@redhat.com>
Cc: linux-kernel@vger.kernel.org, Baoquan He <bhe@redhat.com>,
Junichi Nomura <j-nomura@ce.jp.nec.com>,
Dave Young <dyoung@redhat.com>,
Dirk van der Merwe <dirk.vandermerwe@netronome.com>,
Chao Fan <fanc.fnst@cn.fujitsu.com>,
Ingo Molnar <mingo@kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Thomas Gleixner <tglx@linutronix.de>,
x86@kernel.org, kexec@lists.infradead.org
Subject: Re: [PATCH] x86/kexec: Add ACPI NVS region to the ident map
Date: Mon, 10 Jun 2019 11:51:50 +0200 [thread overview]
Message-ID: <20190610095150.GA5488@zn.tnic> (raw)
In-Reply-To: <20190610073617.19767-1-kasong@redhat.com>
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 <j-nomura@ce.jp.nec.com>
> Signed-off-by: Kairui Song <kasong@redhat.com>
> ---
>
> 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.
next prev parent reply other threads:[~2019-06-10 9:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 7:36 [PATCH] x86/kexec: Add ACPI NVS region to the ident map Kairui Song
2019-06-10 9:51 ` Borislav Petkov [this message]
2019-06-10 10:18 ` Kairui Song
2019-06-10 10:59 ` Borislav Petkov
2019-06-10 11:07 ` Junichi Nomura
2019-06-10 11:24 ` Borislav Petkov
2019-06-10 9:53 ` Kairui Song
2019-06-10 20:07 ` [tip:x86/boot] x86/kexec: Add the " tip-bot for Kairui Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190610095150.GA5488@zn.tnic \
--to=bp@alien8.de \
--cc=bhe@redhat.com \
--cc=dirk.vandermerwe@netronome.com \
--cc=dyoung@redhat.com \
--cc=fanc.fnst@cn.fujitsu.com \
--cc=j-nomura@ce.jp.nec.com \
--cc=kasong@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox