[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <afb549d1-a7d8-47ee-83af-76faedbb55a0@rowland.harvard.edu>
Date: Fri, 4 Jul 2025 09:51:03 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Xu Yang <xu.yang_2@....com>
Cc: ezequiel@...guardiasur.com.ar, mchehab@...nel.org,
laurent.pinchart@...asonboard.com, hdegoede@...hat.com,
gregkh@...uxfoundation.org, mingo@...nel.org, tglx@...utronix.de,
andriy.shevchenko@...ux.intel.com, viro@...iv.linux.org.uk,
thomas.weissschuh@...utronix.de, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
imx@...ts.linux.dev, jun.li@....com
Subject: Re: [PATCH v5 1/3] usb: core: add dma-noncoherent buffer alloc and
free API
On Fri, Jul 04, 2025 at 05:57:49PM +0800, Xu Yang wrote:
> This will add usb_alloc_noncoherent() and usb_free_noncoherent()
> functions to support alloc and free buffer in a dma-noncoherent way.
>
> To explicit manage the memory ownership for the kernel and device,
> this will also add usb_dma_noncoherent_sync_for_cpu/device() functions
> and call it at proper time. The management requires the user save
> sg_table returned by usb_alloc_noncoherent() to urb->sgt.
>
> Signed-off-by: Xu Yang <xu.yang_2@....com>
Reviewed-by: Alan Stern <stern@...land.harvard.edu>
Powered by blists - more mailing lists