Skip to content

sched, x86, arm64: PREEMPT_RT, FPU and preemption

Valentin Schneider linux-arm-kernel linux-rt-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched/preempt: Introduce preempt_{enable, disable}_bh()include/linux/bottom_half.h+26 -00 replies
2/3x86/fpu: Make FPU protection reuse common helperarch/x86/include/asm/fpu/api.h+2 -170 replies
3/3arm64/fpsimd: Fix FPSIMD context handling vs PREEMPT_RTarch/arm64/kernel/fpsimd.c+4 -22 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark BrownAndrew HalaneyArd Biesheuvel
SeriesR-b R-b
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] sched, x86, arm64: PREEMPT_RT, FPU and preemption

Hi folks,

This stems from some more v5.13-rt1 breakage on arm64. This time per-CPU access safety isn't sufficient, we really need to keep preemption disabled.

In a happy accident I stumbled on

cba08c5dc6dc ("x86/fpu: Make kernel FPU protection RT friendly")

so I packaged what was done there into some common helpers and plastered them over the problematic areas.

Cheers,
Valentin

Valentin Schneider (3):
sched/preempt: Introduce preempt_{enable, disable}_bh() x86/fpu: Make FPU protection reuse common helper arm64/fpsimd: Fix FPSIMD context handling vs PREEMPT_RT

 arch/arm64/kernel/fpsimd.c     |  6 ++++--
 arch/x86/include/asm/fpu/api.h | 19 ++-----------------
 include/linux/bottom_half.h    | 26 ++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 19 deletions(-)

--
2.25.1