diff options
author | Chao Fan <[email protected]> | 2019-01-23 19:08:46 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-02-01 11:52:54 +0100 |
commit | 33f0df8d843deb9ec24116dcd79a40ca0ea8e8a9 (patch) | |
tree | 6812a0ab0304e00994dceb1891e5888e9ed7e5e2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c98e71b42a7d0c14639ccb565ea315f3c887f92 (diff) |
x86/boot: Search for RSDP in the EFI tables
The immovable memory ranges information in the SRAT table is necessary
to fix the issue of KASLR not paying attention to movable memory regions
when selecting the offset. Therefore, SRAT needs to be parsed.
Depending on the boot: KEXEC/EFI/BIOS, the methods to compute RSDP are
different. When booting from EFI, the EFI table points to the RSDP. So
iterate over the EFI system tables in order to find the RSDP.
[ bp:
- Heavily massage commit message
- Trim comments
- Move the CONFIG_ACPI ifdeffery into the Makefile.
]
Signed-off-by: Chao Fan <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: Kees Cook <[email protected]>
Cc: [email protected]
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions