From: Thomas Hellstrom Date: Mon, 9 Dec 2013 07:23:57 +0000 (-0800) Subject: drm/ttm: Fix accesses through vmas with only partial coverage X-Git-Tag: v3.2.55~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882f85b5380e13093710f5a7ffbe575e85ba8fd8;p=pandora-kernel.git drm/ttm: Fix accesses through vmas with only partial coverage commit d386735588c3e22129c2bc6eb64fc1d37a8f805c upstream. VMAs covering a bo but that didn't start at the same address space offset as the bo they were mapping were incorrectly generating SEGFAULT errors in the fault handler. Reported-by: Joseph Dolinak Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz [bwh: Backported to 3.2: drm_vma_node_start() is open-coded; vma_pages() was open-coded] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed