* Regression in 3.2.9 for omap-serial (at least)
@ 2012-03-08 10:55 Enrico Scholz
2012-03-08 11:46 ` Thomas Gleixner
0 siblings, 1 reply; 6+ messages in thread
From: Enrico Scholz @ 2012-03-08 10:55 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
the commit "genirq: Unmask oneshot irqs when thread was not woken"[1]
breaks at least the omap-serial driver which requests a shared interrupt
as
--- arch/arm/mach-omap2/serial.c ---
ret = request_threaded_irq(uart->irq, NULL, omap_uart_interrupt,
IRQF_SHARED, "serial idle", (void *)uart);
--- drivers/tty/serial/omap-serial.c
retval = request_irq(up->port.irq, serial_omap_irq, up->port.irqflags,
up->name, up);
(note the missing IRQF_ONESHOT in the first piece of code)
Where previously
if (!irqd_irq_disabled(&desc->irq_data) && !(desc->istate & IRQS_ONESHOT))
unmask_irq(desc);
was checked in kernel/irq/chip.c, now
if (!irqd_irq_disabled(&desc->irq_data) &&
irqd_irq_masked(&desc->irq_data) && !desc->threads_oneshot)
unmask_irq(desc);
will be done.
Because the threaded irq was requested without IRQF_ONESHOT, IRQS_ONESHOT
is not set but 'desc->threads_oneshot' is 1 due to the threaded irq. So,
irq was unmasked with old code but stays masked with the new one. The new
behavior renders systems unusable because console becomes disfunctional.
Enrico
Footnotes:
[1] aa0eb3474beae8f6d9dcc2311dc02bea50cfd7b7
^ permalink raw reply [flat|nested] 6+ messages in thread
* Regression in 3.2.9 for omap-serial (at least)
2012-03-08 10:55 Regression in 3.2.9 for omap-serial (at least) Enrico Scholz
@ 2012-03-08 11:46 ` Thomas Gleixner
2012-03-08 15:26 ` jean-philippe francois
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Gleixner @ 2012-03-08 11:46 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 8 Mar 2012, Enrico Scholz wrote:
> Hi,
>
> the commit "genirq: Unmask oneshot irqs when thread was not woken"[1]
> breaks at least the omap-serial driver which requests a shared interrupt
Fixed with 52abb700e16a9a
Thanks,
tglx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Regression in 3.2.9 for omap-serial (at least)
2012-03-08 11:46 ` Thomas Gleixner
@ 2012-03-08 15:26 ` jean-philippe francois
2012-03-08 19:26 ` Thomas Gleixner
0 siblings, 1 reply; 6+ messages in thread
From: jean-philippe francois @ 2012-03-08 15:26 UTC (permalink / raw)
To: linux-arm-kernel
Le 8 mars 2012 12:46, Thomas Gleixner <tglx@linutronix.de> a ?crit :
> On Thu, 8 Mar 2012, Enrico Scholz wrote:
>> Hi,
>>
>> the commit "genirq: Unmask oneshot irqs when thread was not woken"[1]
>> breaks at least the omap-serial driver which requests a shared interrupt
>
> Fixed with 52abb700e16a9a
How can I find it ?
I tried searching in various tree on git.kernel.org,
but could not find the fix.
>
> Thanks,
>
> ? ? ? ?tglx
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Regression in 3.2.9 for omap-serial (at least)
2012-03-08 15:26 ` jean-philippe francois
@ 2012-03-08 19:26 ` Thomas Gleixner
2012-03-09 7:34 ` jean-philippe francois
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Gleixner @ 2012-03-08 19:26 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 8 Mar 2012, jean-philippe francois wrote:
> Le 8 mars 2012 12:46, Thomas Gleixner <tglx@linutronix.de> a ?crit :
> > On Thu, 8 Mar 2012, Enrico Scholz wrote:
> >> Hi,
> >>
> >> the commit "genirq: Unmask oneshot irqs when thread was not woken"[1]
> >> breaks at least the omap-serial driver which requests a shared interrupt
> >
> > Fixed with 52abb700e16a9a
>
> How can I find it ?
> I tried searching in various tree on git.kernel.org,
> but could not find the fix.
It's in Linus tree.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=52abb700e16a9aa4cbc03f3d7f80206cbbc80680
^ permalink raw reply [flat|nested] 6+ messages in thread
* Regression in 3.2.9 for omap-serial (at least)
2012-03-08 19:26 ` Thomas Gleixner
@ 2012-03-09 7:34 ` jean-philippe francois
2012-03-12 22:12 ` Russell King - ARM Linux
0 siblings, 1 reply; 6+ messages in thread
From: jean-philippe francois @ 2012-03-09 7:34 UTC (permalink / raw)
To: linux-arm-kernel
Le 8 mars 2012 20:26, Thomas Gleixner <tglx@linutronix.de> a ?crit :
> On Thu, 8 Mar 2012, jean-philippe francois wrote:
>
>> Le 8 mars 2012 12:46, Thomas Gleixner <tglx@linutronix.de> a ?crit :
>> > On Thu, 8 Mar 2012, Enrico Scholz wrote:
>> >> Hi,
>> >>
>> >> the commit "genirq: Unmask oneshot irqs when thread was not woken"[1]
>> >> breaks at least the omap-serial driver which requests a shared interrupt
>> >
>> > Fixed with 52abb700e16a9a
>>
>> How can I find it ?
>> I tried searching in various tree on git.kernel.org,
>> but could not find the fix.
>
> It's in Linus tree.
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=52abb700e16a9aa4cbc03f3d7f80206cbbc80680
Thank you !
In fact I don't know how to use this interface to search by commit number.
Do you know if it is possible ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Regression in 3.2.9 for omap-serial (at least)
2012-03-09 7:34 ` jean-philippe francois
@ 2012-03-12 22:12 ` Russell King - ARM Linux
0 siblings, 0 replies; 6+ messages in thread
From: Russell King - ARM Linux @ 2012-03-12 22:12 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 09, 2012 at 08:34:44AM +0100, jean-philippe francois wrote:
> Le 8 mars 2012 20:26, Thomas Gleixner <tglx@linutronix.de> a ?crit :
> > It's in Linus tree.
> >
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=52abb700e16a9aa4cbc03f3d7f80206cbbc80680
>
> Thank you !
> In fact I don't know how to use this interface to search by commit number.
> Do you know if it is possible ?
There is no direct way to do it.
You can replace <commit-id> below with either the long commit id, or an
abbreviated commit id:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=<commit-id>
So, for commit id 52abb70,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=52abb70
will work.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-12 22:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 10:55 Regression in 3.2.9 for omap-serial (at least) Enrico Scholz
2012-03-08 11:46 ` Thomas Gleixner
2012-03-08 15:26 ` jean-philippe francois
2012-03-08 19:26 ` Thomas Gleixner
2012-03-09 7:34 ` jean-philippe francois
2012-03-12 22:12 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).