Re: [patch 2.6.13] swiotlb: add swiotlb_sync_single_range_for_{cpu,device}

From: John W. Linville (linville_at_tuxdriver.com)
Date: 08/30/05

  • Next message: Howard Wang: "linux device driver for microchip 24LC014"
    Date:	Tue, 30 Aug 2005 14:09:14 -0400
    To: "Luck, Tony" <tony.luck@intel.com>
    
    

    On Tue, Aug 30, 2005 at 11:03:35AM -0700, Luck, Tony wrote:
    >
    > >+swiotlb_sync_single_range_for_cpu(struct device *hwdev,
    > >+swiotlb_sync_single_range_for_device(struct device *hwdev,
    >
    > Huh? These look identical ... same args, same code, just a
    > different name.

    Have you looked at the implementations for swiotlb_sync_single_for_cpu
    and swiotlb_sync_single_for_device? Those are already identical.

    I'm just following the existing style/practice in that file. I could
    do an additional patch to rectify the replication in those functions
    if you'd like?

    Who is responsible for the swiotlb code?

    John

    -- 
    John W. Linville
    linville@tuxdriver.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Howard Wang: "linux device driver for microchip 24LC014"

    Relevant Pages

    • Re: [patch 2.6.12 (repost w/ corrected subject)] pci: restore BAR values in pci_enable_device_bars
      ... We could have a test to only execute the BAR restoration ... seemed to add needless complexity. ... John W. Linville ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch 2.6.13 0/5] normalize calculations of rx_dropped
      ... John W. Linville wrote: ... usually due to kernel being over-worked. ... Failed to TX due to driver abort. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Kernel hang with 2.6.9-mm3-S6
      ... On Fri, 2004-09-24 at 21:07, Gilbert, John wrote: ... > I'm building a KGDB instrumented low latency Linux kernel, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: PROBLEM:: irreversible Memory growth of process in mmap()-munmap() calls
      ... John F Welch Technology Center ... Subject: PROBLEM:: irreversible Memory growth of process in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: setproctitle
      ... > the args, but the set operation would build the new title in a new kernel-controlled ... Fortunately _start code doesn't execute ... the destroyed stack would not contain ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)