Skip to contentSkip to conversation

arm: Unprotected access to irq_desc field?

Xenomai-core Jan Kiszka 3 participants 13 messages Oct 28, 2010 – Oct 29, 2010

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#1 lore raw
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Signature · 1 line
                                                                Gilles.
#2 lore raw
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Signature · 1 line
Philippe.
#12 lore raw
In reply to Jan Kiszka
Quoted 7 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

From my point of view, locking anything would be overkill on ARM: irq

configurations are completely static as per the board, and so, ARMs can use proper irq demuxing, instead of the "shared irqs" workaround. So, in other word, I do not see why we would need any locking.

Signature · 1 line
                                                                Gilles.
author
#3 lore raw
In reply to Philippe Gerum
Quoted 8 lines · Philippe Gerum
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

Quoted 6 lines
Quoted 2 lines

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind. Not sure if it matters practically - but risking silent breakage for this micro optimization? Is disabling/enabling really in the highly latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

Jan

#4 lore raw
Quoted 12 lines · Jan Kiszka
Quoted 11 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Quoted 8 lines
Quoted 3 lines

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

Quoted 3 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Quoted 3 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

Quoted 3 lines

Jan

Signature · 1 line
Philippe.
author
#5 lore raw
Quoted 17 lines · Philippe Gerum
Quoted 16 lines · Jan Kiszka
Quoted 14 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Quoted 7 lines
Quoted 4 lines

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Quoted 7 lines
Quoted 4 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

BTW, do we need to track the descriptor state in primary mode at all?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#6 lore raw
Quoted 23 lines · Jan Kiszka
Quoted 22 lines · Philippe Gerum
Quoted 20 lines · Jan Kiszka
Quoted 8 lines · Philippe Gerum
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

Quoted 6 lines
Quoted 2 lines

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

Quoted 6 lines
Quoted 2 lines

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

Quoted 21 lines
Quoted 8 lines
Quoted 5 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

Quoted 9 lines

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

BTW, do we need to track the descriptor state in primary mode at all?

That is the real issue. I don't see the point of doing this with the current kernel code.

Quoted 2 lines

Jan

Signature · 1 line
Philippe.
#7 lore raw
Quoted 62 lines · Philippe Gerum
Quoted 23 lines · Jan Kiszka
Quoted 22 lines · Philippe Gerum
Quoted 20 lines · Jan Kiszka
Quoted 8 lines · Philippe Gerum
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

Quoted 6 lines
Quoted 2 lines

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

Quoted 6 lines
Quoted 2 lines

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

Quoted 28 lines
Quoted 8 lines
Quoted 5 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

Quoted 5 lines
Quoted 2 lines

BTW, do we need to track the descriptor state in primary mode at all?

That is the real issue. I don't see the point of doing this with the current kernel code.

It must have been related to the irqchip::unmask handlers on some archs which do test this, but reading the code now, I can't figure out the upside of flipping this state actually.

Quoted 4 lines
Quoted 3 lines

Jan

Signature · 1 line
Philippe.
author
#8 lore raw
In reply to Philippe Gerum
Quoted 27 lines · Philippe Gerum
Quoted 26 lines · Jan Kiszka
Quoted 24 lines · Philippe Gerum
Quoted 12 lines · Jan Kiszka
Quoted 11 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Quoted 8 lines
Quoted 3 lines

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

Quoted 6 lines
Quoted 3 lines

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

The propagation triggers the delivery of this IRQ to the Linux domain, thus at some point there will be Linux accessing the descriptor while there might be xnintr_irq_enable/disable running on some other CPU (or it was preempted at the wrong point on the very same CPU).

Quoted 29 lines
Quoted 29 lines
Quoted 9 lines
Quoted 6 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

Quoted 5 lines
Quoted 2 lines

BTW, do we need to track the descriptor state in primary mode at all?

That is the real issue. I don't see the point of doing this with the current kernel code.

Do we need to keep the status in synch with the hardware state for the case Linux may take over the descriptor again? Or will Linux test the state when processing a forwarded IRQ? These are the two potential scenarios that come to my mind. For former could be deferred, but the latter would be critical again.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#9 lore raw
Quoted 32 lines · Jan Kiszka
Quoted 31 lines · Philippe Gerum
Quoted 29 lines · Jan Kiszka
Quoted 17 lines · Philippe Gerum
Quoted 16 lines · Jan Kiszka
Quoted 14 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Quoted 7 lines
Quoted 4 lines

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Quoted 7 lines
Quoted 2 lines

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

The propagation triggers the delivery of this IRQ to the Linux domain, thus at some point there will be Linux accessing the descriptor while there might be xnintr_irq_enable/disable running on some other CPU (or it was preempted at the wrong point on the very same CPU).

The point is that XN_ISR_PROPAGATE, as a mean to force sharing of an IRQ between both domains is plain wrong. Remove this, and no conflict remains; this is what needs to be addressed. The potential issue between xnintr_enable/disable and the hal routines does not exist, if those callers handle locking properly.

Quoted 44 lines
Quoted 30 lines
Quoted 30 lines
Quoted 10 lines
Quoted 7 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

Quoted 5 lines
Quoted 2 lines

BTW, do we need to track the descriptor state in primary mode at all?

That is the real issue. I don't see the point of doing this with the current kernel code.

Do we need to keep the status in synch with the hardware state for the case Linux may take over the descriptor again? Or will Linux test the state when processing a forwarded IRQ? These are the two potential scenarios that come to my mind. For former could be deferred, but the latter would be critical again.

