Re: [PATCH v11 2/5] x86/boot: Add bios_get_rsdp_addr() to search RSDP in memory

2018-11-13 Thread Borislav Petkov
On Tue, Nov 13, 2018 at 10:10:16AM +0800, Chao Fan wrote: > The 'rover' was named as 'mem_rover', but the length of this line is too > long. So shorten it as 'rever' so that they can keep in one line. I still have no clue what "rover" or "rever" means... > This name came from ACPI driver code,

Re: [PATCH v11 2/5] x86/boot: Add bios_get_rsdp_addr() to search RSDP in memory

2018-11-12 Thread Chao Fan
On Mon, Nov 12, 2018 at 04:27:44PM +0100, Borislav Petkov wrote: >On Mon, Nov 12, 2018 at 05:46:42PM +0800, Chao Fan wrote: >> Imitate ACPI code to search RSDP pointer from memory. >> Walk memory and check the signature until get the RSDP signature. >> Based on acpi_tb_scan_memory_for_rsdp() and

Re: [PATCH v11 2/5] x86/boot: Add bios_get_rsdp_addr() to search RSDP in memory

2018-11-12 Thread Borislav Petkov
On Mon, Nov 12, 2018 at 05:46:42PM +0800, Chao Fan wrote: > Imitate ACPI code to search RSDP pointer from memory. > Walk memory and check the signature until get the RSDP signature. > Based on acpi_tb_scan_memory_for_rsdp() and acpi_find_root_pointer(). > If didn't get RSDP from EFI table, will

[PATCH v11 2/5] x86/boot: Add bios_get_rsdp_addr() to search RSDP in memory

2018-11-12 Thread Chao Fan
Imitate ACPI code to search RSDP pointer from memory. Walk memory and check the signature until get the RSDP signature. Based on acpi_tb_scan_memory_for_rsdp() and acpi_find_root_pointer(). If didn't get RSDP from EFI table, will run this function. Used for later patch to dig out SRAT table and