Home
last modified time | relevance | path

Searched hist:adc997b3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kernel/fpu/
H A Dregset.cadc997b3 Wed Jun 23 07:01:43 CDT 2021 Thomas Gleixner <tglx@linutronix.de> x86/fpu: Use copy_xstate_to_uabi_buf() in xfpregs_get()

Use the new functionality of copy_xstate_to_uabi_buf() to retrieve the
FX state when XSAVE* is in use. This avoids overwriting the FPU state
buffer with fpstate_sanitize_xstate() which is error prone and duplicated
code.

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/20210623121452.901736860@linutronix.de