35a17eb6a8
This is kind of hokey, we could use the hardware provided facilities much better. MSIs are assosciated with MSI Queues. MSI Queues generate interrupts when any MSI assosciated with it is signalled. This suggests a two-tiered IRQ dispatch scheme: MSI Queue interrupt --> queue interrupt handler MSI dispatch --> driver interrupt handler But we just get one-level under Linux currently. What I'd like to do is possibly stick the IRQ actions into a per-MSI-Queue data structure, and dispatch them form there, but the generic IRQ layer doesn't provide a way to do that right now. So, the current kludge is to "ACK" the interrupt by processing the MSI Queue data structures and ACK'ing them, then we run the actual handler like normal. We are wasting a lot of useful information, for example the MSI data and address are provided with ever MSI, as well as a system tick if available. If we could pass this into the IRQ handler it could help with certain things, in particular for PCI-Express error messages. The MSI entries on sparc64 also tell you exactly which bus/device/fn sent the MSI, which would be great for error handling when no registered IRQ handler can service the interrupt. We override the disable/enable IRQ chip methods in sun4v_msi, so we have to call {mask,unmask}_msi_irq() directly from there. This is another ugly wart. Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
a.out.h | ||
agp.h | ||
apb.h | ||
asi.h | ||
atomic.h | ||
auxio.h | ||
auxvec.h | ||
bbc.h | ||
bitops.h | ||
bpp.h | ||
bsderrno.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
chafsr.h | ||
checksum.h | ||
chmctrl.h | ||
cmt.h | ||
compat_signal.h | ||
compat.h | ||
const.h | ||
cpudata.h | ||
cputime.h | ||
current.h | ||
dcr.h | ||
dcu.h | ||
delay.h | ||
device.h | ||
display7seg.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
ebus.h | ||
elf.h | ||
emergency-restart.h | ||
envctrl.h | ||
errno.h | ||
estate.h | ||
fbio.h | ||
fcntl.h | ||
fhc.h | ||
floppy.h | ||
fpumacro.h | ||
futex.h | ||
hardirq.h | ||
head.h | ||
hw_irq.h | ||
hypervisor.h | ||
ide.h | ||
idprom.h | ||
intr_queue.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipc.h | ||
ipcbuf.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
isa.h | ||
Kbuild | ||
kdebug.h | ||
kmap_types.h | ||
kprobes.h | ||
linkage.h | ||
local.h | ||
lsu.h | ||
mc146818rtc.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mostek.h | ||
msgbuf.h | ||
mutex.h | ||
namei.h | ||
ns87303.h | ||
numnodes.h | ||
of_device.h | ||
openprom.h | ||
openpromio.h | ||
oplib.h | ||
page.h | ||
param.h | ||
parport.h | ||
pbm.h | ||
pci.h | ||
pconf.h | ||
percpu.h | ||
perfctr.h | ||
pgalloc.h | ||
pgtable.h | ||
pil.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
prom.h | ||
psrcompat.h | ||
pstate.h | ||
ptrace.h | ||
reg.h | ||
resource.h | ||
rtc.h | ||
rwsem-const.h | ||
rwsem.h | ||
sbus.h | ||
scatterlist.h | ||
scratchpad.h | ||
seccomp.h | ||
sections.h | ||
semaphore.h | ||
sembuf.h | ||
setup.h | ||
sfafsr.h | ||
sfp-machine.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
solerrno.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
spitfire.h | ||
starfire.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
sunbpp.h | ||
svr4.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
tsb.h | ||
ttable.h | ||
types.h | ||
uaccess.h | ||
uctx.h | ||
unaligned.h | ||
unistd.h | ||
upa.h | ||
user.h | ||
utrap.h | ||
vga.h | ||
visasm.h | ||
watchdog.h | ||
xor.h |