Skip to content
Commit d0bc0c2a authored by Christian König's avatar Christian König Committed by Christoph Hellwig
Browse files

swiotlb: suppress warning when __GFP_NOWARN is set



TTM tries to allocate coherent memory in chunks of 2MB first to improve
TLB efficiency and falls back to allocating 4K pages if that fails.

Suppress the warning when the 2MB allocations fails since there is a
valid fall back path.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarMike Galbraith <efault@gmx.de>
Acked-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104082


CC: stable@vger.kernel.org
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 23475ad4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment