mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/4] LoongArch: Add PREEMPT_RT support
@ 2024-11-17  5:37 Huacai Chen
  2024-11-17  5:40 ` [PATCH V2 1/4] LoongArch: Reduce min_delta for the arch clockevent device Huacai Chen
  0 siblings, 1 reply; 9+ messages in thread
From: Huacai Chen @ 2024-11-17  5:37 UTC (permalink / raw)
  To: Huacai Chen, Sebastian Andrzej Siewior
  Cc: loongarch, Clark Williams, Steven Rostedt, linux-rt-devel,
	Xuerui Wang, Jiaxun Yang, linux-kernel, loongson-kernel,
	Huacai Chen

This series add PREEMPT_RT support for LoongArch.

With the recent printk changes, the last known road block has been
addressed. The main architectural preparation we need is selecting
HAVE_POSIX_CPU_TIMERS_TASK_WORK to allow PREEMPT_RT coexist with KVM.
Then we can also enable PREEMPT_RT as X86, ARM64 and RISC-V.

V1 -> V2:
1. Fix sleeping in atomic context for PREEMPT_RT.
2. Reduce min_delta to 100 for PREEMPT_RT and update commit messages.

Huacai Chen(4):
 LoongArch: Reduce min_delta for the arch clockevent device.
 LoongArch: Fix sleeping in atomic context for PREEMPT_RT.
 LoongArch: Select HAVE_POSIX_CPU_TIMERS_TASK_WORK.
 LoongArch: Allow to enable PREEMPT_RT.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
---
 arch/loongarch/Kconfig       | 2 ++
 arch/loongarch/kernel/time.c | 6 +++++-
 arch/loongarch/mm/tlb.c      | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)
---
2.27.0


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

end of thread, other threads:[~2024-11-20  8:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-17  5:37 [PATCH V2 0/4] LoongArch: Add PREEMPT_RT support Huacai Chen
2024-11-17  5:40 ` [PATCH V2 1/4] LoongArch: Reduce min_delta for the arch clockevent device Huacai Chen
2024-11-17  5:40   ` [PATCH V2 2/4] LoongArch: Fix sleeping in atomic context for PREEMPT_RT Huacai Chen
2024-11-20  7:40     ` Sebastian Andrzej Siewior
2024-11-20  7:46       ` Huacai Chen
2024-11-20  8:05         ` Sebastian Andrzej Siewior
2024-11-20  8:35           ` Huacai Chen
2024-11-17  5:40   ` [PATCH V2 3/4] LoongArch: Select HAVE_POSIX_CPU_TIMERS_TASK_WORK Huacai Chen
2024-11-17  5:40   ` [PATCH V2 4/4] LoongArch: Allow to enable PREEMPT_RT Huacai Chen

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®