Re: [PATCH] arm64: ipipe: Make erratum_1418040_thread_switch compatible with I-pipe

2022-03-15 Thread Greg Gallagher via Xenomai
On Tue, Mar 15, 2022 at 2:56 PM Jan Kiszka wrote: > From: Jan Kiszka > > First of all, this erratum hook is called from __switch_to, thus > potentially also from the primary domain. Some of the functions it calls > check if preemption was disabled under Linux - which may not be the case > when

[PATCH] arm64: ipipe: Make erratum_1418040_thread_switch compatible with I-pipe

2022-03-15 Thread Jan Kiszka via Xenomai
From: Jan Kiszka First of all, this erratum hook is called from __switch_to, thus potentially also from the primary domain. Some of the functions it calls check if preemption was disabled under Linux - which may not be the case when invoked from primary domain. Rather than adding a costly check