linux/arch/x86
Chang S. Bae 53599b4d54 x86/fpu/signal: Prepare for variable sigframe length
The software reserved portion of the fxsave frame in the signal frame
is copied from structures which have been set up at boot time. With
dynamically enabled features the content of these structures is no
longer correct because the xfeatures and size can be different per task.

Calculate the software reserved portion at runtime and fill in the
xfeatures and size values from the tasks active fpstate.

Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211021225527.10184-10-chang.seok.bae@intel.com
2021-10-26 10:18:09 +02:00
..
boot Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
configs configs: remove the obsolete CONFIG_INPUT_POLLDEV 2021-09-08 11:50:28 -07:00
crypto crypto: x86/sm4 - Fix frame pointer stack corruption 2021-09-24 15:58:50 +08:00
entry compat: remove some compat entry points 2021-09-08 15:32:35 -07:00
events x86/pkru: Remove useless include 2021-10-20 15:27:25 +02:00
hyperv hyperv-fixes for 5.15 2021-10-07 09:44:48 -07:00
ia32 x86/fpu: Remove internal.h dependency from fpu/signal.h 2021-10-20 15:27:29 +02:00
include x86/fpu: Add basic helpers for dynamically enabled features 2021-10-26 10:18:09 +02:00
kernel x86/fpu/signal: Prepare for variable sigframe length 2021-10-26 10:18:09 +02:00
kvm x86/kvm: Convert FPU handling to a single swap buffer 2021-10-23 16:13:29 +02:00
lib Merge branch 'x86/urgent' into x86/fpu, to resolve a conflict 2021-10-16 15:17:46 +02:00
math-emu x86/math-emu: Convert to fpstate 2021-10-20 23:57:54 +02:00
mm x86/fpu: Provide a proper function for ex_handler_fprestore() 2021-10-20 15:27:29 +02:00
net Merge branch 'x86/urgent' into x86/fpu, to resolve a conflict 2021-10-16 15:17:46 +02:00
pci xen: branch for v5.15-rc5 2021-10-08 12:55:23 -07:00
platform - A FPU fix to properly handle invalid MXCSR values: 32-bit masks them 2021-10-10 10:00:51 -07:00
power x86/fpu: Replace the includes of fpu/internal.h 2021-10-20 15:27:29 +02:00
purgatory kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
ras
realmode memblock: make memblock_find_in_range method private 2021-09-03 09:58:17 -07:00
tools - Remove cc-option checks which are old and already supported by the 2021-08-30 13:27:16 -07:00
um um: fix stub location calculation 2021-08-26 22:28:03 +02:00
video
xen xen/x86: adjust data placement 2021-10-05 08:36:19 +02:00
.gitignore
Kbuild
Kconfig x86/signal: Implement sigaltstack size validation 2021-10-26 10:18:09 +02:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
Makefile_32.cpu x86/build: Do not add -falign flags unconditionally for clang 2021-09-19 10:35:53 +09:00
Makefile.um um: allow not setting extra rpaths in the linux binary 2021-06-17 21:54:15 +02:00