diff options
author | 2015-05-15 16:09:54 +0900 | |
---|---|---|
committer | 2015-06-02 17:24:49 +1000 | |
commit | 1c34d824bd750f4a4287639fee8335ec51530024 (patch) | |
tree | 285da60c759743991f5727d8e1a4fd4754482111 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'drm-tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next (diff) | |
download | linux-dev-1c34d824bd750f4a4287639fee8335ec51530024.tar.xz linux-dev-1c34d824bd750f4a4287639fee8335ec51530024.zip |
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 <acourbot@nvidia.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions