Skip to content
  • Chao Fan's avatar
    x86/boot: Early parse RSDP and save it in boot_params · 3a63f70b
    Chao Fan authored
    The RSDP is needed by KASLR so parse it early and save it in
    boot_params.acpi_rsdp_addr, before KASLR setup runs.
    RSDP is needed by other kernel facilities so have the parsing code
    built-in instead of a long "depends on" line in Kconfig.
     [ bp:
        - Trim commit message and comments
        - Add CONFIG_ACPI dependency in the Makefile
        - Move ->acpi_rsdp_addr assignment with the rest of boot_params massaging in extract_kernel().
    Signed-off-by: default avatarChao Fan <>
    Signed-off-by: default avatarBorislav Petkov <>
    Cc: Cao jin <>
    Cc: "H. Peter Anvin" <>
    Cc: Ingo Molnar <>
    Cc: Juergen Gross <>
    Cc: Kees Cook <>
    Cc: "Kirill A. Shutemov" <>
    Cc: Masahiro Yamada <>
    Cc: Thomas Gleixner <>
    Cc: Tom Lendacky <>
    Cc: x86-ml <>