All of lore.kernel.org
 help / color / mirror / Atom feed
* Sun4d boot crash in sun4d_init_timers
@ 2011-05-23 17:28 Kjetil Oftedal
  2011-05-23 18:59 ` daniel
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kjetil Oftedal @ 2011-05-23 17:28 UTC (permalink / raw)
  To: sparclinux

Hi,

The current sparc-next-2.6 encounters a zero pointer on sun4d during boot. 
I have bisected it down to the changes made during the introduction of 
genirq. 

The problematic change is in sun4d_init_timers(). sun4d_build_device_irq() 
is now called from there with NULL as the first parameter, which will for 
obvious reasons not work. 

I've tried to change sun4d_build_device_irq() to allow building a device irq 
for the timer interrupt without any platform device, as it is a cpu local 
interrupt(?), and just bypassing all the sbus specifics in 
sun4d_build_device_irq(), down to irq_alloc(). (Setting pil to real_irq and 
board to 0).

With such a change request_irq() fails with -90, which is probably -ENOSYS 
from __setup_irq(). 

Any suggestions on how this could be fixed ?

-
Kjetil Oftedal








^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-27 22:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 17:28 Sun4d boot crash in sun4d_init_timers Kjetil Oftedal
2011-05-23 18:59 ` daniel
2011-05-23 23:05 ` Josip Rodin
2011-05-24  8:59 ` Josip Rodin
2011-05-24 17:43 ` Kjetil Oftedal
2011-05-27 22:13 ` Tom Callaway

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.