mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] x86/fpu for v7.4-rc1
@ 2026-10-20  4:44 Borislav Petkov
  2026-10-20 21:38 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2026-10-20  4:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: x86-ml, lkml

Hi Linus,

please pull the x86/fpu lineup for v7.4-rc1.

See end of mail for some merge fun.

Thx.

---

The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:

  Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_fpu_for_v7.4_rc1

for you to fetch changes up to 7606d01b963fc3e4e19dd53ca6c5fdd97f7bc1d7:

  x86/fpu: Remove additional remnants of math emulation (2026-09-26 12:01:48 -0700)

----------------------------------------------------------------
- Document and cleanup the signal frame handling with the goal to allow
  process migration between CPUs with different FPU capabilities but which use
  only a common set of FPU features, i.e., think checkpoint/restore. By
  Andrei Vagin

- Consolidate how XSTATE features are checked by doing them once during boot
  with the intent of removing cpu_has_xfeatures(). Latter will happen in the
  next cycle. Work by Eric Biggers

- Other cleanups

----------------------------------------------------------------
Andrei Vagin (7):
      x86/fpu: Document signal frame layout and portability
      x86/fpu: Clean up and rename variables in signal frame handling
      x86/fpu: Extract restore_from_ia32_fxstate() and clean up fpu__restore_sig()
      x86/fpu: Document reasoning of FX-only fallback
      x86/fpu: Fix potential underflow in xstate_calculate_size()
      x86/fpu: Pre-fault only required size of xstate buffer
      selftests/x86: Add tests for signal frame FPU portability

Eric Biggers (9):
      x86/fpu: Check for missing AVX and AVX-512 xstate bits
      um: Check for missing AVX and AVX-512 xstate bits
      crypto: x86 - Stop using cpu_has_xfeatures()
      lib/crypto: x86: Stop using cpu_has_xfeatures()
      lib/crc: x86: Stop using cpu_has_xfeatures()
      xor: Remove redundant X86_FEATURE_OSXSAVE check
      xor: Add AVX-512 optimized xor_gen()
      x86/fpu: Remove unnecessary checks for X86_FEATURE_FPU
      x86/fpu: Remove additional remnants of math emulation

 Documentation/arch/x86/xstate.rst                  |  54 +++++
 arch/um/kernel/um_arch.c                           |  78 ++++++-
 arch/x86/crypto/aegis128-aesni-glue.c              |   3 +-
 arch/x86/crypto/aesni-intel_glue.c                 |   7 +-
 arch/x86/crypto/aria_aesni_avx2_glue.c             |  11 +-
 arch/x86/crypto/aria_aesni_avx_glue.c              |  11 +-
 arch/x86/crypto/aria_gfni_avx512_glue.c            |  11 +-
 arch/x86/crypto/camellia_aesni_avx2_glue.c         |  11 +-
 arch/x86/crypto/camellia_aesni_avx_glue.c          |  11 +-
 arch/x86/crypto/cast5_avx_glue.c                   |   7 +-
 arch/x86/crypto/cast6_avx_glue.c                   |   7 +-
 arch/x86/crypto/serpent_avx2_glue.c                |   9 +-
 arch/x86/crypto/serpent_avx_glue.c                 |   7 +-
 arch/x86/crypto/sm4_aesni_avx2_glue.c              |  11 +-
 arch/x86/crypto/sm4_aesni_avx_glue.c               |  11 +-
 arch/x86/crypto/twofish_avx_glue.c                 |   6 +-
 arch/x86/include/asm/fpu/regset.h                  |   6 +-
 arch/x86/include/asm/fpu/sched.h                   |   1 -
 arch/x86/include/asm/fpu/types.h                   |  25 ---
 arch/x86/include/asm/fpu/xstate.h                  |   2 +
 arch/x86/include/asm/math_emu.h                    |  15 --
 arch/x86/include/asm/processor.h                   |   2 +-
 arch/x86/include/asm/traps.h                       |   2 -
 arch/x86/include/uapi/asm/sigcontext.h             |  15 ++
 arch/x86/kernel/fpu/bugs.c                         |   4 -
 arch/x86/kernel/fpu/core.c                         |  13 +-
 arch/x86/kernel/fpu/init.c                         |   6 +-
 arch/x86/kernel/fpu/regset.c                       |   6 -
 arch/x86/kernel/fpu/signal.c                       | 136 +++++++-----
 arch/x86/kernel/fpu/xstate.c                       |  39 +++-
 lib/crc/x86/crc-pclmul-template.h                  |   6 +-
 lib/crypto/x86/blake2s.h                           |   4 +-
 lib/crypto/x86/chacha.h                            |   3 +-
 lib/crypto/x86/nh.h                                |   4 +-
 lib/crypto/x86/poly1305.h                          |   7 +-
 lib/crypto/x86/sha1.h                              |   4 +-
 lib/crypto/x86/sha256.h                            |   4 +-
 lib/crypto/x86/sha512.h                            |   3 +-
 lib/crypto/x86/sm3.h                               |   3 +-
 lib/raid/xor/Makefile                              |   2 +-
 lib/raid/xor/x86/xor-avx512.c                      | 122 +++++++++++
 lib/raid/xor/x86/xor_arch.h                        |  31 ++-
 tools/testing/selftests/x86/Makefile               |   5 +-
 .../selftests/x86/sigframe_fpu_portability.c       | 235 +++++++++++++++++++++
 tools/testing/selftests/x86/xstate.c               |  12 --
 tools/testing/selftests/x86/xstate.h               |  20 ++
 46 files changed, 693 insertions(+), 299 deletions(-)
 delete mode 100644 arch/x86/include/asm/math_emu.h
 create mode 100644 lib/raid/xor/x86/xor-avx512.c
 create mode 100644 tools/testing/selftests/x86/sigframe_fpu_portability.c
 

So if you've merged tip/perf/core first (you should have if you go through the
pull requests chronologically) then merging this will create the below and you
probably wanna whack that second duplicated prototype.

Thx.

diff --cc arch/x86/include/asm/fpu/xstate.h
index 19dec5f0b1c7,33343e5d54b0..25308312cd78
--- a/arch/x86/include/asm/fpu/xstate.h
+++ b/arch/x86/include/asm/fpu/xstate.h
@@@ -110,10 -110,9 +110,12 @@@ int xfeature_size(int xfeature_nr)
  
  void xsaves(struct xregs_state *xsave, u64 mask);
  void xrstors(struct xregs_state *xsave, u64 mask);
 +void xsaves_nmi(struct xregs_state *xsave, u64 mask);
 +
 +unsigned int xstate_calculate_size(u64 xfeatures, bool compacted);
  
+ unsigned int xstate_calculate_size(u64 xfeatures, bool compacted);
+ 
  int xfd_enable_feature(u64 xfd_err);
  
  #ifdef CONFIG_X86_64


-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] x86/fpu for v7.4-rc1
  2026-10-20  4:44 [GIT PULL] x86/fpu for v7.4-rc1 Borislav Petkov
@ 2026-10-20 21:38 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-10-20 21:38 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linus Torvalds, x86-ml, lkml

The pull request you sent on Mon, 19 Oct 2026 21:44:15 -0700:

> ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_fpu_for_v7.4_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/dd8845db6d05e81532110c271d5f1cef3975916a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-20 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20  4:44 [GIT PULL] x86/fpu for v7.4-rc1 Borislav Petkov
2026-10-20 21:38 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®