diff options
| author | Baoquan He <hebaoquan@kylinos.cn> | 2026-09-03 19:18:36 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-24 01:56:01 -0700 |
| commit | 1528ed9f962f328280b918b066188a0fe3a5ce0e (patch) | |
| tree | b396ecd98969bec4e2183a52e60bba1390fbc5e6 /tools/perf/scripts/python/flamegraph.py | |
| parent | 4d7507b166f84c0c1d76b0aba19ebfd585465772 (diff) | |
usb: cdns2: don't use GFP_DMA when calling dma_alloc_coherent()
dma_alloc_coherent() allocates the DMA buffer with the device's
addressing limitation in mind; the DMA core picks the zone from the
device's coherent DMA mask and ignores GFP_DMA passed by the caller.
Use GFP_KERNEL instead so the allocation may reclaim as usual for
probe-time allocations.
Link: https://lore.kernel.org/20260903111836.1777265-14-hebaoquan@kylinos.cn
Signed-off-by: Baoquan He <hebaoquan@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Harry Yoo <harry@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
