public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Does it need to implement irq_set_type method in the ioapic_chip?
@ 2014-02-18  7:18 carl peng
  0 siblings, 0 replies; 8+ messages in thread
From: carl peng @ 2014-02-18  7:18 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm sorry to bother you!
Does it need to implement irq_set_type method in the
ioapic_chip(arch/x86/kernel/apic/io_apic.c) structure?

Recently,  I developed a device driver based on x86. The device uses a
falling edge interrupt trigger mode, so I have to set the trigger mode
in the request_irq function, but found that it can not be set
successfully, it turn out to be that the irq_set_type method is not be
implemented in the ioapic_chip structure, that is to say, for APIC
interrupt controller, can not set the trigger mode.

So I would like to consult with you for two questions:
1. Does it need to implement irq_set_type method in the ioapic_chip structure?
2. if no need to implement it, how can device driver set the trigger
mode of APIC interrupt controller pin?

Thank you!
Carl

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

end of thread, other threads:[~2014-02-19 16:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAC5e1FoLrHWSa_7BnRt-u451ZJOVqKhSpbyp8O_ExDbgcXtU+g@mail.gmail.com>
2014-02-18 20:13 ` Does it need to implement irq_set_type method in the ioapic_chip? Thomas Gleixner
2014-02-19  2:32   ` carl peng
2014-02-19  2:34     ` H. Peter Anvin
2014-02-19  3:13       ` carl peng
2014-02-19 12:07         ` Thomas Gleixner
2014-02-19 13:28           ` H. Peter Anvin
2014-02-19 16:37     ` H. Peter Anvin
2014-02-18  7:18 carl peng

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