Re: [PATCH] x86/boot: Move detecting acpi=off in cmdline to get_rsdp_addr()

2019-02-15 Thread Chao Fan
On Fri, Feb 15, 2019 at 10:28:41AM +0100, Borislav Petkov wrote: >On Fri, Feb 15, 2019 at 05:10:47PM +0800, Chao Fan wrote: >> If "acpi=off" specified in cmdline, the whole functions of acpi.c >> should not work, there is no need to ealy parse RSDP, so detect >> "acpi=off" in the very first place.

Re: [PATCH] x86/boot: Move detecting acpi=off in cmdline to get_rsdp_addr()

2019-02-15 Thread Borislav Petkov
On Fri, Feb 15, 2019 at 05:10:47PM +0800, Chao Fan wrote: > If "acpi=off" specified in cmdline, the whole functions of acpi.c > should not work, there is no need to ealy parse RSDP, so detect > "acpi=off" in the very first place. > > Also replace magic number with macro. > > Signed-off-by: Chao F