All of lore.kernel.org
 help / color / mirror / Atom feed
* xenomai supported_cpus
@ 2021-07-29  8:51 John Ho
  2021-07-29  9:01 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: John Ho @ 2021-07-29  8:51 UTC (permalink / raw)
  To: xenomai

Hi all, I wish to ask about core isolation, and how to define the grub
command line with regards to supported_cpus. As of right now, I have done
the isolcpus and singled out Core 2-5 for xenomai, however, as for
xenomai.supported_cpus, I am unsure what value I am supposed to put into
the grub. Is there any documentation on this, so that I can adjust the
value to this 4 cores?  Will appreciate any help with this

yours sincerely,
John

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

* Re: xenomai supported_cpus
  2021-07-29  8:51 xenomai supported_cpus John Ho
@ 2021-07-29  9:01 ` Jan Kiszka
  2021-07-30 11:22   ` John Ho
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2021-07-29  9:01 UTC (permalink / raw)
  To: John Ho, xenomai

On 29.07.21 10:51, John Ho via Xenomai wrote:
> Hi all, I wish to ask about core isolation, and how to define the grub
> command line with regards to supported_cpus. As of right now, I have done
> the isolcpus and singled out Core 2-5 for xenomai, however, as for
> xenomai.supported_cpus, I am unsure what value I am supposed to put into
> the grub. Is there any documentation on this, so that I can adjust the
> value to this 4 cores?  Will appreciate any help with this

There is unfortunately no proper documentation. Feel free to add one,
likely to doc/asciidoc/README.INSTALL.adoc.

supported_cpus is a bitmask (in contrast to isolcpus, unfortunately).
So, to limit Xenomai to CPU 2-5, you need to specify 0x3c.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


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

* Re: xenomai supported_cpus
  2021-07-29  9:01 ` Jan Kiszka
@ 2021-07-30 11:22   ` John Ho
  0 siblings, 0 replies; 3+ messages in thread
From: John Ho @ 2021-07-30 11:22 UTC (permalink / raw)
  To: Jan Kiszka, xenomai

thank you Jan,
I will look into it and hopefully create a documentation soon!

yours sincerely,
John

On Thu, Jul 29, 2021 at 11:01 AM Jan Kiszka <jan.kiszka@siemens.com> wrote:

> On 29.07.21 10:51, John Ho via Xenomai wrote:
> > Hi all, I wish to ask about core isolation, and how to define the grub
> > command line with regards to supported_cpus. As of right now, I have done
> > the isolcpus and singled out Core 2-5 for xenomai, however, as for
> > xenomai.supported_cpus, I am unsure what value I am supposed to put into
> > the grub. Is there any documentation on this, so that I can adjust the
> > value to this 4 cores?  Will appreciate any help with this
>
> There is unfortunately no proper documentation. Feel free to add one,
> likely to doc/asciidoc/README.INSTALL.adoc.
>
> supported_cpus is a bitmask (in contrast to isolcpus, unfortunately).
> So, to limit Xenomai to CPU 2-5, you need to specify 0x3c.
>
> Jan
>
> --
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux
>

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

end of thread, other threads:[~2021-07-30 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29  8:51 xenomai supported_cpus John Ho
2021-07-29  9:01 ` Jan Kiszka
2021-07-30 11:22   ` John Ho

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.