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: <4642FFA7.4040303@cdac.in>
Date:	Thu, 10 May 2007 16:49:03 +0530
From:	Mahesh <maheshk@...c.in>
To:	David Miller <davem@...emloft.net>
CC:	linux-kernel@...r.kernel.org, kernelnewbies@...linux.org
Subject: Re: [HOWTO] accessing the DMA mapped data

Hi Miller,

Thanks for replying.
> You can eithe keep track of this yourself, or (depending upon
> your usage) you might be able to use DMA pools, see
> dma_pool_create() and friends.
>   
I think you have not understood my question properly. My problem is, the 
layer above the driver will do
dma_map_single on a kmalloc'ed buffer and passes the result  (bus 
address) to the device driver. Now
the driver has to modify the contents of the the original buffer.
Is it possible to do that ??

-regards,
Mahesh

-
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