kernel-fxtec-pro1x/drivers/firmware/google
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
..
gsmi.c firmware: fix google/gsmi duplicate efivars_sysfs_init() 2014-02-15 11:29:56 -08:00
Kconfig firmware/google: drop 'select EFI' to avoid recursive dependency 2014-01-27 21:02:40 -08:00
Makefile driver: Google Memory Console 2011-04-29 18:09:34 -07:00
memconsole.c firmware: google memconsole driver fixes 2014-02-15 11:30:28 -08:00