Re: [PATCH 2/2 v2] ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping

From: Christoffer Dall
Date: Mon Jun 30 2014 - 05:08:47 EST


On Thu, Jun 26, 2014 at 09:46:26AM +0100, Will Deacon wrote:
> On Thu, Jun 26, 2014 at 01:45:51AM +0100, Kim Phillips wrote:
> > From: Kim Phillips <kim.phillips@xxxxxxxxxx>
> >
> > A userspace process can map device MMIO memory via VFIO or /dev/mem,
> > e.g., for platform device passthrough support in QEMU.
> >
> > During early development, we found the PAGE_S2 memory type being used
> > for MMIO mappings. This patch corrects that by using the more strongly
> > ordered memory type for device MMIO mappings: PAGE_S2_DEVICE.
> >
> > Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxx>
> > Acked-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx>
> > ---
> > Hi, here's a v2, upon request:
> >
> > - rebased onto today's mainline ToT
> > - mmu.o-build tested only (ToT build doesn't complete)
> > - made commit text less terse
> > - added Christoffer's ack
>
> Thanks for reposting this so quickly!
>
> Acked-by: Will Deacon <will.deacon@xxxxxxx>
>
Thanks,

Marc, will you apply this one to kvmarm/queue [and kvmarm/next]?

-Christoffer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/