Re: [PATCH/RFC] PCI prepare/activate instead of enable to avoid IRQ storm and rogue DMA access

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Russell King
Date: Wednesday, March 14, 2007 - 2:56 pm

On Thu, Mar 15, 2007 at 12:23:02AM +0900, Tejun Heo wrote:

pci_enable_device() doesn't deal with this; in most PCI setups I've
seen, there is no control at PCI level over whether a device generates
an interrupt on the bus.  Certainly the memory and io command enables
have no effect on the ability of the device to cause an interrupt.

In most cases, only the driver of the device knows how to disable
interrupts on any particular device.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH/RFC] PCI prepare/activate instead of enable to ..., Stephen Hemminger, (Wed Mar 14, 10:07 am)
Re: [PATCH/RFC] PCI prepare/activate instead of enable to ..., Russell King, (Wed Mar 14, 2:56 pm)
Re: [PATCH/RFC] PCI prepare/activate instead of enable to ..., Stephen Hemminger, (Fri Mar 16, 2:21 pm)