linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Virtual IRQs on 82xx
@ 2008-08-28  6:37 Muller, Ralf (NSN - FI/Espoo)
  2008-08-28 16:27 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Muller, Ralf (NSN - FI/Espoo) @ 2008-08-28  6:37 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

Hi,

I'm using a 8247 custom board and kernl 2.6.21.7 on the arch/powerpc
branch. Here the irq are virtualized  in the irq map functions now I'm
facing several problems.
* I have to manually call irq_create_of_mapping for each CPM interrupt
* The irq_map structure, which associates virtual to HW IRQs is not
initialized auto matically
* The reverse map isn't initialized

And the major problem is:
Now the kernel mixes virtual- and HW-IRQs, e.g. request_irq works with
HW_IRQs but the interrupt handler with virtual interrupts, which can't
work.
For some reason even on a powerpc the first 16 interrupts are reserved
for legacy (PC) IRQs, so the easiest mapping HW-IRQ0 -> VIRQ16 a.s.o
Is there an solution available for this problem, at least for it looks
like the problem still persists in 2.6.26?

Regards,
Ralf


[-- Attachment #2: Type: text/html, Size: 1915 bytes --]

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

end of thread, other threads:[~2008-08-28 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28  6:37 Virtual IRQs on 82xx Muller, Ralf (NSN - FI/Espoo)
2008-08-28 16:27 ` Scott Wood

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).