Re: [PATCH v15 4/6] x86/boot: Introduce bios_get_rsdp_addr() to search RSDP in memory

2019-01-10 Thread Chao Fan
On Thu, Jan 10, 2019 at 10:27:47PM +0100, Borislav Petkov wrote: >On Mon, Jan 07, 2019 at 11:22:41AM +0800, Chao Fan wrote: >> Memory information in SRAT table is necessary to fix the conflict >> between KASLR and memory-hotremove. So RSDP and SRAT should be parsed. >> >> When booting form

Re: [PATCH v15 4/6] x86/boot: Introduce bios_get_rsdp_addr() to search RSDP in memory

2019-01-10 Thread Borislav Petkov
On Mon, Jan 07, 2019 at 11:22:41AM +0800, Chao Fan wrote: > Memory information in SRAT table is necessary to fix the conflict > between KASLR and memory-hotremove. So RSDP and SRAT should be parsed. > > When booting form KEXEC/EFI/BIOS, the methods to compute RSDP > are different. When booting

[PATCH v15 4/6] x86/boot: Introduce bios_get_rsdp_addr() to search RSDP in memory

2019-01-06 Thread Chao Fan
Memory information in SRAT table is necessary to fix the conflict between KASLR and memory-hotremove. So RSDP and SRAT should be parsed. When booting form KEXEC/EFI/BIOS, the methods to compute RSDP are different. When booting from BIOS, there is no variable who can point to RSDP directly, so