All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC Dovetail 6.1 0/3] arm64: Enable in-kernel FPU / FPSIMD usage
@ 2025-11-19 14:25 Florian Bezdeka
  2025-11-19 14:25 ` [PATCH RFC Dovetail 6.1 1/3] arm64: fpsimd: Drop unneeded 'busy' flag Florian Bezdeka
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Florian Bezdeka @ 2025-11-19 14:25 UTC (permalink / raw)
  To: xenomai; +Cc: Florian Bezdeka, Jan Kiszka, Philippe Gerum

Hi all,

these are the necessary backports for dovetail 6.1 that would allow us to
enable the in-kernel FPU usage of switchtest. This is currently not
possible as dovetail < 6.12 does not allow / implement the necessary fpsimd
context switching.

I have backported the necessary patches down to 5.10. That would allow
us to unconditionally enable the tests for the xenomai3-next branch. I
will send out the 5.15 and 5.10 series once we agreed that this version
(targeting 6.1) is correct.

Please note that there is a small problem with this series. Patch 1
removes the check/flag that was used by the dovetail enablement code to
detect in-band FPU usage. The new flag is implemented differently in
patch 2. Patch 2 also fixes the usage of that flag. I had no better
idea. Otherwise I would have to delete? the in-kernel fpu preemption
code (temporary).

Previous discussion can be found here:
https://lore.kernel.org/xenomai/cover.1758264904.git.jan.kiszka@siemens.com/T/#t

Best regards,
Florian

Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Philippe Gerum <rpm@xenomai.org>

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
Florian Bezdeka (3):
      arm64: fpsimd: Drop unneeded 'busy' flag
      arm64: fpsimd: Preserve/restore kernel mode NEON at context switch
      arm64/fpsimd: Avoid erroneous elide of user state reload

 arch/arm64/include/asm/processor.h   |   2 +
 arch/arm64/include/asm/simd.h        |  11 +-
 arch/arm64/include/asm/thread_info.h |   3 +-
 arch/arm64/kernel/fpsimd.c           | 193 ++++++++++++++++++++---------------
 4 files changed, 114 insertions(+), 95 deletions(-)
---
base-commit: 501e3ddd3ff59f522d9c7a1f2ee993620d5389f9
change-id: 20251119-flo-6-1-arm64-fpsimd-test-enablement-67294b3d8f0c

Best regards,
-- 
Florian Bezdeka <florian.bezdeka@siemens.com>


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

end of thread, other threads:[~2025-12-20  0:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 14:25 [PATCH RFC Dovetail 6.1 0/3] arm64: Enable in-kernel FPU / FPSIMD usage Florian Bezdeka
2025-11-19 14:25 ` [PATCH RFC Dovetail 6.1 1/3] arm64: fpsimd: Drop unneeded 'busy' flag Florian Bezdeka
2025-11-19 14:25 ` [PATCH RFC Dovetail 6.1 2/3] arm64: fpsimd: Preserve/restore kernel mode NEON at context switch Florian Bezdeka
2025-11-19 14:25 ` [PATCH RFC Dovetail 6.1 3/3] arm64/fpsimd: Avoid erroneous elide of user state reload Florian Bezdeka
2025-12-01 16:29 ` [PATCH RFC Dovetail 6.1 0/3] arm64: Enable in-kernel FPU / FPSIMD usage Philippe Gerum
2025-12-10 12:14   ` Florian Bezdeka
2025-12-11 12:56     ` Philippe Gerum
2025-12-15 11:19       ` Florian Bezdeka
2025-12-17 12:46         ` Jan Kiszka
2025-12-17 14:21           ` Philippe Gerum
2025-12-17 16:51 ` Jan Kiszka
2025-12-20  0:03   ` Florian Bezdeka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.