From: Joerg Roedel Date: Wed, 10 Jun 2015 15:49:40 +0000 (+0200) Subject: swiotlb: Warn on allocation failure in swiotlb_alloc_coherent() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~173^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94cc81f9a8f995923e35e2db936741dd62d18350;p=pandora-kernel.git swiotlb: Warn on allocation failure in swiotlb_alloc_coherent() Print a warning when all allocation tries have been failed and the function is about to return NULL. This prepares for calling the function with __GFP_NOWARN to suppress allocation failure warnings before all fall-backs have failed - which we'll do to improve kdump behavior. Signed-off-by: Joerg Roedel Signed-off-by: Borislav Petkov Acked-by: Konrad Rzeszutek Wilk Acked-by: Baoquan He Cc: Andrew Morton Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Dave Young Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Jörg Rödel Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Vivek Goyal Cc: kexec@lists.infradead.org Link: http://lkml.kernel.org/r/1433500202-25531-2-git-send-email-joro@8bytes.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed