From: Alexandre Courbot Date: Fri, 15 May 2015 07:09:54 +0000 (+0900) Subject: drm/ttm: dma: Don't crash on memory in the vmalloc range X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c34d824bd750f4a4287639fee8335ec51530024;p=pandora-kernel.git drm/ttm: dma: Don't crash on memory in the vmalloc range dma_alloc_coherent() can return memory in the vmalloc range. virt_to_page() cannot handle such addresses and crashes. This patch detects such cases and obtains the struct page * using vmalloc_to_page() instead. Signed-off-by: Alexandre Courbot Acked-by: Konrad Rzeszutek Wilk Signed-off-by: Dave Airlie --- Reading git-diff-tree failed