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