--- target-mips/mips-defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target-mips/mips-defs.h b/target-mips/mips-defs.h index bf094a3..473ddf8 100644 --- a/target-mips/mips-defs.h +++ b/target-mips/mips-defs.h @@ -5,7 +5,12 @@ //#define USE_HOST_FLOAT_REGS /* Real pages are variable size... */ +#ifdef CONFIG_KVM +/* For KVM/MIPS the minimum page size is 16K due to cache aliasing issues */ +#define TARGET_PAGE_BITS 14 +#else #define TARGET_PAGE_BITS 12 +#endif #define MIPS_TLB_MAX 128 #if defined(TARGET_MIPS64) -- 1.7.11.3
- [Qemu-devel] [PATCH 12/12] KVM/MIPS: General KVM support a... Sanjay Lal
- [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for M... Sanjay Lal
- Re: [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/M... Peter Maydell
- Re: [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/M... Andreas Färber
- [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for MIPS SMP... Sanjay Lal
- Re: [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for... Peter Maydell
- [Qemu-devel] [PATCH 05/12] KVM/MIPS: In KVM mode, inject I... Sanjay Lal
- [Qemu-devel] [PATCH 01/12] MIPS: Bootcode for MIPS SMP con... Sanjay Lal
- [Qemu-devel] [PATCH 06/12] KVM/MIPS: Define APIs to conver... Sanjay Lal
- [Qemu-devel] [PATCH 04/12] KVM/MIPS: Do not start the peri... Sanjay Lal
- [Qemu-devel] [PATCH 10/12] KVM/MIPS: Set page size to 16K ... Sanjay Lal
- Re: [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Proc... Zhang, Yang Z
- Re: [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Proc... Andreas Färber