Re: [PATCH RT v2 0/3] riscv: add PREEMPT_RT support

Palmer Dabbelt
2023-11-06T21:59:16Z

On Tue, 31 Oct 2023 07:35:19 PDT (-0700), jszhang@kernel.org wrote:
> This series is to add PREEMPT_RT support to riscv. Compared with last
> year's try[1], there are two major changes:
>
> 1. riscv has been converted to Generic Entry. And RT maintainers has
> introduced PREEMPT_AUTO, so its support for riscv as well.
>
> 2. three preparation patches(patch1/2/3 in [1]) has been merged in
> mainline.
>
> Link: https://lore.kernel.org/linux-riscv/20220831175920.2806-1-jszhang@kernel.org/ [1]
>
> Hi @Conor,
>
> IIRC, you reported warnings with LOCKDEP(and DEBUG_ATOMIC_SLEEP?) with
> previous version RT patch, but I tried on c906, c910 platforms and
> can't reproduce the warnings. And Schaffner also tried them and
> didn't reproduce warnings either. So could you please help try
> v6.6-RT + this series again?
>
> Thanks
>
> Since v1:
> - rebase on v6.6-rt
> - support the new PREEMPT_AUTO instead of Lazy preempt
>
> Jisheng Zhang (2):
> riscv: add PREEMPT_AUTO support
> riscv: allow to enable RT
>
> arch/riscv/Kconfig | 2 ++
> arch/riscv/include/asm/thread_info.h | 2 ++
> 2 files changed, 4 insertions(+)

Acked-by: Palmer Dabbelt <palmer@rivosinc.com>

In case you guys wanted to take this. I'm also happy doing a shared tag
or something, no rush on my end.