Skip to content

Commit 9bc463b

Browse files
daviddaneyralfbaechle
authored andcommitted
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>
1 parent ae6e7e6 commit 9bc463b

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

‎arch/mips/Kbuild.platforms‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ platforms += loongson1
1818
platforms += mti-malta
1919
platforms += mti-sead3
2020
platforms += netlogic
21+
platforms += paravirt
2122
platforms += pmcs-msp71xx
2223
platforms += pnx833x
2324
platforms += ralink

‎arch/mips/Kconfig‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,25 @@ config NLM_XLP_BOARD
805805
This board is based on Netlogic XLP Processor.
806806
Say Y here if you have a XLP based board.
807807

808+
config 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+
808827
endchoice
809828

810829
source "arch/mips/alchemy/Kconfig"

0 commit comments

Comments
 (0)