From: Tom Rini Date: Sat, 25 Jan 2020 12:09:19 -0500 Subject: [PATCH v2 1/4] asm: dma-mapping.h: Fix dma mapping functions In-Reply-To: <20200116085348.24031-2-vigneshr@ti.com> References: <20200116085348.24031-1-vigneshr@ti.com> <20200116085348.24031-2-vigneshr@ti.com> Message-ID: <20200125170919.GK26536@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 16, 2020 at 02:23:45PM +0530, Vignesh Raghavendra wrote: > Subsystems such as USB expect dma_map_single() and dma_unmap_single() to > do dcache flush/invalidate operations as required. For example, see > see drivers/usb/gadget/udc/udc-core.c::usb_gadget_map_request(). > Currently drivers do this locally, (see drivers/usb/dwc3/ep0.c, > drivers/mtd/nand/raw/denali.c etc..) > Update arch specific dma_map_single() and dma_unmap_single() APIs to do > cache flush/invalidate operations, so that drivers need not implement > them locally. > > Signed-off-by: Vignesh Raghavendra > Reviewed-by: Masahiro Yamada > Reviewed-by: Rick Chen Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: