From: Joerg Roedel Date: Mon, 23 Mar 2009 14:35:08 +0000 (+0100) Subject: dma-debug: make memory range checks more consistent X-Git-Tag: v2.6.30-rc1~614^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9537a48ed4b9e4b738943d6da0a0fd4278adf905;p=pandora-kernel.git dma-debug: make memory range checks more consistent Impact: extend on-kernel-stack DMA debug checks to all !highmem pages We only checked dma_map_single() - extend it to dma_map_page() and dma_map_sg() as well. Also, fix dma_map_single() corner case bug: make sure we dont stack-check highmem (not mapped) pages. Reported-by: FUJITA Tomonori Signed-off-by: Joerg Roedel Cc: iommu@lists.linux-foundation.org LKML-Reference: <1237818908-26516-1-git-send-email-joerg.roedel@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed