VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   30 Branches   50 Tags
author: minda.chen <minda.chen@starfivetech.com> 2023-02-06 16:00:55 +0800 committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:25:49 +0800 commit: f1932562a807f6ab0639e4cf38ce4b5d9819c529 parent: ac5d2d77f46733f06f223fcd3df7218f9d61048d
Commit Summary:
riscv: Allow riscv PREEMPT_RT config.
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 2a48a038cbd9..849cc23b4257 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -118,6 +118,8 @@ config RISCV
 	select TRACE_IRQFLAGS_SUPPORT
 	select UACCESS_MEMCPY if !MMU
 	select ZONE_DMA32 if 64BIT
+	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
+	select HAVE_POSIX_CPU_TIMERS_TASK_WORK if !KVM
 	select ARM_AMBA
 
 config ARCH_MMAP_RND_BITS_MIN