[lkml]   [2007]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH/RFC] PCI prepare/activate instead of enable to avoid IRQ storm and rogue DMA access
    On Wed, Mar 14, 2007 at 06:34:11PM -0400, Jeff Garzik wrote:
    > Russell King 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
    > PCI grew an interrupt enable while you weren't looking:

    That's fine for devices which conform to the later PCI specs, but not
    all do.

    > It was added in PCI 2.3 I think.


    > Older PCI devices certainly do not have this standardized bit.

    No PCI device that I have has that bit - including the raid card I
    bought last year...

    In any case, relying on such a new control bit to implement this kind
    of functionality would result in a very hit and miss result; Linux
    tends to get used on things other than the bleeding edge of hardware

    Russell King
    Linux kernel 2.6 ARM Linux -
    maintainer of:
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-15 00:01    [W:0.020 / U:79.824 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site