All of lore.kernel.org
 help / color / mirror / Atom feed
* resume_oob_task & not actually resuming
@ 2021-06-30 15:56 Jan Kiszka
  2021-06-30 17:46 ` Philippe Gerum
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Kiszka @ 2021-06-30 15:56 UTC (permalink / raw)
  To: Philippe Gerum, Xenomai

Hi Philippe,

need you guidance here to fix the "thread ... switched to non-rt CPU,
aborted" issue:

For some reason, I-pipe is fine and kicks the migrating non-rt task
again when ipipe_migration_hook() does not resume the target thread due
to failing cobalt_affinity_ok() check. Over dovetail, this is not
working, and the thread is stuck in nirvana, i.e. suspended as hardened
from Linux POV but not resumed on the Xenomai side. Looking at how
finalize_oob_transition() is called in the dovetail kernel, it does not
seem like it is prepared for not being in oob after that call
(finish_task_switch is not called - not sure if that makes the difference).

So, either the point of checking and failing the migration in Xenomai is
wrong for dovetail, or we need some extension of the latter to account
for that case. What was the intended design?

Jan

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


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

end of thread, other threads:[~2021-07-01  8:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 15:56 resume_oob_task & not actually resuming Jan Kiszka
2021-06-30 17:46 ` Philippe Gerum
2021-06-30 17:52   ` Philippe Gerum
2021-07-01  6:11     ` Jan Kiszka
2021-07-01  7:29       ` Philippe Gerum
2021-07-01  7:40         ` Jan Kiszka
2021-07-01  8:08           ` Philippe Gerum

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.