Michel Lespinasse cb88759107 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 <walken@google.com>
Acked-by: Mike Waychison <mikew@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-15 11:30:28 -08:00
..
2014-02-05 16:01:11 -08:00
2014-02-09 15:21:16 -05:00
2014-01-23 18:49:36 -08:00
2014-01-23 18:49:36 -08:00
2014-01-29 20:00:13 -08:00
2014-01-25 13:19:10 -08:00
2014-01-26 11:00:41 -08:00
2014-01-12 23:48:18 +01:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-01-22 22:24:35 -08:00
2014-02-05 16:01:11 -08:00