x86/fpu: Fix irq_fpu_usable() to return false during CPU onlining
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v21 patch 0 repliesSuperseded
- v11 patch 9 repliesSuperseded
Changes in v3 from the cover letter
- Split into two patches, as requested by Ingo.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/fpu: Replace in_kernel_fpu with kernel_fpu_allowedarch/ | +8 | 0 replies | |
| 2/2 | x86/fpu: Fix irq_fpu_usable() to return false during CPU onliningarch/ arch/ arch/ +2 more | +37 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Ayush Jain |
|---|---|
| 1/2 | |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] x86/fpu: Fix irq_fpu_usable() to return false during CPU onlining
This series fixes a crash in the SHA-256 code during hotplug CPU onlining.
Changed in v3:
- Split into two patches, as requested by Ingo.
Changed in v2:
- Add WARN_ON_FPU when kernel_fpu_allowed has unexpected value in fpu__init_cpu() or cpu_disable_common(). Since WARN_ON_FPU is defined in fpu/internal.h which should not be included by smpboot.c, made cpu_disable_common() call a new function fpu__disable_cpu().
- Added Tested-by.
Eric Biggers (2):
x86/fpu: Replace in_kernel_fpu with kernel_fpu_allowed x86/fpu: Fix irq_fpu_usable() to return false during CPU onlining
arch/x86/include/asm/fpu/api.h | 1 + arch/x86/kernel/fpu/core.c | 34 +++++++++++++++++++++------------- arch/x86/kernel/fpu/init.c | 13 +++++++++++++ arch/x86/kernel/fpu/internal.h | 2 ++ arch/x86/kernel/smpboot.c | 6 ++++++ 5 files changed, 43 insertions(+), 13 deletions(-)
base-commit: 3ee84e3dd88e39b55b534e17a7b9a181f1d46809
Signature · 1 line
2.49.0