diff options
author | Chang S. Bae <[email protected]> | 2020-05-28 16:13:55 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-18 15:47:03 +0200 |
commit | 96b2371413e8f636a5f25c42a933af21c35a2a41 (patch) | |
tree | dd8db560ea94d2a7df4478b2abade4f266a5fd49 /scripts/gdb/linux/timerlist.py | |
parent | 978e1342c3c4d7b20808fd5875d9ac0d57db22ee (diff) |
x86/entry/64: Switch CR3 before SWAPGS in paranoid entry
When FSGSBASE is enabled, the GSBASE handling in paranoid entry will need
to retrieve the kernel GSBASE which requires that the kernel page table is
active.
As the CR3 switch to the kernel page tables (PTI is active) does not depend
on kernel GSBASE, move the CR3 switch in front of the GSBASE handling.
Comment the EBX content while at it.
No functional change.
[ tglx: Rewrote changelog and comments ]
Signed-off-by: Chang S. Bae <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions