[GIT PULL] dma-mapping fixes for Linux 6.2
From: Christoph Hellwig
Date: Fri Dec 23 2022 - 09:43:42 EST
The following changes since commit 6feb57c2fd7c787aecf2846a535248899e7b70fa:
Merge tag 'kbuild-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild (2022-12-19 12:33:32 -0600)
are available in the Git repository at:
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-2022-12-23
for you to fetch changes up to 3622b86f49f84e52fb41fee9eb55f9290613dfc3:
dma-mapping: reject GFP_COMP for noncoherent allocations (2022-12-21 08:45:38 +0100)
----------------------------------------------------------------
dma-mapping fixes for Linux 6.2
Fix up the sound code to not pass __GFP_COMP to the non-coherent DMA
allocator, as it copes with that just as badly as the coherent allocator,
and then add a check to make sure no one passes the flag ever again.
----------------------------------------------------------------
Christoph Hellwig (2):
ALSA: memalloc: don't use GFP_COMP for non-coherent dma allocations
dma-mapping: reject GFP_COMP for noncoherent allocations
kernel/dma/mapping.c | 4 ++++
sound/core/memalloc.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)