diff options
author | Chao Fan <[email protected]> | 2019-01-23 19:08:49 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-02-01 11:52:55 +0100 |
commit | 02a3e3cdb7f12fb8589e4a2e85d23c9e6544b54a (patch) | |
tree | d8b87c8b482ccb279accb74e82bc8f2d7ef3e346 /scripts/gdb/linux/config.py | |
parent | 3a63f70bf4c3a17f5d9c9bf3bc3288a23bdfefce (diff) |
x86/boot: Parse SRAT table and count immovable memory regions
Parse SRAT for the immovable memory regions and use that information to
control which offset KASLR selects so that it doesn't overlap with any
movable region.
[ bp:
- Move struct mem_vector where it is visible so that it builds.
- Correct comments.
- Rewrite commit message.
]
Signed-off-by: Chao Fan <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions