[PATCH 2/2] drivers-firmware: google memconsole driver fixes

2014-01-28 Thread Michel Lespinasse
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

[PATCH 2/2] drivers-firmware: google memconsole driver fixes

2014-01-28 Thread Michel Lespinasse
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