public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] SN platform needs platform_irq_to_vector?
@ 2007-08-02  4:27 Kenji Kaneshige
  2007-08-02  7:27 ` Jes Sorensen
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Kenji Kaneshige @ 2007-08-02  4:27 UTC (permalink / raw)
  To: linux-ia64

Hi Jes-san, Russ-san, Christoph-san and SN platform developers,

I glanced over the SN code, and I found SN platform doesn't have SN
specific irq_to_vector() function, though it has SN specific
local_vector_to_irq() function. I guess it was OK because maybe SN
platform depends on irq = vector and old generic irq_to_vector() was
just returning the same value as irq.

The irq_to_vector() function, however, has been changed by vector
domain support, and currently it can return the different value from
irq, even when VECTOR_DOMAIN_PERCPU is not enabled. This can happen
when an interrupt thorough I/O SAPIC is unregistered and another
interupt is registered. So if my guess (SN platform depends on irq =
vector) is true, something problem might happen on SN platform when
PCI hotplugging or driver reloading.

If it is true that SN platform depends on irq = vector, we need to
implement SN specific irq_to_vector() that returns the same value as
irq, I think. I made sample patches to implement platform specific
irq_to_vector() as follows. Note that [PATCH 2/2] is not tested yet
because I don't have any SN platform unfortunately.

    [PATCH 1/2] Add base support for platform_irq_to_vector()
    [PATCH 2/2] Implement platform_irq_to_vector() for SN

Could you give me comments?

Thanks,
Kenji Kaneshige



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

end of thread, other threads:[~2007-08-06 13:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02  4:27 [RFC][PATCH 0/2] SN platform needs platform_irq_to_vector? Kenji Kaneshige
2007-08-02  7:27 ` Jes Sorensen
2007-08-02 13:26 ` John Keller
2007-08-02 14:04 ` Kenji Kaneshige
2007-08-02 14:50 ` Russ Anderson
2007-08-02 17:38 ` Keith Rich
2007-08-02 19:32 ` John Keller
2007-08-03  5:22 ` Kenji Kaneshige
2007-08-03  6:04 ` Yasuaki Ishimatsu
2007-08-03  6:20 ` Kenji Kaneshige
2007-08-03 14:58 ` Russ Anderson
2007-08-03 18:03 ` John Keller
2007-08-03 18:19 ` Luck, Tony
2007-08-06 13:59 ` John Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox