diff options
author | 2021-01-20 21:09:50 -0800 | |
---|---|---|
committer | 2021-01-29 12:22:15 +0100 | |
commit | b0dc553cfc9d3bc2c7b8672b0b2fcf0edf0c3b6e (patch) | |
tree | 96c4bd6d9fe44564243e63867c4c0c7e7767141e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.11-rc5 (diff) | |
download | wireguard-linux-b0dc553cfc9d3bc2c7b8672b0b2fcf0edf0c3b6e.tar.xz wireguard-linux-b0dc553cfc9d3bc2c7b8672b0b2fcf0edf0c3b6e.zip |
x86/fpu: Make the EFI FPU calling convention explicit
EFI uses kernel_fpu_begin() to conform to the UEFI calling convention.
This specifically requires initializing FCW (FPU Control Word), whereas
no sane 64-bit kernel code should use legacy 387 operations that
reference FCW.
This should allow to safely change the default semantics of
kernel_fpu_begin() to stop initializing FCW on 64-bit kernels.
[ bp: Massage commit message a little. ]
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/25d392fff64680e0f4bb8cf0b1003314dc29eafe.1611205691.git.luto@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions