[GIT PULL] x86/fpu for v5.12

From: Borislav Petkov
Date: Mon Feb 15 2021 - 06:53:45 EST


Hi Linus,

please pull an x86/fpu usage optimization and cleanups for v5.12.

Thx.

---

The following changes since commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04:

Linux 5.11-rc5 (2021-01-24 16:47:14 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_fpu_for_v5.12

for you to fetch changes up to 0a74d61c7d842b583f33f74d7a9e93201826f4c5:

x86/fpu/xstate: Use sizeof() instead of a constant (2021-01-29 12:33:17 +0100)

----------------------------------------------------------------
- Have 64-bit kernel code which uses 387 insns request a x87 init
(FNINIT) explicitly when using the FPU + cleanups.

----------------------------------------------------------------
Andy Lutomirski (2):
x86/fpu: Make the EFI FPU calling convention explicit
x86/fpu/64: Don't FNINIT in kernel_fpu_begin()

Yejune Deng (1):
x86/fpu/xstate: Use sizeof() instead of a constant

arch/x86/include/asm/efi.h | 24 ++++++++++++++++++++----
arch/x86/include/asm/fpu/api.h | 12 ++++++++++++
arch/x86/kernel/fpu/xstate.c | 4 ++--
arch/x86/platform/efi/efi_64.c | 4 ++--
4 files changed, 36 insertions(+), 8 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg