diff options
author | Michel Lespinasse <[email protected]> | 2014-01-28 05:06:22 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-02-15 11:30:28 -0800 |
commit | cb88759107292b4bf36d13c73129add580d4e26e (patch) | |
tree | 5dfc70e1d1692a705fc35acb48af63c06c6a9867 /tools/perf/scripts/python/syscall-counts.py | |
parent | b12b73f1ca7763a94e0949a0d86eea40b5f69ea6 (diff) |
firmware: google memconsole driver fixes
The google memconsole driver is currently broken upstream, as it tries
to read memory that is described as reserved in /proc/iomem, by
dereferencing a pointer obtained through phys_to_virt(). This triggers
a kernel fault as such regions are unmapped after early boot.
The proper workaround is to use ioremap_cache() / iounmap() around such
accesses.
As some unrelated changes, I also converted some printks to use pr_info()
and added some missing __init annotations.
Tested: booted dbg build, verified I could read /sys/firmware/log
Signed-off-by: Michel Lespinasse <[email protected]>
Acked-by: Mike Waychison <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions