From: Kairui Song <kasong@redhat.com>
To: kexec@lists.infradead.org
Cc: Simon Horman <horms@verge.net.au>, Dave Young <dyoung@redhat.com>,
Lianbo Jiang <lijiang@redhat.com>, Baoquan He <bhe@redhat.com>,
Kairui Song <kasong@redhat.com>
Subject: [PATCH v2 0/4] x86: Always to to fill acpi_rsdp_addr in boot params
Date: Tue, 14 May 2019 13:09:56 +0800 [thread overview]
Message-ID: <20190514050959.21093-1-kasong@redhat.com> (raw)
This patch sync the behavior of user space kexec and kexec_file_load,
they will both fill the boot_params.acpi_rsdp_addr with a valid RSDP
value, to make sure second kernel can always get the RSDP consistently.
This will make it effortless to boot newer version of kernel (5.0+)
without specifying acpi_rsdp= cmdline on EFI system even with EFI
service disabled. Should not change any behavior with older kernels.
Update from V1:
- Split into multiple patches for a cleaner structure, content is not
changed.
Kairui Song (4):
x86: Update boot parameters defination
x86: Introduce helpers for getting RSDP address
x86: Always try to fill acpi_rsdp_addr in boot params
crashdump/x86: Use new introduce helper for getting RSDP
include/x86/x86-linux.h | 8 ++--
kexec/arch/i386/crashdump-x86.c | 34 +++++------------
kexec/arch/i386/kexec-x86-common.c | 60 ++++++++++++++++++++++++++++++
kexec/arch/i386/kexec-x86.h | 1 +
kexec/arch/i386/x86-linux-setup.c | 6 ++-
kexec/arch/i386/x86-linux-setup.h | 1 +
6 files changed, 80 insertions(+), 30 deletions(-)
--
2.20.1
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next reply other threads:[~2019-05-14 5:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-14 5:09 Kairui Song [this message]
2019-05-14 5:09 ` [PATCH v2 1/4] x86: Update boot parameters defination Kairui Song
2019-05-23 3:01 ` Dave Young
2019-05-23 11:12 ` Kairui Song
2019-05-23 13:26 ` Dave Young
2019-05-14 5:09 ` [PATCH v2 2/4] x86: Introduce helpers for getting RSDP address Kairui Song
2019-05-23 3:16 ` Dave Young
2019-05-23 3:43 ` Kairui Song
2019-05-23 11:06 ` Kairui Song
2019-05-14 5:09 ` [PATCH v2 3/4] x86: Always try to fill acpi_rsdp_addr in boot params Kairui Song
2019-05-23 3:17 ` Dave Young
2019-05-14 5:15 ` [PATCH v2 4/4] crashdump/x86: Use new introduced helper for getting RSDP 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=20190514050959.21093-1-kasong@redhat.com \
--to=kasong@redhat.com \
--cc=bhe@redhat.com \
--cc=dyoung@redhat.com \
--cc=horms@verge.net.au \
--cc=kexec@lists.infradead.org \
--cc=lijiang@redhat.com \
/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