* Broken IRQ handling for S3C2416
@ 2013-06-27 11:59 José Miguel Gonçalves
2013-06-27 14:26 ` Heiko Stübner
0 siblings, 1 reply; 4+ messages in thread
From: José Miguel Gonçalves @ 2013-06-27 11:59 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: Kukjin Kim
Hi,
While migrating from kernel 3.8 to kernel 3.9 I've detected a problem on my
S3C2416 based board. I'm using UART 3 as console and with kernel 3.9 I'm unable to
have a getty working on that port and see a lot of these on dmesg:
samsung-uart s3c2440-uart.3: cannot get irq 94
Also WDT is not correctly initialized in 3.8, I see in dmesg:
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
while in 3.9 I see:
s3c2410-wdt s3c2410-wdt: tmr_margin value out of range, default 15 used
s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
s3c2410-wdt: probe of s3c2410-wdt failed with error -38
So I guess something is broken in 3.9 kernel's IRQ handling for S3C2416.
Best regards,
José Gonçalves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Broken IRQ handling for S3C2416
2013-06-27 11:59 Broken IRQ handling for S3C2416 José Miguel Gonçalves
@ 2013-06-27 14:26 ` Heiko Stübner
2013-06-27 14:48 ` José Miguel Gonçalves
0 siblings, 1 reply; 4+ messages in thread
From: Heiko Stübner @ 2013-06-27 14:26 UTC (permalink / raw)
To: José Miguel Gonçalves; +Cc: linux-samsung-soc, Kukjin Kim
Hi Jose,
Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
> Hi,
>
> While migrating from kernel 3.8 to kernel 3.9 I've detected a problem on my
> S3C2416 based board. I'm using UART 3 as console and with kernel 3.9 I'm
> unable to have a getty working on that port and see a lot of these on
> dmesg:
>
> samsung-uart s3c2440-uart.3: cannot get irq 94
>
> Also WDT is not correctly initialized in 3.8, I see in dmesg:
>
> s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
>
> while in 3.9 I see:
>
> s3c2410-wdt s3c2410-wdt: tmr_margin value out of range, default 15 used
> s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
> s3c2410-wdt: probe of s3c2410-wdt failed with error -38
>
> So I guess something is broken in 3.9 kernel's IRQ handling for S3C2416.
when I checked two days ago, the irqs where working fine on my s3c2416 board.
Basic questions, did you change the init_irq callback to the correct new
function (s3c2416_init_irq) in your board file, can you provide a more
complete log and of course and is your board-file available somewhere?
Thanks
Heiko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Broken IRQ handling for S3C2416
2013-06-27 14:26 ` Heiko Stübner
@ 2013-06-27 14:48 ` José Miguel Gonçalves
2013-06-27 14:51 ` Heiko Stübner
0 siblings, 1 reply; 4+ messages in thread
From: José Miguel Gonçalves @ 2013-06-27 14:48 UTC (permalink / raw)
To: Heiko Stübner; +Cc: linux-samsung-soc, Kukjin Kim
Hi Heiko,
On 27-06-2013 15:26, Heiko Stübner wrote:
> Hi Jose,
>
> Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
>> Hi,
>>
>> While migrating from kernel 3.8 to kernel 3.9 I've detected a problem on my
>> S3C2416 based board. I'm using UART 3 as console and with kernel 3.9 I'm
>> unable to have a getty working on that port and see a lot of these on
>> dmesg:
>>
>> samsung-uart s3c2440-uart.3: cannot get irq 94
>>
>> Also WDT is not correctly initialized in 3.8, I see in dmesg:
>>
>> s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
>>
>> while in 3.9 I see:
>>
>> s3c2410-wdt s3c2410-wdt: tmr_margin value out of range, default 15 used
>> s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
>> s3c2410-wdt: probe of s3c2410-wdt failed with error -38
>>
>> So I guess something is broken in 3.9 kernel's IRQ handling for S3C2416.
> when I checked two days ago, the irqs where working fine on my s3c2416 board.
>
> Basic questions, did you change the init_irq callback to the correct new
> function (s3c2416_init_irq) in your board file, can you provide a more
> complete log and of course and is your board-file available somewhere?
>
My bad! I missed that change on the init_irq callback. Everything is working fine now.
Thank you and sorry for the inconvenience.
Best regards,
José Gonçalves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Broken IRQ handling for S3C2416
2013-06-27 14:48 ` José Miguel Gonçalves
@ 2013-06-27 14:51 ` Heiko Stübner
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stübner @ 2013-06-27 14:51 UTC (permalink / raw)
To: José Miguel Gonçalves; +Cc: linux-samsung-soc, Kukjin Kim
Am Donnerstag, 27. Juni 2013, 16:48:16 schrieb José Miguel Gonçalves:
> Hi Heiko,
>
> On 27-06-2013 15:26, Heiko Stübner wrote:
> > Hi Jose,
> >
> > Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
> >> Hi,
> >>
> >> While migrating from kernel 3.8 to kernel 3.9 I've detected a problem on
> >> my S3C2416 based board. I'm using UART 3 as console and with kernel 3.9
> >> I'm unable to have a getty working on that port and see a lot of these
> >> on dmesg:
> >>
> >> samsung-uart s3c2440-uart.3: cannot get irq 94
> >>
> >> Also WDT is not correctly initialized in 3.8, I see in dmesg:
> >>
> >> s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
> >>
> >> while in 3.9 I see:
> >>
> >> s3c2410-wdt s3c2410-wdt: tmr_margin value out of range, default 15 used
> >> s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
> >> s3c2410-wdt: probe of s3c2410-wdt failed with error -38
> >>
> >> So I guess something is broken in 3.9 kernel's IRQ handling for S3C2416.
> >
> > when I checked two days ago, the irqs where working fine on my s3c2416
> > board.
> >
> > Basic questions, did you change the init_irq callback to the correct new
> > function (s3c2416_init_irq) in your board file, can you provide a more
> > complete log and of course and is your board-file available somewhere?
>
> My bad! I missed that change on the init_irq callback. Everything is
> working fine now. Thank you and sorry for the inconvenience.
no problem, glad I could help :-)
Heiko
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-27 14:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 11:59 Broken IRQ handling for S3C2416 José Miguel Gonçalves
2013-06-27 14:26 ` Heiko Stübner
2013-06-27 14:48 ` José Miguel Gonçalves
2013-06-27 14:51 ` Heiko Stübner
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.