[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 10/12] KVM/MIPS: Set page size to 16K in KVM mode.
From: |
Sanjay Lal |
Subject: |
[Qemu-devel] [PATCH 10/12] KVM/MIPS: Set page size to 16K in KVM mode. |
Date: |
Sat, 2 Mar 2013 07:18:45 -0800 |
---
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 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build., (continued)
- [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 05/12] KVM/MIPS: In KVM mode, inject IRQ2 (I/O) interupts via ioctls(). COP0 emulation is in-kernel, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 04/12] KVM/MIPS: Do not start the periodic timer in KVM mode. Compare/Count timer interrupts are handled in-kernel., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 06/12] KVM/MIPS: Define APIs to convert Guest KSEG0 <-> Guest Physical addresses., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 10/12] KVM/MIPS: Set page size to 16K in KVM mode.,
Sanjay Lal <=
- Re: [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Processors, Zhang, Yang Z, 2013/03/03
- Re: [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Processors, Andreas Färber, 2013/03/04