Re: [RESEND RFC PATCH v1 2/2] serial/8250: Avoid getting lock in RT atomic context

From: Leonardo Bras
Date: Thu Jan 18 2024 - 12:58:00 EST


On Thu, Jan 18, 2024 at 11:33:08AM +0100, Jiri Slaby wrote:
> On 18. 01. 24, 10:36, Leonardo Bras wrote:
> > I am using mainline (torvalds/linux) kernel, forcing ARCH_SUPPORTS_RT:
> >
> > diff --git a/arch/Kconfig b/arch/Kconfig
> > index 5ca66aad0d08..879c34398cb7 100644
> > --- a/arch/Kconfig
> > +++ b/arch/Kconfig
> > @@ -1195,7 +1195,7 @@ config ARCH_NO_PREEMPT
> > bool
> > config ARCH_SUPPORTS_RT
> > - bool
> > + def_bool y
> >
> > Since I was not aware of a PREEMPT_RT-patched tree, I did this so I could
> > compile a PREEMPT_RT kernel.
>
> Huh, when exactly did you intend to mention this?

Since I was not aware of an PREEMPT_RT-patched tree, I thought that this
was the vanilla way to get a PREEMPT_RT kernel running.

TBH I did not even though that there were an external repo for PREEMPT_RT.
I mean, I knew about non-mainline patches in the past, but I thought
everything got already merged upstream, and any other patches would be WIP.

I understand this was a mistake on my part, and I feel sorry if this
brought any pain to reviewers. For the future, I will be basing my RT
work in this RT-devel tree shared by John.

Thanks!
Leo

>
> --
> js
> suse labs
>