[PATCH] ibmvscsi: use GFP_KERNEL with dma_alloc_coherent in initialize_event_pool
Martin K. Petersen
martin.petersen at oracle.com
Thu Oct 21 14:42:51 AEDT 2021
On Wed, 9 Jan 2019 18:59:09 -0800, Tyrel Datwyler wrote:
> During driver probe we allocate a dma region for our event pool.
> Currently, zero is passed for the gfp_flags parameter. Driver probe
> callbacks run in process context and we hold no locks so we can sleep
> here if necessary.
>
> Fix by passing GFP_KERNEL explicitly to dma_alloc_coherent().
>
> [...]
Applied to 5.16/scsi-queue, thanks!
[1/1] ibmvscsi: use GFP_KERNEL with dma_alloc_coherent in initialize_event_pool
https://git.kernel.org/mkp/scsi/c/3319a8ba82b9
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linuxppc-dev
mailing list