Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes)causes hang

From: Markus Trippelsdorf
Date: Wed Jul 17 2013 - 15:38:32 EST


On 2013.07.18 at 03:27 +0800, Xiao Guangrong wrote:
>
> Could you please try this:
>
> index 460b9c6..16d1578 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -2952,6 +2952,9 @@ static bool page_fault_can_be_fast(u32 error_code)
> !(error_code & PFERR_WRITE_MASK))
> return false;
>
> + if (error_code & PFERR_RSVD_MASK)
> + return false;
> +
> return true;
> }

This fixes the issue for me. Many thanks Xiao.

--
Markus
--
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/