From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <30e9341c-d72c-8cbf-2e6a-d6563410c2f9@siemens.com> In-Reply-To: <30e9341c-d72c-8cbf-2e6a-d6563410c2f9@siemens.com> From: John Ho Date: Fri, 30 Jul 2021 13:22:21 +0200 Message-ID: Subject: Re: xenomai supported_cpus Content-Type: text/plain; charset="UTF-8" List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , xenomai@xenomai.org 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 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 >