Skip to content

Commit

Permalink
Merge branch 'next/kvm' into mips-for-linux-next
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbaechle committed May 9, 2013
2 parents 9b3539e + 50c8308 commit 5e0e61d
Show file tree
Hide file tree
Showing 42 changed files with 7,412 additions and 18 deletions.
4 changes: 4 additions & 0 deletions arch/mips/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ obj- := $(platform-)
obj-y += kernel/
obj-y += mm/
obj-y += math-emu/

ifdef CONFIG_KVM
obj-y += kvm/
endif
18 changes: 18 additions & 0 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,7 @@ config CPU_MIPS32_R2
select CPU_HAS_PREFETCH
select CPU_SUPPORTS_32BIT_KERNEL
select CPU_SUPPORTS_HIGHMEM
select HAVE_KVM
help
Choose this option to build a kernel for release 2 or later of the
MIPS32 architecture. Most modern embedded systems with a 32-bit
Expand Down Expand Up @@ -1734,6 +1735,20 @@ config 64BIT

endchoice

config KVM_GUEST
bool "KVM Guest Kernel"
help
Select this option if building a guest kernel for KVM (Trap & Emulate) mode

config KVM_HOST_FREQ
int "KVM Host Processor Frequency (MHz)"
depends on KVM_GUEST
default 500
help
Select this option if building a guest kernel for KVM to skip
RTC emulation when determining guest CPU Frequency. Instead, the guest
processor frequency is automatically derived from the host frequency.

choice
prompt "Kernel page size"
default PAGE_SIZE_4KB
Expand Down Expand Up @@ -2014,6 +2029,7 @@ config SB1_PASS_2_1_WORKAROUNDS
depends on CPU_SB1 && CPU_SB1_PASS_2
default y


config 64BIT_PHYS_ADDR
bool

Expand Down Expand Up @@ -2547,3 +2563,5 @@ source "security/Kconfig"
source "crypto/Kconfig"

source "lib/Kconfig"

source "arch/mips/kvm/Kconfig"
Loading

0 comments on commit 5e0e61d

Please sign in to comment.