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


Groups > linux.kernel > #1371259

RE: [PATCH] usb: gadget: udc-core: remove manual dma configuration

From Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Newsgroups linux.kernel
Subject RE: [PATCH] usb: gadget: udc-core: remove manual dma configuration
Date 2016-04-05 08:30 +0200
Message-ID <rksEW-7oi-3@gated-at.bofh.it> (permalink)
References <rkb1n-2kr-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

> From: Grygorii Strashko [mailto:grygorii.strashko@ti.com]
> Sent: Monday, April 04, 2016 8:32 PM
> 
> Since commit 7ace8fc8219e ("usb: gadget: udc: core: Fix argument of
> dma_map_single for IOMMU") it is not necessary to configure DMA for
> usb_gadget device manually, because all DMA operation are performed
> using parent/controller device.
> 
> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

My environment could work correctly after I applied this patch.
So,

Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>


I realized that the commit 7ace8fc8219e is not suitable for my environment.
(Especially I realized it could use all of DMAC channels when IOMMU was enabled.)
So, I will submit RFC patch set for udc-core.c / renesas_usbhs later :)

Best regards,
Yoshihiro Shimoda

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


Thread

[PATCH] usb: gadget: udc-core: remove manual dma configuration Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-04 13:40 +0200
  RE: [PATCH] usb: gadget: udc-core: remove manual dma configuration Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> - 2016-04-05 08:30 +0200

csiph-web