Broken IRQ handling for S3C2416
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
Hi Jose,
Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
Quoted 13 lines
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
Quoted 7 lines
while in 3.9 I see:
s3c2410-wdt s3c2410-wdt:
tmr_marginvalue out of range, default 15 used s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
s3c2410-wdt: probe of s3c2410-wdt failed with error -38So 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
Hi Heiko,
Quoted 22 lines · Heiko Stübner
Hi Jose,
Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
Quoted 19 lines
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_marginvalue 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
Quoted 7 lines
Quoted 1 line
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_irqcallback 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
Am Donnerstag, 27. Juni 2013, 16:48:16 schrieb José Miguel Gonçalves:
Quoted 30 lines
Hi Heiko,
Quoted 27 lines · Heiko Stübner
Hi Jose,
Am Donnerstag, 27. Juni 2013, 13:59:07 schrieb José Miguel Gonçalves:
Quoted 13 lines
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
Quoted 7 lines
while in 3.9 I see:
s3c2410-wdt s3c2410-wdt:
tmr_marginvalue out of range, default 15 used s3c2410-wdt s3c2410-wdt: failed to install irq (-38)
s3c2410-wdt: probe of s3c2410-wdt failed with error -38So 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.
Quoted 6 lines
Quoted 3 lines
Basic questions, did you change the
init_irqcallback 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_irqcallback. Everything is working fine now. Thank you and sorry for the inconvenience.
no problem, glad I could help :-)
Heiko