From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQPhm-0001xm-5N for kexec@lists.infradead.org; Tue, 14 May 2019 05:10:23 +0000 From: Kairui Song 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 Message-Id: <20190514050959.21093-1-kasong@redhat.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: kexec@lists.infradead.org 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 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