aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2014-05-28 17:52:15 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-06-02 06:34:20 -0400
commit9bc463be7d4529488b10c8a04461a7ad3cfeacba (patch)
treeaa64430a9ae9b7936594e1834034c0634c275cfc /arch
parentae6e7e635c2c9aa5aa5c03f5ac39e9d84fc0ee09 (diff)
MIPS: Enable build for new system 'paravirt'
Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com> Cc: linux-mips@linux-mips.org Cc: James Hogan <james.hogan@imgtec.com> Cc: kvm@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7015/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Kconfig19
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 6e239123d6fe..f5e18bf3275e 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -18,6 +18,7 @@ platforms += loongson1
18platforms += mti-malta 18platforms += mti-malta
19platforms += mti-sead3 19platforms += mti-sead3
20platforms += netlogic 20platforms += netlogic
21platforms += paravirt
21platforms += pmcs-msp71xx 22platforms += pmcs-msp71xx
22platforms += pnx833x 23platforms += pnx833x
23platforms += ralink 24platforms += ralink
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index e41f32b890fc..f6521e49e390 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -805,6 +805,25 @@ config NLM_XLP_BOARD
805 This board is based on Netlogic XLP Processor. 805 This board is based on Netlogic XLP Processor.
806 Say Y here if you have a XLP based board. 806 Say Y here if you have a XLP based board.
807 807
808config MIPS_PARAVIRT
809 bool "Para-Virtualized guest system"
810 select CEVT_R4K
811 select CSRC_R4K
812 select DMA_COHERENT
813 select SYS_SUPPORTS_64BIT_KERNEL
814 select SYS_SUPPORTS_32BIT_KERNEL
815 select SYS_SUPPORTS_BIG_ENDIAN
816 select SYS_SUPPORTS_SMP
817 select NR_CPUS_DEFAULT_4
818 select SYS_HAS_EARLY_PRINTK
819 select SYS_HAS_CPU_MIPS32_R2
820 select SYS_HAS_CPU_MIPS64_R2
821 select SYS_HAS_CPU_CAVIUM_OCTEON
822 select HW_HAS_PCI
823 select SWAP_IO_SPACE
824 help
825 This option supports guest running under ????
826
808endchoice 827endchoice
809 828
810source "arch/mips/alchemy/Kconfig" 829source "arch/mips/alchemy/Kconfig"