Skip to content

x86: Merge fpu and simd exception handlers

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86-32: Split cache flush handler from simd handlerarch/x86/kernel/entry_32.S arch/x86/kernel/traps.c+39 -204 replies
2/5x86-32: Remove die_if_kernel()arch/x86/kernel/traps.c+2 -100 replies
3/5x86: Merge simd_math_error() into math_error()arch/x86/include/asm/traps.h arch/x86/kernel/irqinit.c arch/x86/kernel/traps.c+34 -700 replies
4/5x86: Merge kernel_math_error() into math_error()arch/x86/kernel/traps.c+16 -280 replies
5/5x86-32: Don't set ignore_fpu_irq in simd exceptionarch/x86/kernel/traps.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] x86: Merge fpu and simd exception handlers

This patch series merges the fpu and simd exception handlers into one function. The only difference is where the status bits are read from. This also applies a fix for multiple simd exceptions that was already done for fpu.

[PATCH 1/5] x86-32: Split cache flush handler from simd handler [PATCH 2/5] x86-32: Remove die_if_kernel()
[PATCH 3/5] x86: Merge simd_math_error() into math_error() [PATCH 4/5] x86: Merge kernel_math_error() into math_error() [PATCH 5/5] x86-32: Don't set ignore_fpu_irq in simd exception

 arch/x86/include/asm/traps.h |    2 +-
 arch/x86/kernel/entry_32.S   |   16 +++-
 arch/x86/kernel/irqinit.c    |    2 +-
 arch/x86/kernel/traps.c      |  195 +++++++++++++++---------------------------
 4 files changed, 87 insertions(+), 128 deletions(-)