All of lore.kernel.org
 help / color / mirror / Atom feed
* Realtime support for 5.10 on RISC-V -- not there
@ 2022-09-02  9:57 Pavel Machek
  2022-09-02 14:47 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2022-09-02  9:57 UTC (permalink / raw)
  To: chris.paterson2, cip-dev, jan.kiszka

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

Hi!

In rt wiki, RISC-V is not listed as supported. 

https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch#Platforms_Tested_and_in_Use_with_CONFIG_PREEMPT_RT

That may be outdated, but it does not have corresponding config option
in 5.10.

pavel@duo:~/cip/10$ grep -ri ARCH_SUPPORTS_RT arch/
arch/powerpc/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
arch/arm/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
arch/x86/Kconfig:	select ARCH_SUPPORTS_RT
arch/arm64/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
arch/Kconfig:config ARCH_SUPPORTS_RT
pavel@duo:~/cip/10$

I do not think we can or want to support realtime on RISC-V at the
moment.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: Realtime support for 5.10 on RISC-V -- not there
  2022-09-02  9:57 Realtime support for 5.10 on RISC-V -- not there Pavel Machek
@ 2022-09-02 14:47 ` Jan Kiszka
  2022-10-05  5:50   ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2022-09-02 14:47 UTC (permalink / raw)
  To: Pavel Machek, chris.paterson2, cip-dev

On 02.09.22 11:57, Pavel Machek wrote:
> Hi!
> 
> In rt wiki, RISC-V is not listed as supported. 
> 
> https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch#Platforms_Tested_and_in_Use_with_CONFIG_PREEMPT_RT
> 
> That may be outdated, but it does not have corresponding config option
> in 5.10.
> 
> pavel@duo:~/cip/10$ grep -ri ARCH_SUPPORTS_RT arch/
> arch/powerpc/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
> arch/arm/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
> arch/x86/Kconfig:	select ARCH_SUPPORTS_RT
> arch/arm64/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
> arch/Kconfig:config ARCH_SUPPORTS_RT
> pavel@duo:~/cip/10$

Thanks for checking! Same situation in 6.0.y-rt, it seems.

> 
> I do not think we can or want to support realtime on RISC-V at the
> moment.

In fact, we couldn't realistically commit to such a non-existing feature
/wrt long-term support.

If there is interest in enabling this, we can start a development effort
in upstream. But if that could then be backportable only to the next CIP
kernel, would even be open.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

* Re: Realtime support for 5.10 on RISC-V -- not there
  2022-09-02 14:47 ` Jan Kiszka
@ 2022-10-05  5:50   ` Jan Kiszka
  2022-10-05 18:26     ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2022-10-05  5:50 UTC (permalink / raw)
  To: Pavel Machek, chris.paterson2, cip-dev

On 02.09.22 16:47, Jan Kiszka wrote:
> On 02.09.22 11:57, Pavel Machek wrote:
>> Hi!
>>
>> In rt wiki, RISC-V is not listed as supported. 
>>
>> https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch#Platforms_Tested_and_in_Use_with_CONFIG_PREEMPT_RT
>>
>> That may be outdated, but it does not have corresponding config option
>> in 5.10.
>>
>> pavel@duo:~/cip/10$ grep -ri ARCH_SUPPORTS_RT arch/
>> arch/powerpc/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
>> arch/arm/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
>> arch/x86/Kconfig:	select ARCH_SUPPORTS_RT
>> arch/arm64/Kconfig:	select ARCH_SUPPORTS_RT if HAVE_POSIX_CPU_TIMERS_TASK_WORK
>> arch/Kconfig:config ARCH_SUPPORTS_RT
>> pavel@duo:~/cip/10$
> 
> Thanks for checking! Same situation in 6.0.y-rt, it seems.
> 
>>
>> I do not think we can or want to support realtime on RISC-V at the
>> moment.
> 
> In fact, we couldn't realistically commit to such a non-existing feature
> /wrt long-term support.
> 
> If there is interest in enabling this, we can start a development effort
> in upstream. But if that could then be backportable only to the next CIP
> kernel, would even be open.
> 

http://lists.infradead.org/pipermail/linux-riscv/2022-August/018823.html

Maybe there is a chance to have this in 6.1-rt so that 6.1-cip-rt can
pick it up.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux



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

* Re: Realtime support for 5.10 on RISC-V -- not there
  2022-10-05  5:50   ` Jan Kiszka
@ 2022-10-05 18:26     ` Pavel Machek
  2022-10-06 11:36       ` Chris Paterson
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2022-10-05 18:26 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Pavel Machek, chris.paterson2, cip-dev

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

Hi!

> >> I do not think we can or want to support realtime on RISC-V at the
> >> moment.
> > 
> > In fact, we couldn't realistically commit to such a non-existing feature
> > /wrt long-term support.
> > 
> > If there is interest in enabling this, we can start a development effort
> > in upstream. But if that could then be backportable only to the next CIP
> > kernel, would even be open.
> > 
> 
> http://lists.infradead.org/pipermail/linux-riscv/2022-August/018823.html
> 
> Maybe there is a chance to have this in 6.1-rt so that 6.1-cip-rt can
> pick it up.

Yes, that can happen. Plus, the patches are surprisingly small, so
maybe -stable-rt tree picks them up even if they miss 6.1.

OTOH maybe if would be good to have feedback "is someone using -rt on
riscv, and if so, on what hardware"?

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* RE: Realtime support for 5.10 on RISC-V -- not there
  2022-10-05 18:26     ` Pavel Machek
@ 2022-10-06 11:36       ` Chris Paterson
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Paterson @ 2022-10-06 11:36 UTC (permalink / raw)
  To: Pavel Machek, Jan Kiszka; +Cc: cip-dev

Hello Pavel,

> From: Pavel Machek <pavel@denx.de>
> Sent: 05 October 2022 19:26
> 
> Hi!
> 
> > >> I do not think we can or want to support realtime on RISC-V at the
> > >> moment.
> > >
> > > In fact, we couldn't realistically commit to such a non-existing feature
> > > /wrt long-term support.
> > >
> > > If there is interest in enabling this, we can start a development effort
> > > in upstream. But if that could then be backportable only to the next CIP
> > > kernel, would even be open.
> > >
> >
> > http://lists.infradead.org/pipermail/linux-riscv/2022-August/018823.html
> >
> > Maybe there is a chance to have this in 6.1-rt so that 6.1-cip-rt can
> > pick it up.
> 
> Yes, that can happen. Plus, the patches are surprisingly small, so
> maybe -stable-rt tree picks them up even if they miss 6.1.
> 
> OTOH maybe if would be good to have feedback "is someone using -rt on
> riscv, and if so, on what hardware"?

We're not currently using- rt with our RZ/Five risc-v SoC.
However, if CIP started supporting it we would integrate it into our BSP,
as we have done with our other (Arm) products based on the CIP kernel.

Kind regards, Chris

> 
> Best regards,
> 								Pavel
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


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

end of thread, other threads:[~2022-10-06 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-02  9:57 Realtime support for 5.10 on RISC-V -- not there Pavel Machek
2022-09-02 14:47 ` Jan Kiszka
2022-10-05  5:50   ` Jan Kiszka
2022-10-05 18:26     ` Pavel Machek
2022-10-06 11:36       ` Chris Paterson

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.