lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA9_cmehScXsCgxwTHxSJ-KXaa52itDoY+3j1Yajnpy-GFU7Hg@mail.gmail.com>
Date:	Thu, 20 Jun 2013 14:20:30 -0700
From:	Dan Williams <djbw@...com>
To:	Jon Mason <jon.mason@...el.com>
Cc:	Vinod Koul <vinod.koul@...el.com>,
	Dave Jiang <dave.jiang@...el.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] dmadevices: dma_sync_wait undefined

On Wed, Jun 19, 2013 at 9:28 AM, Jon Mason <jon.mason@...el.com> wrote:
> On Tue, Jun 18, 2013 at 06:13:28PM -0700, Dan Williams wrote:
[..]
> NTB is currently using it to flush any pending DMAs.  This is needed
> to allow the DMA engine and the CPU to perform operations on the same
> "Memory Window".  Without this, it is possible for the operations to
> complete out of order, which is not a desired outcome for any network
> traffic over NTB.  CPU is preferred over DMA engine for small
> transfers.  Also, it provides an alternative for errors in the DMA
> engine copy process (e.g., DMA mapping, device_prep_dma_memcpy, and
> dmaengine_submit).

Ok there really isn't a better alternative, is NTB always polling or
does it also use completion callbacks?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