mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* dma_sync_sg_for_cpu applied to a single scatterlist element
@ 2010-03-15 21:30 Alan Stern
  2010-03-15 22:59 ` James Bottomley
  2010-03-15 23:16 ` FUJITA Tomonori
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Stern @ 2010-03-15 21:30 UTC (permalink / raw)
  To: James Bottomley; +Cc: Kernel development list

This is addressed to James Bottomley as he is the author of
Documentation/DMA-API.txt, but anyone else who can contribute is
invited to do so.

Suppose a scatter-gather transfer with multiple scatterlist elements
has been mapped via dma_map_sg().  Is it then valid to call 
dma_sync_sg_for_cpu() with the "sg" argument pointing to one of the 
mapped scatterlist elements (not necessarily the first one) and the 
"nelems" argument set to 1?

Thanks,

Alan Stern


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-18 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 21:30 dma_sync_sg_for_cpu applied to a single scatterlist element Alan Stern
2010-03-15 22:59 ` James Bottomley
2010-03-16 14:30   ` Alan Stern
2010-03-16 22:28     ` FUJITA Tomonori
2010-03-17 15:22       ` Alan Stern
2010-03-18  1:46         ` FUJITA Tomonori
2010-03-18 14:13           ` Alan Stern
2010-03-15 23:16 ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®