lkml.org 
[lkml]   [2014]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Does it need to implement irq_set_type method in the ioapic_chip?
On Wed, 19 Feb 2014, carl peng wrote:
> At last, the device will be connected to AMBA bus, so the interrupt
> pin will be connected to IOAPIC through AMBA bus. The device now
> is in the pre-silicon verification stage.
>
> So my question is the same:
> Why does APIC driver not implement the irq_set_type method? if

Because we do not need it. All devices are properly connected and
configured by the BIOS and bus discovery.

> implement it, will supply more free space for the device driver
> developer(they can set the interrupttrigger mode by calling request_irq).

There are 3 different mechanisms already to tell the kernel to
configure a particular irq line: ACPI, MP Tables and SFI.

That's the way x86 does its interrupt configuration and there is no
need to provide another one.

Thanks,

tglx


\
 
 \ /
  Last update: 2014-02-19 13:41    [W:0.048 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site