diff options
author | Huacai Chen <chenhc@lemote.com> | 2020-07-29 14:58:37 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-04 09:39:29 +0200 |
commit | 39c1485c8baa47aa20caefc1ec0a3410fbad6c81 (patch) | |
tree | 36e9f28ada3c449934aef97da6d99aa0e9c913b3 /arch/mips/include/asm/mach-loongson64/boot_param.h | |
parent | dt-bindings: mips: Document Loongson kvm guest board (diff) | |
download | linux-39c1485c8baa47aa20caefc1ec0a3410fbad6c81.tar.gz linux-39c1485c8baa47aa20caefc1ec0a3410fbad6c81.tar.bz2 linux-39c1485c8baa47aa20caefc1ec0a3410fbad6c81.zip |
MIPS: KVM: Add kvm guest support for Loongson-3
Loongson-3 KVM guest is based on virtio, it use liointc as its interrupt
controller and use GPEX as the pci controller.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson64/boot_param.h')
-rw-r--r-- | arch/mips/include/asm/mach-loongson64/boot_param.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h index b35be709f9da..afc92b7a61c6 100644 --- a/arch/mips/include/asm/mach-loongson64/boot_param.h +++ b/arch/mips/include/asm/mach-loongson64/boot_param.h @@ -194,7 +194,8 @@ struct boot_params { enum loongson_bridge_type { LS7A = 1, - RS780E = 2 + RS780E = 2, + VIRTUAL = 3 }; struct loongson_system_configuration { @@ -230,5 +231,6 @@ extern struct loongson_system_configuration loongson_sysconf; extern u32 node_id_offset; extern void ls7a_early_config(void); extern void rs780e_early_config(void); +extern void virtual_early_config(void); #endif |