diff options
author | Arvind Sankar <[email protected]> | 2020-02-02 12:13:49 -0500 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2020-02-22 23:37:37 +0100 |
commit | 32d009137a5646947d450da6fa641a1f4dc1e42c (patch) | |
tree | 1c4da502fc90d840e70c0db0ad691554b06d6922 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 90ff226281e1083988a42cfc51f89d91734cc55e (diff) |
x86/boot: Reload GDTR after copying to the end of the buffer
The GDT may get overwritten during the copy or during extract_kernel,
which will cause problems if any segment register is touched before the
GDTR is reloaded by the decompressed kernel. For safety update the GDTR
to point to the GDT within the copied kernel.
Signed-off-by: Arvind Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions