aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-06-23 14:02:10 +0200
committerBorislav Petkov <[email protected]>2021-06-23 19:14:54 +0200
commitfa8c84b77a54bf3cf351c8b4b26a5aca27a14013 (patch)
treef88427ce6f4d8cc9b6afd75083e796aa64ecb65c /scripts/gdb/linux/proc.py
parentff7ebff47c595e747aa1bb10d8a30b2acb7d425b (diff)
x86/cpu: Write the default PKRU value when enabling PKE
In preparation of making the PKRU management more independent from XSTATES, write the default PKRU value into the hardware right after enabling PKRU in CR4. This ensures that switch_to() and copy_thread() have the correct setting for init task and the per CPU idle threads right away. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions