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] [day] [month] [year] [list]
Date:	Fri, 8 Jan 2010 17:52:20 +0900
From:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To:	adharmap@...eaurora.org
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: RFC non barrier versions of dma_map functions 

On Mon, 04 Jan 2010 15:28:33 -0800
Abhijeet Dharmapurikar <adharmap@...eaurora.org> wrote:

>    This is a request for extending the DMA api for efficient handling of 
> multiple buffers or scatter gather mapping/unmapping operations.
> 
>    I am based on an ARMv7 device and we have a situation where we need 
> to dma map multiple cached buffers for a single dma transaction.
> 
>    The current DMA api suggests the use of dma_map_single/ 
> dma_unmap_single for cache consistency. On ARMv7 it performs the 
> necessary cache-operations and calls data sync barrier instruction 
> (DSB). In our case we would be executing multiple DSB instructions
> before starting the dma operation - we need memory to be consistent
> only after we map the last buffer.

dma_map_sg? dma_map_sg requires the buffers to be consistent only
after it maps the last buffer, I think (I guess that you mean
'consistent' buffer is 'DMA ready' wrt cache).
--
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