Re: [PATCH v3 5/7] ARM: KVM: don't special case PC when doing an MMIO

2013-05-27 Thread Christoffer Dall
On Tue, May 14, 2013 at 12:11:38PM +0100, Marc Zyngier wrote: > Admitedly, reading a MMIO register to load PC is very weird. > Writing PC to a MMIO register is probably even worse. But > the architecture doesn't forbid any of these, and injecting > a Prefetch Abort is the wrong thing to do anyway.

[PATCH v3 5/7] ARM: KVM: don't special case PC when doing an MMIO

2013-05-14 Thread Marc Zyngier
Admitedly, reading a MMIO register to load PC is very weird. Writing PC to a MMIO register is probably even worse. But the architecture doesn't forbid any of these, and injecting a Prefetch Abort is the wrong thing to do anyway. Remove this check altogether, and let the adventurous guest wander in