diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 03:15:59 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 15:27:26 +0200 |
commit | f5daf836f292f795f9cf8f36e036bf47adcbc3a3 (patch) | |
tree | 5530839c1e9645441471c027fe401387c421546f /arch/x86/kernel/fpu/init.c | |
parent | b50854eca0e014c2d3738073b387ab8ec85118ab (diff) | |
download | linux-f5daf836f292f795f9cf8f36e036bf47adcbc3a3.tar.gz linux-f5daf836f292f795f9cf8f36e036bf47adcbc3a3.tar.bz2 linux-f5daf836f292f795f9cf8f36e036bf47adcbc3a3.zip |
x86/fpu: Restrict xsaves()/xrstors() to independent states
These interfaces are really only valid for features which are independently
managed and not part of the task context state for various reasons.
Tighten the checks and adjust the misleading comments.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011538.608492174@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/init.c')
0 files changed, 0 insertions, 0 deletions