All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] x86: Always try to fill acpi_rsdp_addr in boot params
@ 2019-05-24  6:23 Kairui Song
  2019-05-24  6:23 ` [PATCH v3 1/4] x86: Update boot parameters defination Kairui Song
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Kairui Song @ 2019-05-24  6:23 UTC (permalink / raw)
  To: kexec; +Cc: Simon Horman, Dave Young, Lianbo Jiang, Baoquan He, Kairui Song

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 V2:
  - Drop unneeded 'packed' attribute for boot parameters structure
  - Don't trust kernel cmdline as a reliable acpi rsdp source

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            |  6 +++--
 kexec/arch/i386/crashdump-x86.c    | 34 +++++++----------------
 kexec/arch/i386/kexec-x86-common.c | 43 ++++++++++++++++++++++++++++++
 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, 62 insertions(+), 29 deletions(-)

-- 
2.21.0


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-20 12:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24  6:23 [PATCH v3 0/4] x86: Always try to fill acpi_rsdp_addr in boot params Kairui Song
2019-05-24  6:23 ` [PATCH v3 1/4] x86: Update boot parameters defination Kairui Song
2019-05-24  6:23 ` [PATCH v3 2/4] x86: Introduce helpers for getting RSDP address Kairui Song
2019-05-24  6:23 ` [PATCH v3 3/4] x86: Always try to fill acpi_rsdp_addr in boot params Kairui Song
2019-05-24  6:23 ` [PATCH v3 4/4] crashdump/x86: Use new introduce helper for getting RSDP Kairui Song
2019-05-31  9:27 ` [PATCH v3 0/4] x86: Always try to fill acpi_rsdp_addr in boot params Simon Horman
2019-06-10  8:10   ` Kairui Song
2019-06-20 12:16     ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.