KVM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h
@ 2020-07-29  6:58 Huacai Chen
  2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Huacai Chen @ 2020-07-29  6:58 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic, Rob Herring
  Cc: linux-mips, kvm, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

Instead of duplicating the PCI_VENDOR_ID_REDHAT definition everywhere,
move it to include/linux/pci_ids.h is better.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
This patch has been merged into PCI tree, but the current MIPS tree need
it to avoid build error.

 drivers/gpu/drm/qxl/qxl_dev.h           | 2 --
 drivers/net/ethernet/rocker/rocker_hw.h | 1 -
 include/linux/pci_ids.h                 | 2 ++
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/qxl/qxl_dev.h b/drivers/gpu/drm/qxl/qxl_dev.h
index a0ee416..a7bc31f 100644
--- a/drivers/gpu/drm/qxl/qxl_dev.h
+++ b/drivers/gpu/drm/qxl/qxl_dev.h
@@ -131,8 +131,6 @@ enum SpiceCursorType {
 
 #pragma pack(push, 1)
 
-#define REDHAT_PCI_VENDOR_ID 0x1b36
-
 /* 0x100-0x11f reserved for spice, 0x1ff used for unstable work */
 #define QXL_DEVICE_ID_STABLE 0x0100
 
diff --git a/drivers/net/ethernet/rocker/rocker_hw.h b/drivers/net/ethernet/rocker/rocker_hw.h
index 59f1f8b..62fd84c 100644
--- a/drivers/net/ethernet/rocker/rocker_hw.h
+++ b/drivers/net/ethernet/rocker/rocker_hw.h
@@ -25,7 +25,6 @@ enum {
 
 #define ROCKER_FP_PORTS_MAX 62
 
-#define PCI_VENDOR_ID_REDHAT		0x1b36
 #define PCI_DEVICE_ID_REDHAT_ROCKER	0x0006
 
 #define ROCKER_PCI_BAR0_SIZE		0x2000
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 0ad5769..5c709a1 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2585,6 +2585,8 @@
 
 #define PCI_VENDOR_ID_ASMEDIA		0x1b21
 
+#define PCI_VENDOR_ID_REDHAT		0x1b36
+
 #define PCI_VENDOR_ID_AMAZON_ANNAPURNA_LABS	0x1c36
 
 #define PCI_VENDOR_ID_CIRCUITCO		0x1cc8
-- 
2.7.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
@ 2020-07-29  6:58 ` Huacai Chen
  2020-07-29  9:52   ` Thomas Bogendoerfer
  2020-07-29  6:58 ` [PATCH 3/5] MIPS: KVM: Add kvm guest support for Loongson-3 Huacai Chen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: Huacai Chen @ 2020-07-29  6:58 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic, Rob Herring
  Cc: linux-mips, kvm, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

Document loongson64v-4core-virtio, a virtio based kvm guest board for
Loongson-3.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
 Documentation/devicetree/bindings/mips/loongson/devices.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
index 88c5a29..d25e80a 100644
--- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml
+++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
@@ -32,4 +32,8 @@ properties:
       - description: Generic Loongson64 Quad Core + LS7A
         items:
           - const: loongson,loongson64g-4core-ls7a
+
+      - description: Virtual Loongson64 Quad Core + VirtIO
+        items:
+          - const: loongson,loongson64v-4core-virtio
 ...
-- 
2.7.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 3/5] MIPS: KVM: Add kvm guest support for Loongson-3
  2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
  2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
@ 2020-07-29  6:58 ` Huacai Chen
  2020-07-29  6:58 ` [PATCH 4/5] MIPS: Update default config file " Huacai Chen
  2020-07-29  6:58 ` [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers Huacai Chen
  3 siblings, 0 replies; 13+ messages in thread
From: Huacai Chen @ 2020-07-29  6:58 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic, Rob Herring
  Cc: linux-mips, kvm, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

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>
---
 arch/mips/Kconfig                                  |   1 +
 arch/mips/boot/dts/loongson/Makefile               |   1 +
 .../boot/dts/loongson/loongson64v_4core_virtio.dts | 102 +++++++++++++++++++++
 arch/mips/include/asm/mach-loongson64/boot_param.h |   4 +-
 .../include/asm/mach-loongson64/builtin_dtbs.h     |   1 +
 arch/mips/loongson64/env.c                         |  15 ++-
 arch/mips/loongson64/init.c                        |   5 +
 7 files changed, 126 insertions(+), 3 deletions(-)
 create mode 100644 arch/mips/boot/dts/loongson/loongson64v_4core_virtio.dts

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f6bb446..499a20d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -478,6 +478,7 @@ config MACH_LOONGSON64
 	select COMMON_CLK
 	select USE_OF
 	select BUILTIN_DTB
+	select PCI_HOST_GENERIC
 	help
 	  This enables the support of Loongson-2/3 family of machines.
 
diff --git a/arch/mips/boot/dts/loongson/Makefile b/arch/mips/boot/dts/loongson/Makefile
index ae1c8bf..8fd0efb 100644
--- a/arch/mips/boot/dts/loongson/Makefile
+++ b/arch/mips/boot/dts/loongson/Makefile
@@ -3,5 +3,6 @@ dtb-$(CONFIG_MACH_LOONGSON64)	+= loongson64c_4core_ls7a.dtb
 dtb-$(CONFIG_MACH_LOONGSON64)	+= loongson64c_4core_rs780e.dtb
 dtb-$(CONFIG_MACH_LOONGSON64)	+= loongson64c_8core_rs780e.dtb
 dtb-$(CONFIG_MACH_LOONGSON64)	+= loongson64g_4core_ls7a.dtb
+dtb-$(CONFIG_MACH_LOONGSON64)	+= loongson64v_4core_virtio.dtb
 
 obj-$(CONFIG_BUILTIN_DTB)	+= $(addsuffix .o, $(dtb-y))
diff --git a/arch/mips/boot/dts/loongson/loongson64v_4core_virtio.dts b/arch/mips/boot/dts/loongson/loongson64v_4core_virtio.dts
new file mode 100644
index 00000000..41f0b11
--- /dev/null
+++ b/arch/mips/boot/dts/loongson/loongson64v_4core_virtio.dts
@@ -0,0 +1,102 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/dts-v1/;
+/ {
+	compatible = "loongson,loongson64v-4core-virtio";
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	cpuintc: interrupt-controller {
+		#address-cells = <0>;
+		#interrupt-cells = <1>;
+		interrupt-controller;
+		compatible = "mti,cpu-interrupt-controller";
+	};
+
+	package0: bus@1fe00000 {
+		compatible = "simple-bus";
+		#address-cells = <2>;
+		#size-cells = <1>;
+		ranges = <0 0x1fe00000 0 0x1fe00000 0x100000
+			0 0x3ff00000 0 0x3ff00000 0x100000
+			0xefd 0xfb000000 0xefd 0xfb000000 0x10000000>;
+
+		liointc: interrupt-controller@3ff01400 {
+			compatible = "loongson,liointc-1.0";
+			reg = <0 0x3ff01400 0x64>;
+
+			interrupt-controller;
+			#interrupt-cells = <2>;
+
+			interrupt-parent = <&cpuintc>;
+			interrupts = <2>, <3>;
+			interrupt-names = "int0", "int1";
+
+			loongson,parent_int_map = <0x00000001>, /* int0 */
+						<0xfffffffe>, /* int1 */
+						<0x00000000>, /* int2 */
+						<0x00000000>; /* int3 */
+
+		};
+
+		cpu_uart0: serial@1fe001e0 {
+			compatible = "ns16550a";
+			reg = <0 0x1fe001e0 0x8>;
+			clock-frequency = <33000000>;
+			interrupt-parent = <&liointc>;
+			interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
+			no-loopback-test;
+		};
+	};
+
+	bus@10000000 {
+		compatible = "simple-bus";
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges = <0 0x10000000 0 0x10000000 0 0x10000000 /* PIO & CONF & APB */
+				0 0x40000000 0 0x40000000 0 0x40000000>; /* PCI MEM */
+
+		rtc0: rtc@10081000 {
+			compatible = "google,goldfish-rtc";
+			reg = <0 0x10081000 0 0x1000>;
+			interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-parent = <&liointc>;
+		};
+
+		pci@1a000000 {
+			compatible = "pci-host-ecam-generic";
+			device_type = "pci";
+			#address-cells = <3>;
+			#size-cells = <2>;
+			#interrupt-cells = <1>;
+
+			bus-range = <0x0 0x1f>;
+			reg = <0 0x1a000000 0 0x02000000>;
+
+			ranges = <0x01000000 0x0 0x00004000 0x0 0x18004000 0x0 0x0000c000>,
+				 <0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>;
+
+			interrupt-map = <
+				0x0000 0x0 0x0  0x1  &liointc  0x2 IRQ_TYPE_LEVEL_HIGH
+				0x0800 0x0 0x0  0x1  &liointc  0x3 IRQ_TYPE_LEVEL_HIGH
+				0x1000 0x0 0x0  0x1  &liointc  0x4 IRQ_TYPE_LEVEL_HIGH
+				0x1800 0x0 0x0  0x1  &liointc  0x5 IRQ_TYPE_LEVEL_HIGH
+				>;
+
+			interrupt-map-mask = <0x1800 0x0 0x0  0x7>;
+		};
+
+		isa {
+			compatible = "isa";
+			#address-cells = <2>;
+			#size-cells = <1>;
+			ranges = <1 0 0 0x18000000 0x4000>;
+		};
+	};
+
+	hypervisor {
+		compatible = "linux,kvm";
+	};
+};
diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h
index b35be70..afc92b7 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
diff --git a/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h b/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h
index 6d2f141..839410c 100644
--- a/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h
+++ b/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h
@@ -12,4 +12,5 @@ extern u32 __dtb_loongson64c_4core_ls7a_begin[];
 extern u32 __dtb_loongson64c_4core_rs780e_begin[];
 extern u32 __dtb_loongson64c_8core_rs780e_begin[];
 extern u32 __dtb_loongson64g_4core_ls7a_begin[];
+extern u32 __dtb_loongson64v_4core_virtio_begin[];
 #endif
diff --git a/arch/mips/loongson64/env.c b/arch/mips/loongson64/env.c
index 2cb9573..99bc199 100644
--- a/arch/mips/loongson64/env.c
+++ b/arch/mips/loongson64/env.c
@@ -167,14 +167,25 @@ void __init prom_init_env(void)
 	vendor = id & 0xffff;
 	device = (id >> 16) & 0xffff;
 
-	if (vendor == PCI_VENDOR_ID_LOONGSON && device == 0x7a00) {
+	switch (vendor) {
+	case PCI_VENDOR_ID_LOONGSON:
 		pr_info("The bridge chip is LS7A\n");
 		loongson_sysconf.bridgetype = LS7A;
 		loongson_sysconf.early_config = ls7a_early_config;
-	} else {
+		break;
+	case PCI_VENDOR_ID_AMD:
+	case PCI_VENDOR_ID_ATI:
 		pr_info("The bridge chip is RS780E or SR5690\n");
 		loongson_sysconf.bridgetype = RS780E;
 		loongson_sysconf.early_config = rs780e_early_config;
+		break;
+	case PCI_VENDOR_ID_REDHAT:
+	default:
+		pr_info("The bridge chip is VIRTUAL\n");
+		loongson_sysconf.bridgetype = VIRTUAL;
+		loongson_sysconf.early_config = virtual_early_config;
+		loongson_fdt_blob = __dtb_loongson64v_4core_virtio_begin;
+		break;
 	}
 
 	if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) {
diff --git a/arch/mips/loongson64/init.c b/arch/mips/loongson64/init.c
index 8ba22c30..ed75f79 100644
--- a/arch/mips/loongson64/init.c
+++ b/arch/mips/loongson64/init.c
@@ -42,6 +42,11 @@ void rs780e_early_config(void)
 	node_id_offset = 37;
 }
 
+void virtual_early_config(void)
+{
+	node_id_offset = 44;
+}
+
 void __init prom_init(void)
 {
 	fw_init_cmdline();
-- 
2.7.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 4/5] MIPS: Update default config file for Loongson-3
  2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
  2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
  2020-07-29  6:58 ` [PATCH 3/5] MIPS: KVM: Add kvm guest support for Loongson-3 Huacai Chen
@ 2020-07-29  6:58 ` Huacai Chen
  2020-07-29  6:58 ` [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers Huacai Chen
  3 siblings, 0 replies; 13+ messages in thread
From: Huacai Chen @ 2020-07-29  6:58 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic, Rob Herring
  Cc: linux-mips, kvm, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

Update Loongson-3's default config file:
1, Adjust NR_CPUS to 16;
2, Add a built-in cmdline "ieee754=relaxed";
3, Enable MSA, CGROUPS, NAMESPACES, KVM, and XFS support;
4, Enable all possible virtio drivers to support KVM Host/Guest;
5, Enable all necessary netfilter modules to support virtual network;

Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
 arch/mips/configs/loongson3_defconfig | 89 ++++++++++++++++++++++++++++++++---
 1 file changed, 83 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index 3d4c7e9..a65b08d 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -15,7 +15,13 @@ CONFIG_TASK_IO_ACCOUNTING=y
 CONFIG_MEMCG=y
 CONFIG_MEMCG_SWAP=y
 CONFIG_BLK_CGROUP=y
+CONFIG_CGROUP_PIDS=y
+CONFIG_CGROUP_FREEZER=y
 CONFIG_CPUSETS=y
+CONFIG_CGROUP_DEVICE=y
+CONFIG_CGROUP_CPUACCT=y
+CONFIG_NAMESPACES=y
+CONFIG_USER_NS=y
 CONFIG_SCHED_AUTOGROUP=y
 CONFIG_SYSFS_DEPRECATED=y
 CONFIG_RELAY=y
@@ -23,16 +29,16 @@ CONFIG_BLK_DEV_INITRD=y
 CONFIG_EMBEDDED=y
 CONFIG_PERF_EVENTS=y
 CONFIG_MACH_LOONGSON64=y
+CONFIG_CPU_HAS_MSA=y
 CONFIG_SMP=y
+CONFIG_NR_CPUS=16
 CONFIG_HZ_256=y
 CONFIG_KEXEC=y
-CONFIG_PCIEPORTBUS=y
-CONFIG_HOTPLUG_PCI_PCIE=y
-# CONFIG_PCIEAER is not set
-CONFIG_PCIEASPM_PERFORMANCE=y
-CONFIG_HOTPLUG_PCI=y
 CONFIG_MIPS32_O32=y
 CONFIG_MIPS32_N32=y
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM=m
+CONFIG_KVM_MIPS_VZ=y
 CONFIG_MODULES=y
 CONFIG_MODULE_FORCE_LOAD=y
 CONFIG_MODULE_UNLOAD=y
@@ -56,11 +62,19 @@ CONFIG_IP_MULTIPLE_TABLES=y
 CONFIG_IP_ROUTE_MULTIPATH=y
 CONFIG_IP_ROUTE_VERBOSE=y
 CONFIG_NETFILTER=y
+CONFIG_BRIDGE_NETFILTER=m
 CONFIG_NETFILTER_NETLINK_LOG=m
+CONFIG_NF_CONNTRACK=m
+CONFIG_NF_CONNTRACK_SNMP=m
+CONFIG_NF_TABLES=m
+CONFIG_NFT_CT=m
+CONFIG_NFT_NAT=m
+CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
 CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
 CONFIG_NETFILTER_XT_TARGET_MARK=m
 CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
 CONFIG_NETFILTER_XT_MATCH_COMMENT=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
 CONFIG_NETFILTER_XT_MATCH_DCCP=m
 CONFIG_NETFILTER_XT_MATCH_ESP=m
 CONFIG_NETFILTER_XT_MATCH_LENGTH=m
@@ -74,28 +88,56 @@ CONFIG_NETFILTER_XT_MATCH_REALM=m
 CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
 CONFIG_NETFILTER_XT_MATCH_STRING=m
 CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
+CONFIG_IP_SET=m
 CONFIG_IP_VS=m
+CONFIG_NF_TABLES_IPV4=y
+CONFIG_NF_TABLES_ARP=y
 CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
+CONFIG_IP_NF_MATCH_RPFILTER=m
 CONFIG_IP_NF_MATCH_TTL=m
 CONFIG_IP_NF_FILTER=m
 CONFIG_IP_NF_TARGET_REJECT=m
+CONFIG_IP_NF_NAT=m
+CONFIG_IP_NF_TARGET_MASQUERADE=m
 CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
+CONFIG_IP_NF_SECURITY=m
 CONFIG_IP_NF_ARPTABLES=m
 CONFIG_IP_NF_ARPFILTER=m
 CONFIG_IP_NF_ARP_MANGLE=m
+CONFIG_NF_TABLES_IPV6=y
+CONFIG_IP6_NF_IPTABLES=m
+CONFIG_IP6_NF_MATCH_RPFILTER=m
+CONFIG_IP6_NF_FILTER=m
+CONFIG_IP6_NF_TARGET_REJECT=m
+CONFIG_IP6_NF_MANGLE=m
+CONFIG_IP6_NF_RAW=m
+CONFIG_IP6_NF_SECURITY=m
+CONFIG_IP6_NF_NAT=m
+CONFIG_IP6_NF_TARGET_MASQUERADE=m
+CONFIG_NF_TABLES_BRIDGE=m
+CONFIG_BRIDGE_NF_EBTABLES=m
+CONFIG_BRIDGE_EBT_T_FILTER=m
+CONFIG_BRIDGE_EBT_T_NAT=m
 CONFIG_IP_SCTP=m
 CONFIG_L2TP=m
 CONFIG_BRIDGE=m
+CONFIG_VSOCKETS=m
+CONFIG_VIRTIO_VSOCKETS=m
 CONFIG_CFG80211=m
 CONFIG_CFG80211_WEXT=y
 CONFIG_MAC80211=m
 CONFIG_RFKILL=m
 CONFIG_RFKILL_INPUT=y
+CONFIG_NET_9P=m
+CONFIG_NET_9P_VIRTIO=m
+CONFIG_PCIEPORTBUS=y
+# CONFIG_PCIEASPM is not set
+CONFIG_HOTPLUG_PCI=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=m
@@ -103,6 +145,7 @@ CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=8192
+CONFIG_VIRTIO_BLK=y
 CONFIG_RAID_ATTRS=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_DEV_SR=y
@@ -118,6 +161,7 @@ CONFIG_MEGARAID_MM=y
 CONFIG_MEGARAID_MAILBOX=y
 CONFIG_MEGARAID_LEGACY=y
 CONFIG_MEGARAID_SAS=y
+CONFIG_SCSI_VIRTIO=y
 CONFIG_ATA=y
 CONFIG_SATA_AHCI=y
 CONFIG_PATA_ATIIXP=y
@@ -141,7 +185,10 @@ CONFIG_TCM_PSCSI=m
 CONFIG_LOOPBACK_TARGET=m
 CONFIG_ISCSI_TARGET=m
 CONFIG_NETDEVICES=y
+CONFIG_DUMMY=m
 CONFIG_TUN=m
+CONFIG_VETH=m
+CONFIG_VIRTIO_NET=m
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_ADAPTEC is not set
 # CONFIG_NET_VENDOR_ALTEON is not set
@@ -200,6 +247,8 @@ CONFIG_ATH9K=m
 CONFIG_HOSTAP=m
 CONFIG_INPUT_POLLDEV=m
 CONFIG_INPUT_SPARSEKMAP=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
 CONFIG_INPUT_EVDEV=y
 CONFIG_KEYBOARD_XTKBD=m
 CONFIG_MOUSE_PS2_SENTELIC=y
@@ -209,7 +258,6 @@ CONFIG_INPUT_UINPUT=m
 CONFIG_SERIO_SERPORT=m
 CONFIG_SERIO_RAW=m
 CONFIG_LEGACY_PTY_COUNT=16
-CONFIG_SERIAL_NONSTANDARD=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_8250_NR_UARTS=16
@@ -218,6 +266,8 @@ CONFIG_SERIAL_8250_MANY_PORTS=y
 CONFIG_SERIAL_8250_SHARE_IRQ=y
 CONFIG_SERIAL_8250_RSA=y
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_NONSTANDARD=y
+CONFIG_VIRTIO_CONSOLE=y
 CONFIG_HW_RANDOM=y
 CONFIG_RAW_DRIVER=m
 CONFIG_I2C_CHARDEV=y
@@ -232,6 +282,8 @@ CONFIG_MEDIA_USB_SUPPORT=y
 CONFIG_USB_VIDEO_CLASS=m
 CONFIG_DRM=y
 CONFIG_DRM_RADEON=m
+CONFIG_DRM_QXL=y
+CONFIG_DRM_VIRTIO_GPU=y
 CONFIG_FB_RADEON=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_PLATFORM=m
@@ -248,10 +300,15 @@ CONFIG_SND_SEQ_DUMMY=m
 CONFIG_SND_HDA_INTEL=m
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=m
+CONFIG_SND_HDA_CODEC_SIGMATEL=m
+CONFIG_SND_HDA_CODEC_HDMI=m
 CONFIG_SND_HDA_CODEC_CONEXANT=m
 # CONFIG_SND_USB is not set
+CONFIG_HIDRAW=y
 CONFIG_HID_A4TECH=m
 CONFIG_HID_SUNPLUS=m
+CONFIG_HID_PID=y
+CONFIG_USB_HIDDEV=y
 CONFIG_USB=y
 CONFIG_USB_MON=y
 CONFIG_USB_XHCI_HCD=m
@@ -264,7 +321,16 @@ CONFIG_USB_SERIAL=m
 CONFIG_USB_SERIAL_OPTION=m
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_CMOS=y
+CONFIG_RTC_DRV_GOLDFISH=y
 CONFIG_DMADEVICES=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_VIRTIO_BALLOON=m
+CONFIG_VIRTIO_INPUT=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VHOST_NET=m
+CONFIG_VHOST_SCSI=m
+CONFIG_VHOST_VSOCK=m
+CONFIG_GOLDFISH=y
 CONFIG_PM_DEVFREQ=y
 CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
 CONFIG_DEVFREQ_GOV_PERFORMANCE=y
@@ -277,10 +343,16 @@ CONFIG_EXT2_FS_SECURITY=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT3_FS_POSIX_ACL=y
 CONFIG_EXT3_FS_SECURITY=y
+CONFIG_XFS_FS=y
+CONFIG_XFS_POSIX_ACL=y
 CONFIG_QUOTA=y
 # CONFIG_PRINT_QUOTA_WARNING is not set
+CONFIG_QFMT_V1=m
+CONFIG_QFMT_V2=m
 CONFIG_AUTOFS4_FS=y
 CONFIG_FUSE_FS=m
+CONFIG_VIRTIO_FS=m
+CONFIG_FSCACHE=m
 CONFIG_ISO9660_FS=m
 CONFIG_JOLIET=y
 CONFIG_MSDOS_FS=m
@@ -301,6 +373,9 @@ CONFIG_NFSD=m
 CONFIG_NFSD_V3_ACL=y
 CONFIG_NFSD_V4=y
 CONFIG_CIFS=m
+CONFIG_9P_FS=m
+CONFIG_9P_FSCACHE=y
+CONFIG_9P_FS_POSIX_ACL=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_CODEPAGE_936=y
 CONFIG_NLS_ASCII=y
@@ -334,3 +409,5 @@ CONFIG_MAGIC_SYSRQ=y
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="ieee754=relaxed"
-- 
2.7.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers
  2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
                   ` (2 preceding siblings ...)
  2020-07-29  6:58 ` [PATCH 4/5] MIPS: Update default config file " Huacai Chen
@ 2020-07-29  6:58 ` Huacai Chen
  3 siblings, 0 replies; 13+ messages in thread
From: Huacai Chen @ 2020-07-29  6:58 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic, Rob Herring
  Cc: linux-mips, kvm, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

James Hogan has become inactive for a long time and leaves KVM for MIPS
orphan. I'm working on KVM/Loongson and attempt to make it upstream both
in kernel and QEMU, while Aleksandar Markovic is already a maintainer of
QEMU/MIPS. We are both interested in QEMU/KVM/MIPS, and we have already
made some contributions in kernel and QEMU. If possible, we want to take
the KVM/MIPS maintainership.

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
 MAINTAINERS | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index bddc79a..5f9c2fd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9441,9 +9441,11 @@ F:	arch/arm64/kvm/
 F:	include/kvm/arm_*
 
 KERNEL VIRTUAL MACHINE FOR MIPS (KVM/mips)
+M:	Huacai Chen <chenhc@lemote.com>
+M:	Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
 L:	linux-mips@vger.kernel.org
 L:	kvm@vger.kernel.org
-S:	Orphan
+S:	Maintained
 F:	arch/mips/include/asm/kvm*
 F:	arch/mips/include/uapi/asm/kvm*
 F:	arch/mips/kvm/
-- 
2.7.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
@ 2020-07-29  9:52   ` Thomas Bogendoerfer
  2020-07-29 10:08     ` Huacai Chen
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Bogendoerfer @ 2020-07-29  9:52 UTC (permalink / raw)
  To: Huacai Chen
  Cc: Paolo Bonzini, Aleksandar Markovic, Rob Herring, linux-mips, kvm,
	Fuxin Zhang, Huacai Chen, Jiaxun Yang

On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> Document loongson64v-4core-virtio, a virtio based kvm guest board for
> Loongson-3.
> 
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

hmm, I can't remember adding my signed-off to this patch. Could you
give me a reference for this ?

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-29  9:52   ` Thomas Bogendoerfer
@ 2020-07-29 10:08     ` Huacai Chen
  2020-07-31  3:01       ` Huacai Chen
  0 siblings, 1 reply; 13+ messages in thread
From: Huacai Chen @ 2020-07-29 10:08 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Paolo Bonzini, Aleksandar Markovic, Rob Herring, open list:MIPS,
	kvm, Fuxin Zhang, Jiaxun Yang

Hi, Thomas,


On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
<tsbogend@alpha.franken.de> wrote:
>
> On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> > Document loongson64v-4core-virtio, a virtio based kvm guest board for
> > Loongson-3.
> >
> > Signed-off-by: Huacai Chen <chenhc@lemote.com>
> > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
>
> hmm, I can't remember adding my signed-off to this patch. Could you
> give me a reference for this ?
>
I'm sorry, this is a copy paste error..

Huacai

> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-29 10:08     ` Huacai Chen
@ 2020-07-31  3:01       ` Huacai Chen
  2020-07-31  8:32         ` Thomas Bogendoerfer
  0 siblings, 1 reply; 13+ messages in thread
From: Huacai Chen @ 2020-07-31  3:01 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Paolo Bonzini, Aleksandar Markovic, Rob Herring, open list:MIPS,
	kvm, Fuxin Zhang, Jiaxun Yang

Hi, Thomas,

On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
>
> Hi, Thomas,
>
>
> On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
> <tsbogend@alpha.franken.de> wrote:
> >
> > On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> > > Document loongson64v-4core-virtio, a virtio based kvm guest board for
> > > Loongson-3.
> > >
> > > Signed-off-by: Huacai Chen <chenhc@lemote.com>
> > > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> > > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> >
> > hmm, I can't remember adding my signed-off to this patch. Could you
> > give me a reference for this ?
> >
> I'm sorry, this is a copy paste error..
>
Should I send V2 for this series?

> Huacai
>
> > Thomas.
> >
> > --
> > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> > good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-31  3:01       ` Huacai Chen
@ 2020-07-31  8:32         ` Thomas Bogendoerfer
  2020-07-31 11:56           ` Jiaxun Yang
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Bogendoerfer @ 2020-07-31  8:32 UTC (permalink / raw)
  To: Huacai Chen
  Cc: Paolo Bonzini, Aleksandar Markovic, Rob Herring, open list:MIPS,
	kvm, Fuxin Zhang, Jiaxun Yang

On Fri, Jul 31, 2020 at 11:01:58AM +0800, Huacai Chen wrote:
> Hi, Thomas,
> 
> On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
> >
> > Hi, Thomas,
> >
> >
> > On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
> > <tsbogend@alpha.franken.de> wrote:
> > >
> > > On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> > > > Document loongson64v-4core-virtio, a virtio based kvm guest board for
> > > > Loongson-3.
> > > >
> > > > Signed-off-by: Huacai Chen <chenhc@lemote.com>
> > > > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> > > > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> > >
> > > hmm, I can't remember adding my signed-off to this patch. Could you
> > > give me a reference for this ?
> > >
> > I'm sorry, this is a copy paste error..
> >
> Should I send V2 for this series?

no, if nothing else needs a resent. Problem with this series is,
that it touches a few places, so it's not clear who should merge
it...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-31  8:32         ` Thomas Bogendoerfer
@ 2020-07-31 11:56           ` Jiaxun Yang
  2020-08-03  6:05             ` Huacai Chen
  0 siblings, 1 reply; 13+ messages in thread
From: Jiaxun Yang @ 2020-07-31 11:56 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Huacai Chen
  Cc: Paolo Bonzini, Aleksandar Markovic, Rob Herring, open list:MIPS,
	kvm, Fuxin Zhang



在 2020/7/31 下午4:32, Thomas Bogendoerfer 写道:
> On Fri, Jul 31, 2020 at 11:01:58AM +0800, Huacai Chen wrote:
>> Hi, Thomas,
>>
>> On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
>>> Hi, Thomas,
>>>
>>>
>>> On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
>>> <tsbogend@alpha.franken.de> wrote:
>>>> On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
>>>>> Document loongson64v-4core-virtio, a virtio based kvm guest board for
>>>>> Loongson-3.
>>>>>
>>>>> Signed-off-by: Huacai Chen <chenhc@lemote.com>
>>>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>>>>> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
>>>> hmm, I can't remember adding my signed-off to this patch. Could you
>>>> give me a reference for this ?
>>>>
>>> I'm sorry, this is a copy paste error..
>>>
>> Should I send V2 for this series?
> no, if nothing else needs a resent. Problem with this series is,
> that it touches a few places, so it's not clear who should merge
> it...

Actually the first patch is already in the next. I suspect they should 
go through MIPS tree.
Probably this patch needs a ack from Rob?

- Jiaxun

>
> Thomas.
>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-07-31 11:56           ` Jiaxun Yang
@ 2020-08-03  6:05             ` Huacai Chen
  2020-08-03  9:13               ` Jiaxun Yang
  0 siblings, 1 reply; 13+ messages in thread
From: Huacai Chen @ 2020-08-03  6:05 UTC (permalink / raw)
  To: Jiaxun Yang
  Cc: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic,
	Rob Herring, open list:MIPS, kvm, Fuxin Zhang

Hi, Thomas,

On Fri, Jul 31, 2020 at 7:57 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>
>
>
> 在 2020/7/31 下午4:32, Thomas Bogendoerfer 写道:
> > On Fri, Jul 31, 2020 at 11:01:58AM +0800, Huacai Chen wrote:
> >> Hi, Thomas,
> >>
> >> On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
> >>> Hi, Thomas,
> >>>
> >>>
> >>> On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
> >>> <tsbogend@alpha.franken.de> wrote:
> >>>> On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> >>>>> Document loongson64v-4core-virtio, a virtio based kvm guest board for
> >>>>> Loongson-3.
> >>>>>
> >>>>> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> >>>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >>>>> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> >>>> hmm, I can't remember adding my signed-off to this patch. Could you
> >>>> give me a reference for this ?
> >>>>
> >>> I'm sorry, this is a copy paste error..
> >>>
> >> Should I send V2 for this series?
> > no, if nothing else needs a resent. Problem with this series is,
> > that it touches a few places, so it's not clear who should merge
> > it...
>
> Actually the first patch is already in the next. I suspect they should
> go through MIPS tree.
> Probably this patch needs a ack from Rob?
I agree with Jiaxun, this series should go through MIPS tree.

Huacai
>
> - Jiaxun
>
> >
> > Thomas.
> >

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-08-03  6:05             ` Huacai Chen
@ 2020-08-03  9:13               ` Jiaxun Yang
  2020-08-04  7:47                 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 13+ messages in thread
From: Jiaxun Yang @ 2020-08-03  9:13 UTC (permalink / raw)
  To: Huacai Chen
  Cc: Thomas Bogendoerfer, Paolo Bonzini, Aleksandar Markovic,
	Rob Herring, open list:MIPS, kvm, Fuxin Zhang



在 2020/8/3 下午2:05, Huacai Chen 写道:
> Hi, Thomas,
>
> On Fri, Jul 31, 2020 at 7:57 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>>
>>
>> 在 2020/7/31 下午4:32, Thomas Bogendoerfer 写道:
>>> On Fri, Jul 31, 2020 at 11:01:58AM +0800, Huacai Chen wrote:
>>>> Hi, Thomas,
>>>>
>>>> On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
>>>>> Hi, Thomas,
>>>>>
>>>>>
>>>>> On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
>>>>> <tsbogend@alpha.franken.de> wrote:
>>>>>> On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
>>>>>>> Document loongson64v-4core-virtio, a virtio based kvm guest board for
>>>>>>> Loongson-3.
>>>>>>>
>>>>>>> Signed-off-by: Huacai Chen <chenhc@lemote.com>
>>>>>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>>>>>>> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
>>>>>> hmm, I can't remember adding my signed-off to this patch. Could you
>>>>>> give me a reference for this ?
>>>>>>
>>>>> I'm sorry, this is a copy paste error..
>>>>>
>>>> Should I send V2 for this series?
>>> no, if nothing else needs a resent. Problem with this series is,
>>> that it touches a few places, so it's not clear who should merge
>>> it...
>> Actually the first patch is already in the next. I suspect they should
>> go through MIPS tree.
>> Probably this patch needs a ack from Rob?
> I agree with Jiaxun, this series should go through MIPS tree.

I'd suggest to have a topic branch for this after getting PCI tree merged.

Anyway, I really wish to see this as a part of 5.9 release.

Thanks.

- Jiaxun
>
> Huacai
>> - Jiaxun
>>
>>> Thomas.
>>>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board
  2020-08-03  9:13               ` Jiaxun Yang
@ 2020-08-04  7:47                 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Bogendoerfer @ 2020-08-04  7:47 UTC (permalink / raw)
  To: Jiaxun Yang
  Cc: Huacai Chen, Paolo Bonzini, Aleksandar Markovic, Rob Herring,
	open list:MIPS, kvm, Fuxin Zhang

On Mon, Aug 03, 2020 at 05:13:39PM +0800, Jiaxun Yang wrote:
> 
> 
> 在 2020/8/3 下午2:05, Huacai Chen 写道:
> >Hi, Thomas,
> >
> >On Fri, Jul 31, 2020 at 7:57 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
> >>
> >>
> >>在 2020/7/31 下午4:32, Thomas Bogendoerfer 写道:
> >>>On Fri, Jul 31, 2020 at 11:01:58AM +0800, Huacai Chen wrote:
> >>>>Hi, Thomas,
> >>>>
> >>>>On Wed, Jul 29, 2020 at 6:08 PM Huacai Chen <chenhc@lemote.com> wrote:
> >>>>>Hi, Thomas,
> >>>>>
> >>>>>
> >>>>>On Wed, Jul 29, 2020 at 6:00 PM Thomas Bogendoerfer
> >>>>><tsbogend@alpha.franken.de> wrote:
> >>>>>>On Wed, Jul 29, 2020 at 02:58:36PM +0800, Huacai Chen wrote:
> >>>>>>>Document loongson64v-4core-virtio, a virtio based kvm guest board for
> >>>>>>>Loongson-3.
> >>>>>>>
> >>>>>>>Signed-off-by: Huacai Chen <chenhc@lemote.com>
> >>>>>>>Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >>>>>>>Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> >>>>>>hmm, I can't remember adding my signed-off to this patch. Could you
> >>>>>>give me a reference for this ?
> >>>>>>
> >>>>>I'm sorry, this is a copy paste error..
> >>>>>
> >>>>Should I send V2 for this series?
> >>>no, if nothing else needs a resent. Problem with this series is,
> >>>that it touches a few places, so it's not clear who should merge
> >>>it...
> >>Actually the first patch is already in the next. I suspect they should
> >>go through MIPS tree.
> >>Probably this patch needs a ack from Rob?
> >I agree with Jiaxun, this series should go through MIPS tree.
> 
> I'd suggest to have a topic branch for this after getting PCI tree merged.
> 
> Anyway, I really wish to see this as a part of 5.9 release.

I've applied patches 2-5 to mips-next. To avoid the mess with the
first patch, I've removed the case PCI_VENDOR_ID_REDHAT: from
patch 3 as this is the same as the default: case. It would help
a lot to not mix patches to different trees in one series next time.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, back to index

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  6:58 [PATCH 1/5] PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h Huacai Chen
2020-07-29  6:58 ` [PATCH 2/5] dt-bindings: mips: Document Loongson kvm guest board Huacai Chen
2020-07-29  9:52   ` Thomas Bogendoerfer
2020-07-29 10:08     ` Huacai Chen
2020-07-31  3:01       ` Huacai Chen
2020-07-31  8:32         ` Thomas Bogendoerfer
2020-07-31 11:56           ` Jiaxun Yang
2020-08-03  6:05             ` Huacai Chen
2020-08-03  9:13               ` Jiaxun Yang
2020-08-04  7:47                 ` Thomas Bogendoerfer
2020-07-29  6:58 ` [PATCH 3/5] MIPS: KVM: Add kvm guest support for Loongson-3 Huacai Chen
2020-07-29  6:58 ` [PATCH 4/5] MIPS: Update default config file " Huacai Chen
2020-07-29  6:58 ` [PATCH 5/5] MAINTAINERS: Update KVM/MIPS maintainers Huacai Chen

KVM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kvm/0 kvm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kvm kvm/ https://lore.kernel.org/kvm \
		kvm@vger.kernel.org
	public-inbox-index kvm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.kvm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git