Re: [PATCH RFC] MIPS: KVM: role back pc in case of EMULATE_FAIL

2015-05-08 Thread Nicholas Mc Guire
On Fri, 08 May 2015, James Hogan wrote: > On 07/05/15 13:51, Nicholas Mc Guire wrote: > > Currently if kvm_mips_complete_mmio_load() fails with EMULATE_FAIL it will > > not role back the pc nor will the caller handle this failure. > > > > Signed-off-by: Nicholas Mc Guire > > --- > > arch/mips/k

Re: [PATCH RFC] MIPS: KVM: role back pc in case of EMULATE_FAIL

2015-05-08 Thread James Hogan
On 07/05/15 13:51, Nicholas Mc Guire wrote: > Currently if kvm_mips_complete_mmio_load() fails with EMULATE_FAIL it will > not role back the pc nor will the caller handle this failure. > > Signed-off-by: Nicholas Mc Guire > --- > arch/mips/kvm/emulate.c |4 +++- > 1 file changed, 3 insertion

[PATCH RFC] MIPS: KVM: role back pc in case of EMULATE_FAIL

2015-05-07 Thread Nicholas Mc Guire
Currently if kvm_mips_complete_mmio_load() fails with EMULATE_FAIL it will not role back the pc nor will the caller handle this failure. Signed-off-by: Nicholas Mc Guire --- arch/mips/kvm/emulate.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) kvm_mips_complete_mmio_load is called