aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2018-02-06 03:02:23 -0500
committerMauro Carvalho Chehab <[email protected]>2018-02-26 08:06:31 -0500
commitd13a0139d7874a0577b5955d6eed895517d23b72 (patch)
treebea9ec23c8fef71f4118c2b6fca465c66259ef1d /tools/perf/scripts/python/bin/stackcollapse-report
parent14351d44830ec00b8c66b44c8c866944da678c33 (diff)
media: vb2: Fix videobuf2 to map correct area
Fixes vb2_vmalloc_get_userptr() to ioremap correct area. Since the current code does ioremap the page address, if the offset > 0, it does not do ioremap the last page and results in kernel panic. This fixes to pass the size + offset to ioremap so that ioremap can map correct area. Also, this uses __pfn_to_phys() to get the physical address of given PFN. Signed-off-by: Masami Hiramatsu <[email protected]> Reported-by: Takao Orito <[email protected]> Reported-by: Fumihiro ATSUMI <[email protected]> Reviewed-by: Marek Szyprowski <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions