]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Replace KVMs xstate component clearing
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Oct 2021 14:55:31 +0000 (16:55 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 20 Oct 2021 20:26:41 +0000 (22:26 +0200)
commitaacec5b590e1f91cfd956647d25f026c9e135f2e
treefe5320ccc1ae355d3318f4fdecd753766a318e1f
parent9ce85aea0532de1eb9cade8e7d0fbc33cf0641f5
x86/fpu: Replace KVMs xstate component clearing

In order to prepare for the support of dynamically enabled FPU features,
move the clearing of xstate components to the FPU core code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: kvm@vger.kernel.org
Link: https://lkml.kernel.org/r/20211013145322.399567049@linutronix.de
arch/x86/include/asm/fpu/api.h
arch/x86/include/asm/fpu/xstate.h
arch/x86/kernel/fpu/xstate.c
arch/x86/kernel/fpu/xstate.h
arch/x86/kvm/x86.c