lkml.org 
[lkml]   [2009]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: libata, devm_*, and MSI ?
    Daniel Barkalow wrote:
    ..
    > Initially, the core didn't do anything, and some drivers implemented the
    > need-intx-off quirk; eventually this went into the core as the default
    > behavior. Then some drivers implemented the need-intx-on quirk. Then some
    > common drivers for different hardware turned out to need it both ways, and
    > the core got a real quirk for it. But not all of the drivers have dropped
    > the local setting stuff.
    >
    > The right way to go is to do nothing in the driver and use quirks if you
    > need it.
    ..

    Perfect, thanks.

    Next.. who knows something about debugging MSI across PCI bridges ?
    I've got a 64-bit box here, PCIe near the core, but with full PCI-X
    slots on the far side of two bridges.

    The kernel happily allows my driver to setup MSI, but the interrupts
    never arrive. So something somewhere in between is either

    (1) not set up or quirked quite right, or
    (2) one of the bridges won't pass MSI and we don't detect that.

    I'll poke more at it later and post some info, if somebody out there
    knows enough about this kind of thing to provide some basic hints.

    Cheers!


    \
     
     \ /
      Last update: 2009-01-21 04:43    [W:4.136 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site