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

From: gregkh@xxxxxxxxxxxxxxxxxxx
Date: Thu Feb 11 2021 - 09:11:58 EST


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.