diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-06-23 14:02:20 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-23 19:47:35 +0200 |
commit | 30a304a138738d71a09c730ca8044e9662de0dbf (patch) | |
tree | 23d96c22795456f369d22f31b278c7300d8e4327 /lib/dynamic_debug.c | |
parent | e84ba47e313dbc097bf859bb6e4f9219883d5f78 (diff) | |
download | linux-30a304a138738d71a09c730ca8044e9662de0dbf.tar.gz linux-30a304a138738d71a09c730ca8044e9662de0dbf.tar.bz2 linux-30a304a138738d71a09c730ca8044e9662de0dbf.zip |
x86/fpu: Mask PKRU from kernel XRSTOR[S] operations
As the PKRU state is managed separately restoring it from the xstate
buffer would be counterproductive as it might either restore a stale
value or reinit the PKRU state to 0.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210623121456.606745195@linutronix.de
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions