All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Javier Martínez Cantos" <jmartinez@ixion.es>
To: xenomai@xenomai.org
Subject: [Xenomai] Unexpected CPU assignment on iMX6Q
Date: Mon, 15 Feb 2016 12:39:29 +0100	[thread overview]
Message-ID: <56C1B8F1.5070506@ixion.es> (raw)

Hi everybody,

I'm currently working on Toradex Apalis iMX6Q (4 cores) with Xenomai 
2.6.4. The system runs fine.

However, I'm playing around with rt_task_create and T_CPU obtaining the 
following results:

- T_CPU(0-3) leads to task creation on expected core, i.e. 1 to 4,

- while T_CPU(>3) leads to task creation always on first core.

Affinity is configured as follows:

cat /proc/xenomai/affinity
0000000f

I expect rt_task_create to return an EINVAL error or something like that 
when T_CPU is higher than RTHAL_NR_CPUS - 1.

Could RTHAL_NR_CPUS has a value higher than 4? How can I check this? I 
have already checked that CONFIG_NR_CPUS is 4.

On runtime, how can I query the "task to core assignment" through 
Xenomai API?

Thanks in advance.

-- 


Javier Martínez Cantos

Sistemas embarcados



	

Julián Camarillo, 21 B, 3ª Planta 28037 Madrid, España

	

(+34) 91 440 18 33

	

jmartinez@ixion.es

	

http://www.ixion.es <http://www.ixion.es/>

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/This message is intended solely for its addressee. It may contain 
privileged and/or confidential information, whose disclosure is 
prohibited by law. If you have received this message in error, please do 
not read, copy or distribute it and notify the dispatcher immediately./

/
Este correo electrónico está dirigido exclusivamente a su destinatario y 
puede contener información sujeta a reserva y/o confidencial, cuya 
revelación está prohibida por ley. Si Ud. ha recibido este mensaje por 
error, le rogamos que no lo lea, copie o distribuya y que lo notifique 
de inmediato a su remitente./



-- 


Javier Martínez Cantos

Sistemas embarcados



	

Julián Camarillo, 21 B, 3ª Planta 28037 Madrid, España

	

(+34) 91 440 18 33

	

jmartinez@ixion.es 
<.////172.20.31.5/datos/IXION/Info_public/Logos/Nueva%2520imagen%2520corporativa/Plantillas/xxxx@ixion.es%2520>

	

http://www.ixion.es <http://www.ixion.es/>

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/This message is intended solely for its addressee. It may contain 
privileged and/or confidential information, whose disclosure is 
prohibited by law. If you have received this message in error, please do 
not read, copy or distribute it and notify the dispatcher immediately./

/
Este correo electrónico está dirigido exclusivamente a su destinatario y 
puede contener información sujeta a reserva y/o confidencial, cuya 
revelación está prohibida por ley. Si Ud. ha recibido este mensaje por 
error, le rogamos que no lo lea, copie o distribuya y que lo notifique 
de inmediato a su remitente./




             reply	other threads:[~2016-02-15 11:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 11:39 Javier Martínez Cantos [this message]
2016-02-15 12:15 ` [Xenomai] Unexpected CPU assignment on iMX6Q Gilles Chanteperdrix
2016-02-15 13:02   ` Javier Martínez Cantos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56C1B8F1.5070506@ixion.es \
    --to=jmartinez@ixion.es \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.