Re: Re: [PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-30 Thread Andy Shevchenko
On Tue, Oct 30, 2018 at 5:08 AM wrote: > >On Mon, Oct 29, 2018 at 12:54 PM wrote: > >I would consider it as a bug if on some architectures iounmap() is not > >able to take a base got from ioport_map(). > I added TYPE_PVPANIC_MMIO in QEMU to the architecture that does not support > IOPORT. > I

Re: [PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-29 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 12:54 PM wrote: > > >On Mon, Oct 29, 2018 at 5:22 AM Peng Hao wrote: > >> > >> 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. > > > >> pvpanic_walk_resources(struct acpi_reso

Re: [PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-29 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 5:22 AM Peng Hao wrote: > > 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. > pvpanic_walk_resources(struct acpi_resource *res, void *context) > { > + struct acpi_resource

[PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-28 Thread Peng Hao
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. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/misc/pvpa