misc/pvpanic: add MMIO support
authorPeng Hao <peng.hao2@zte.com.cn>
Tue, 6 Nov 2018 14:57:14 +0000 (22:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 12:53:04 +0000 (13:53 +0100)
commit725eba2928ada8d0fe6bafb984e37576851edc91
treec4c98d5428d3b392c45dee74f07aa25b0f576845
parentd2ae1717f3f6b1bd86cd05d0443169b645445d62
misc/pvpanic: add MMIO support

On some architectures (e.g. arm64), it's preferable to use MMIO, since
this can be used standalone. Add MMIO support to the pvpanic driver.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[Use acpi_dev_resource_memory API. - Andy]
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pvpanic.c