Searched hist:"72 a6c08c44e4460e39315ca828f60b8d5afd6b19" (Results 1 – 3 of 3) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | pkru.h | diff 72a6c08c44e4460e39315ca828f60b8d5afd6b19 Wed Jun 23 14:02:23 CEST 2021 Thomas Gleixner <tglx@linutronix.de> x86/pkru: Remove xstate fiddling from write_pkru()
The PKRU value of a task is stored in task->thread.pkru when the task is scheduled out. PKRU is restored on schedule in from there. So keeping the XSAVE buffer up to date is a pointless exercise.
Remove the xstate fiddling and cleanup all related functions.
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.897372712@linutronix.de
|
H A D | special_insns.h | diff 72a6c08c44e4460e39315ca828f60b8d5afd6b19 Wed Jun 23 14:02:23 CEST 2021 Thomas Gleixner <tglx@linutronix.de> x86/pkru: Remove xstate fiddling from write_pkru()
The PKRU value of a task is stored in task->thread.pkru when the task is scheduled out. PKRU is restored on schedule in from there. So keeping the XSAVE buffer up to date is a pointless exercise.
Remove the xstate fiddling and cleanup all related functions.
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.897372712@linutronix.de
|
/linux/arch/x86/kvm/ |
H A D | x86.c | diff 72a6c08c44e4460e39315ca828f60b8d5afd6b19 Wed Jun 23 14:02:23 CEST 2021 Thomas Gleixner <tglx@linutronix.de> x86/pkru: Remove xstate fiddling from write_pkru()
The PKRU value of a task is stored in task->thread.pkru when the task is scheduled out. PKRU is restored on schedule in from there. So keeping the XSAVE buffer up to date is a pointless exercise.
Remove the xstate fiddling and cleanup all related functions.
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.897372712@linutronix.de
|