Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328774

Re: [PATCH] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version
Date 2016-02-08 06:30 +0100
Message-ID <qZMyD-C9-15@gated-at.bofh.it> (permalink)
References <qZ3i9-2ol-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Feb 06, 2016 at 10:36:20AM +0530, Shraddha Barke wrote:
> setup_access_params_addr has 2 goals-
> 
> -Initialize the access_params field so that it can be used to send and read
> commands from the device in access_with_param
> -Get a bus address for the allocated memory to transfer to the device.
> 
> Replace the combination of devm_kzalloc and _pa() with dmam_alloc_coherent.
> Coherent mapping guarantees that the device and CPU are in sync.
> 
> Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
> ---
>  drivers/platform/goldfish/goldfish_pipe.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

Doesn't apply to my char-misc tree anymore due to other changes in the
driver, can you rebase and resend?

thanks,

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version Shraddha Barke <shraddha.6596@gmail.com> - 2016-02-06 06:10 +0100
  Re: [PATCH] Platform: goldfish: goldfish_pipe.c: Add DMA support  using managed version Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-08 06:30 +0100

csiph-web