Jan

Signature · 1 line
Philippe.
#10 lore raw
Quoted 41 lines · Philippe Gerum
Quoted 32 lines · Jan Kiszka
Quoted 31 lines · Philippe Gerum
Quoted 29 lines · Jan Kiszka
Quoted 17 lines · Philippe Gerum
Quoted 16 lines · Jan Kiszka
Quoted 14 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Quoted 7 lines
Quoted 4 lines

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Quoted 7 lines
Quoted 2 lines

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

The propagation triggers the delivery of this IRQ to the Linux domain, thus at some point there will be Linux accessing the descriptor while there might be xnintr_irq_enable/disable running on some other CPU (or it was preempted at the wrong point on the very same CPU).

Quoted 6 lines

The point is that XN_ISR_PROPAGATE, as a mean to force sharing of an IRQ between both domains is plain wrong. Remove this, and no conflict remains; this is what needs to be addressed. The potential issue between xnintr_enable/disable and the hal routines does not exist, if those callers handle locking properly.

In any case, I don't think we could accept that sharing, so flipping the bits in the hal is in fact pointless. To match the linux locking, we should iron the irq_desc::lock, which we won't since this would cause massive jittery. We should stick to the basic logic: no sharing, therefore no tracking need for the irqflags. I'll kill XN_ISR_PROPAGATE in forge at some point, for sure.

Quoted 54 lines
Quoted 44 lines
Quoted 30 lines
Quoted 30 lines
Quoted 10 lines
Quoted 7 lines

Not sure if it
matters practically - but risking silent breakage for this micro optimization?

It was not meant as an optimization; we may not grab the linux descriptor lock in this context because we may enter it in primary mode.

Oh, that lock isn't harden as I somehow assumed. This of course complicates things.

Quoted 8 lines
Quoted 4 lines

Is disabling/enabling really in the highly
latency-critical anywhere? Otherwise, I would suggest to just plug this by adding the intended lock for this field.

The caller is expected to manage locking; AFAICS the only one who does not is the RTAI skin, which is obsolete and removed in 2.6.x, so no big deal.

The problem is that IRQ forwarding to Linux may let this manipulation race with plain Linux code, thus has to synchronize with it. It is a corner case (no one is supposed to pass IRQs down blindly anyway - if at all), but it should at least be documented ("Don't use disable/enable together with IRQ forwarding unless you acquire the descriptor lock properly!").

Quoted 5 lines
Quoted 2 lines

BTW, do we need to track the descriptor state in primary mode at all?

That is the real issue. I don't see the point of doing this with the current kernel code.

Do we need to keep the status in synch with the hardware state for the case Linux may take over the descriptor again? Or will Linux test the state when processing a forwarded IRQ? These are the two potential scenarios that come to my mind. For former could be deferred, but the latter would be critical again.

Jan

Signature · 8 lines
Philippe.



_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
author
#11 lore raw
Quoted 49 lines · Philippe Gerum
Quoted 41 lines · Philippe Gerum
Quoted 32 lines · Jan Kiszka
Quoted 31 lines · Philippe Gerum
Quoted 29 lines · Jan Kiszka
Quoted 17 lines · Philippe Gerum
Quoted 16 lines · Jan Kiszka
Quoted 14 lines · Philippe Gerum
Quoted 9 lines · Gilles Chanteperdrix
Quoted 5 lines · Jan Kiszka

Gilles,

I happened to come across rthal_mark_irq_disabled/enabled on arm. On first glance, it looks like these helpers manipulate irq_desc::status non-atomically, i.e. without holding irq_desc::lock. Isn't this fragile?

I have no idea. How do the other architectures do? As far as I know, this code has been copied from there.

Other archs do the same, simply because once an irq is managed by the hal, it may not be shared in any way with the regular kernel. So locking is pointless.

Quoted 7 lines
Quoted 4 lines

Indeed, I missed that all the other archs have this uninlined in hal.c.

However, this leaves at least a race between xnintr_disable/enable and XN_ISR_PROPAGATE (ie. the related Linux path) behind.

I can't see why XN_ISR_PROPAGATE would be involved here. This service pends an interrupt in the pipeline log.

And this finally lets Linux code run that fiddles with irq_desc::status as well - potentially in parallel to an unsyncrhonized xnintr_irq_disable in a different context. That's the problem.

Quoted 7 lines
Quoted 2 lines

Propagation happens in primary domain. When is this supposed to conflict on the same CPU with linux?

The propagation triggers the delivery of this IRQ to the Linux domain, thus at some point there will be Linux accessing the descriptor while there might be xnintr_irq_enable/disable running on some other CPU (or it was preempted at the wrong point on the very same CPU).

Quoted 6 lines

The point is that XN_ISR_PROPAGATE, as a mean to force sharing of an IRQ between both domains is plain wrong. Remove this, and no conflict remains; this is what needs to be addressed. The potential issue between xnintr_enable/disable and the hal routines does not exist, if those callers handle locking properly.

Quoted 7 lines

In any case, I don't think we could accept that sharing, so flipping the bits in the hal is in fact pointless. To match the linux locking, we should iron the irq_desc::lock, which we won't since this would cause massive jittery. We should stick to the basic logic: no sharing, therefore no tracking need for the irqflags. I'll kill XN_ISR_PROPAGATE in forge at some point, for sure.

Sounds good.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux