]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/fpu: Provide a proper function for ex_handler_fprestore()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Oct 2021 01:16:41 +0000 (03:16 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 5 May 2022 07:14:13 +0000 (09:14 +0200)
commited343b816021992b8e0f82f9d2360a47b6eb271e
tree444586cda5f308973fc7aeb4d0f166893aa47f13
parent4e85b53eddd51d061298b5c2e0e5711efa6436cf
x86/fpu: Provide a proper function for ex_handler_fprestore()

BugLink: https://bugs.launchpad.net/bugs/1967750
To make upcoming changes for support of dynamically enabled features
simpler, provide a proper function for the exception handler which removes
exposure of FPU internals.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011540.053515012@linutronix.de
(cherry picked from commit 079ec41b22b952cdf3126527d735e373c9125f6d)
Acked-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
arch/x86/include/asm/fpu/api.h
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/internal.h
arch/x86/mm/extable.c