[PATCH v4] staging: gdm724x: Fix DMA from stack

gregkh at linuxfoundation.org gregkh at linuxfoundation.org
Thu Feb 11 13:52:12 UTC 2021


On Thu, Feb 11, 2021 at 01:28:41PM +0000, David Laight wrote:
> > Stack allocated buffers cannot be used for DMA
> > on all architectures so allocate hci_packet buffer
> > using kmalloc.
> 
> I wonder if the usb stack ought/could support a short bounce
> buffer within the memory is already has to allocate?

No.


More information about the devel mailing list