Skip to content

x86: Always try to fill acpi_rsdp_addr in boot params

Kairui Song kexec 3 versions – Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesApplied
  2. v24 patches 7 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4x86: Update boot parameters definationinclude/x86/x86-linux.h+4 -20 replies
2/4x86: Introduce helpers for getting RSDP addresskexec/arch/i386/kexec-x86-common.c kexec/arch/i386/kexec-x86.h kexec/arch/i386/x86-linux-setup.c +1 more+46 -20 replies
3/4x86: Always try to fill acpi_rsdp_addr in boot paramskexec/arch/i386/x86-linux-setup.c+3 -00 replies
4/4crashdump/x86: Use new introduce helper for getting RSDPkexec/arch/i386/crashdump-x86.c+9 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] x86: Always try to fill acpi_rsdp_addr in boot params

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(-)
Signature · 7 lines
2.21.0


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec