aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorSanjay Lal <sanjayl@kymasys.com>2012-11-21 21:33:59 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-05-07 21:55:34 -0400
commit2235a54deaba06cd814f0f5815c98ad4dd5a6c4f (patch)
treec93cb56270978233d0775d582e8a095ba35e2ad6 /arch/mips/Kconfig
parentfc0460d0dfb19d4887f509a2573197ca0f417ce9 (diff)
KVM/MIPS32: Infrastructure/build files.
- Add the KVM option to MIPS build files. - Add default config files for KVM host/guest kernels. - Change the link address for the Malta KVM Guest kernel to UM (0x40100000). - Add KVM Kconfig file with KVM/MIPS specific options Signed-off-by: Sanjay Lal <sanjayl@kymasys.com> Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ae9c716c46bb..87d50d73d3b3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1242,6 +1242,7 @@ config CPU_MIPS32_R2
1242 select CPU_HAS_PREFETCH 1242 select CPU_HAS_PREFETCH
1243 select CPU_SUPPORTS_32BIT_KERNEL 1243 select CPU_SUPPORTS_32BIT_KERNEL
1244 select CPU_SUPPORTS_HIGHMEM 1244 select CPU_SUPPORTS_HIGHMEM
1245 select HAVE_KVM
1245 help 1246 help
1246 Choose this option to build a kernel for release 2 or later of the 1247 Choose this option to build a kernel for release 2 or later of the
1247 MIPS32 architecture. Most modern embedded systems with a 32-bit 1248 MIPS32 architecture. Most modern embedded systems with a 32-bit
@@ -1743,6 +1744,20 @@ config 64BIT
1743 1744
1744endchoice 1745endchoice
1745 1746
1747config KVM_GUEST
1748 bool "KVM Guest Kernel"
1749 help
1750 Select this option if building a guest kernel for KVM (Trap & Emulate) mode
1751
1752config KVM_HOST_FREQ
1753 int "KVM Host Processor Frequency (MHz)"
1754 depends on KVM_GUEST
1755 default 500
1756 help
1757 Select this option if building a guest kernel for KVM to skip
1758 RTC emulation when determining guest CPU Frequency. Instead, the guest
1759 processor frequency is automatically derived from the host frequency.
1760
1746choice 1761choice
1747 prompt "Kernel page size" 1762 prompt "Kernel page size"
1748 default PAGE_SIZE_4KB 1763 default PAGE_SIZE_4KB
@@ -2023,6 +2038,7 @@ config SB1_PASS_2_1_WORKAROUNDS
2023 depends on CPU_SB1 && CPU_SB1_PASS_2 2038 depends on CPU_SB1 && CPU_SB1_PASS_2
2024 default y 2039 default y
2025 2040
2041
2026config 64BIT_PHYS_ADDR 2042config 64BIT_PHYS_ADDR
2027 bool 2043 bool
2028 2044
@@ -2556,3 +2572,5 @@ source "security/Kconfig"
2556source "crypto/Kconfig" 2572source "crypto/Kconfig"
2557 2573
2558source "lib/Kconfig" 2574source "lib/Kconfig"
2575
2576source "arch/mips/kvm/Kconfig"