[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 22/27] hw/loongarch: Add some devices support for 3A50
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [RFC PATCH v3 22/27] hw/loongarch: Add some devices support for 3A5000. |
Date: |
Sat, 4 Dec 2021 18:54:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/4/21 13:07, Xiaojuan Yang wrote:
> 1.Add uart,virtio-net,vga and usb for 3A5000.
> 2.Add irq set and map for the pci host. Non pci device
> use irq 0-16, pci device use 16-64.
> 3.Add some unimplented device to emulate guest unused
> memory space.
>
> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
> Signed-off-by: Song Gao <gaosong@loongson.cn>
> ---
> hw/loongarch/Kconfig | 8 +++++
> hw/loongarch/loongson3.c | 63 +++++++++++++++++++++++++++++++--
> hw/pci-host/ls7a.c | 42 +++++++++++++++++++++-
> include/hw/intc/loongarch_ipi.h | 2 ++
> include/hw/pci-host/ls7a.h | 4 +++
> softmmu/qdev-monitor.c | 3 +-
> 6 files changed, 117 insertions(+), 5 deletions(-)
>
> diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
> index 468e3acc74..9ea3b92708 100644
> --- a/hw/loongarch/Kconfig
> +++ b/hw/loongarch/Kconfig
> @@ -1,5 +1,13 @@
> config LOONGSON3_LS7A
> bool
> + imply VGA_PCI
> + imply VIRTIO_VGA
> + imply PARALLEL
Is there really a parallel port? If so, maybe you forgot to
instantiate it.