23 Jul, 2008

1 commit

  • This patch adds to ioatdma and dca modules
    support for Intel I/OAT DMA engine ver.3 (aka CB3 device).
    The main features of I/OAT ver.3 are:
    * 8 single channel DMA devices (8 channels total)
    * 8 DCA providers, each can accept 2 requesters
    * 8-bit TAG values and 32-bit extended APIC IDs

    Signed-off-by: Maciej Sosnowski
    Signed-off-by: Dan Williams

    Maciej Sosnowski
     

15 Nov, 2007

1 commit

  • Add support for version 2 of the ioatdma device. This device handles
    the descriptor chain and DCA services slightly differently:
    - Instead of moving the dma descriptors between a busy and an idle chain,
    this new version uses a single circular chain so that we don't have
    rewrite the next_descriptor pointers as we add new requests, and the
    device doesn't need to re-read the last descriptor.
    - The new device has the DCA tags defined internally instead of needing
    them defined statically.

    Signed-off-by: Shannon Nelson
    Cc: "Williams, Dan J"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson
     

19 Oct, 2007

3 commits

  • Make better use of dev_err(), and catch an error where the transaction
    creation might fail.

    Signed-off-by: Shannon Nelson
    Cc: Dan Williams
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson
     
  • Don't start ioat_dca if ioat_dma didn't start, and then stop ioat_dca
    before stopping ioat_dma. Since the ioat_dma side does the pci device
    work, This takes care of ioat_dca trying to use a bad device reference.

    Signed-off-by: Shannon Nelson
    Cc: Dan Williams
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson
     
  • Reorder the pci release actions
    Letting go of the resources in the right order helps get rid of
    occasional kernel complaints.

    Fix the pci_driver object name [Randy Dunlap]
    Rename the struct pci_driver data so that false section mismatch
    warnings won't be produced.

    Cc: Randy Dunlap
    Signed-off-by: Shannon Nelson
    Cc: Dan Williams
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson
     

17 Oct, 2007

2 commits

  • Add code to connect to the DCA driver and provide cpu tags for use by
    drivers that would like to use Direct Cache Access hints.

    [Adrian Bunk] Several Kconfig cleanup items
    [Andrew Morten, Chris Leech] Fix for using cpu_physical_id() even when
    built for uni-processor

    Signed-off-by: Shannon Nelson
    Acked-by: David S. Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson
     
  • Split the general PCI startup from the DMA handling code in order to
    prepare for adding support for DCA services and future versions of the
    ioatdma device.

    [Rusty Russell] Removal of __unsafe() usage.

    Signed-off-by: Shannon Nelson
    Acked-by: David S. Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shannon Nelson