aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2020-06-11 07:25:57 +0000
committerChristoph Hellwig <[email protected]>2020-06-15 06:35:30 +0000
commitdbed452a078d56bc7f1abecc3edd6a75e8e4484e (patch)
tree41c79e400f6c40dd8a4e97db5aa1b028514277c7 /scripts/gcc-plugins
parentdma-pool: fix too large DMA pools on medium memory size systems (diff)
downloadkernel-dbed452a078d56bc7f1abecc3edd6a75e8e4484e.tar.gz
kernel-dbed452a078d56bc7f1abecc3edd6a75e8e4484e.zip
dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL
DMA_REMAP is an unnecessary requirement for AMD SEV, which requires DMA_COHERENT_POOL, so avoid selecting it when it is otherwise unnecessary. The only other requirement for DMA coherent pools is DMA_DIRECT_REMAP, so ensure that properly selects the config option when needed. Fixes: 82fef0ad811f ("x86/mm: unencrypted non-blocking DMA allocations use coherent pools") Reported-by: Alex Xu (Hello71) <[email protected]> Signed-off-by: David Rientjes <[email protected]> Tested-by: Alex Xu (Hello71) <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions