* [PATCH 0/2] Alchemy: fix interrupt routing
@ 2007-12-05 16:08 Sergei Shtylyov
2007-12-05 16:39 ` Manuel Lauss
0 siblings, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2007-12-05 16:08 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
Hello.
The two following patches together fix the interrupt routing currently broken
and causing boot failure with such messages:
unexpected IRQ # 8
irq 8, desc: 80406dd0, depth: 1, count: 0, unhandled: 0
->handle_irq(): 80157d70, handle_bad_irq+0x0/0x38c
->chip(): 804016d0, 0x804016d0
->action(): 00000000
IRQ_DISABLED set
The patches are against the Linus' tree...
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 16:08 [PATCH 0/2] Alchemy: fix interrupt routing Sergei Shtylyov
@ 2007-12-05 16:39 ` Manuel Lauss
2007-12-05 18:23 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Manuel Lauss @ 2007-12-05 16:39 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: ralf, linux-mips
Sergei,
Sergei Shtylyov schrieb:
> Hello.
>
> The two following patches together fix the interrupt routing currently broken
> and causing boot failure with such messages:
>
> unexpected IRQ # 8
> irq 8, desc: 80406dd0, depth: 1, count: 0, unhandled: 0
> ->handle_irq(): 80157d70, handle_bad_irq+0x0/0x38c
> ->chip(): 804016d0, 0x804016d0
> ->action(): 00000000
> IRQ_DISABLED set
>
> The patches are against the Linus' tree...
>
> WBR, Sergei
Thanks a billion!
Finally I can boot linux-2.6.24-rc on my Au1200 again!
--
Manuel Lauss
HSSE / FH Hagenberg
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 16:39 ` Manuel Lauss
@ 2007-12-05 18:23 ` Ralf Baechle
2007-12-05 18:29 ` Sergei Shtylyov
2007-12-05 18:57 ` Sergei Shtylyov
0 siblings, 2 replies; 7+ messages in thread
From: Ralf Baechle @ 2007-12-05 18:23 UTC (permalink / raw)
To: Manuel Lauss; +Cc: Sergei Shtylyov, linux-mips
On Wed, Dec 05, 2007 at 05:39:10PM +0100, Manuel Lauss wrote:
> Thanks a billion!
> Finally I can boot linux-2.6.24-rc on my Au1200 again!
And with a bit of luck Alchemy will now support tickless, too.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 18:23 ` Ralf Baechle
@ 2007-12-05 18:29 ` Sergei Shtylyov
2007-12-05 18:57 ` Sergei Shtylyov
1 sibling, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2007-12-05 18:29 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Manuel Lauss, linux-mips
Ralf Baechle wrote:
>>Thanks a billion!
>>Finally I can boot linux-2.6.24-rc on my Au1200 again!
> And with a bit of luck Alchemy will now support tickless, too.
Sigh. If only it had working PCI... :-(
> Ralf
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 18:23 ` Ralf Baechle
2007-12-05 18:29 ` Sergei Shtylyov
@ 2007-12-05 18:57 ` Sergei Shtylyov
2007-12-05 19:12 ` Ralf Baechle
1 sibling, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2007-12-05 18:57 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Manuel Lauss, linux-mips
Ralf Baechle wrote:
>>Thanks a billion!
>>Finally I can boot linux-2.6.24-rc on my Au1200 again!
> And with a bit of luck Alchemy will now support tickless, too.
It works:
Timer Stats Version: v0.2
Sample period: 8.024 s
8, 1 swapper __netdev_watchdog_up (dev_watchdog)
8, 1 swapper phy_connect (phy_timer)
8, 1 swapper phy_connect (phy_timer)
7, 0 swapper receive_chars (delayed_work_timer_fn)
1, 1 swapper cache_register (delayed_work_timer_fn)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
4, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
2, 866 mvltd schedule_timeout (process_timeout)
1, 0 swapper page_writeback_init (wb_timer_fn)
1, 1 init schedule_timeout (process_timeout)
41 total events, 5.109 events/sec
> Ralf
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 18:57 ` Sergei Shtylyov
@ 2007-12-05 19:12 ` Ralf Baechle
2007-12-05 19:22 ` Sergei Shtylyov
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2007-12-05 19:12 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: Manuel Lauss, linux-mips
On Wed, Dec 05, 2007 at 09:57:24PM +0300, Sergei Shtylyov wrote:
> It works:
> 41 total events, 5.109 events/sec
That's the expected behaviour, good.
One of the remaining problems on some platforms with tickless kernels is
that not all clocksource / clockevent driver combinations are playing
nicely with each other. You can switch the clocksource driver manually
at runtime. First let's see what clocksource we have:
# cd /sys/devices/system/clocksource/clocksource0/
# cat available_clocksource
MIPS pit jiffies
# cat current_clocksource
MIPS
MIPS is the CP0 count register. pit is the i8259 and jiffies simply counts
interrupts like in the old days so has problems with lost timer interrupts
and generally not such a great idea for tickless. You should be able to
switch between all these drivers by something like:
# echo jiffies > current_clocksource
Time: jiffies clocksource has been installed.
#
Try switching between all the available clocksources a few times to see if
that's working right also.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Alchemy: fix interrupt routing
2007-12-05 19:12 ` Ralf Baechle
@ 2007-12-05 19:22 ` Sergei Shtylyov
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2007-12-05 19:22 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Manuel Lauss, linux-mips
Ralf Baechle wrote:
>> It works:
>>41 total events, 5.109 events/sec
> That's the expected behaviour, good.
> One of the remaining problems on some platforms with tickless kernels is
> that not all clocksource / clockevent driver combinations are playing
> nicely with each other. You can switch the clocksource driver manually
> at runtime. First let's see what clocksource we have:
>
> # cd /sys/devices/system/clocksource/clocksource0/
> # cat available_clocksource
> MIPS pit jiffies
I only have MIPS and jiffies of course. :-)
> # cat current_clocksource
> MIPS
> MIPS is the CP0 count register. pit is the i8259 and jiffies simply counts
> interrupts like in the old days so has problems with lost timer interrupts
> and generally not such a great idea for tickless. You should be able to
> switch between all these drivers by something like:
> # echo jiffies > current_clocksource
> Time: jiffies clocksource has been installed.
> #
> Try switching between all the available clocksources a few times to see if
> that's working right also.
It died after I selected jiffies.
> Ralf
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-12-05 19:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 16:08 [PATCH 0/2] Alchemy: fix interrupt routing Sergei Shtylyov
2007-12-05 16:39 ` Manuel Lauss
2007-12-05 18:23 ` Ralf Baechle
2007-12-05 18:29 ` Sergei Shtylyov
2007-12-05 18:57 ` Sergei Shtylyov
2007-12-05 19:12 ` Ralf Baechle
2007-12-05 19:22 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox