[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/10] Add functions for LoongArch virt machine
From: |
Xiaojuan Yang |
Subject: |
[PATCH 00/10] Add functions for LoongArch virt machine |
Date: |
Wed, 22 Jun 2022 18:42:51 +0800 |
From: zhaotianrui <zhaotianrui@loongson.cn>
This series add some functions for LoongArch virt machine,
such as support fw_cfg table, loading uefi bios and linux kernel, etc.
Also fix some bugs of ipi device, ECFG reg, etc.
Xiaojuan Yang (10):
hw/loongarch: rename macro prefix LS_PCI to LS7A_PCI
hw/loongarch: Add fw_cfg table support
hw/loongarch: Add uefi bios loading support
hw/loongarch: Add linux kernel booting support
hw/loongarch: Add smbios support
hw/loongarch: Add acpi ged support
hw/loongarch: Add fdt support
hw/loongarch: Fix ipi device access of 64bits
target/loongarch: Fix the meaning of ECFG reg's VS field
target/loongarch: Add lock when writing timer clear reg
hw/intc/loongarch_ipi.c | 85 +++--
hw/loongarch/Kconfig | 3 +
hw/loongarch/acpi-build.c | 609 ++++++++++++++++++++++++++++++++
hw/loongarch/fw_cfg.c | 33 ++
hw/loongarch/fw_cfg.h | 15 +
hw/loongarch/loongson3.c | 443 +++++++++++++++++++++--
hw/loongarch/meson.build | 4 +
include/hw/intc/loongarch_ipi.h | 8 +-
include/hw/loongarch/virt.h | 25 ++
include/hw/pci-host/ls7a.h | 8 +-
target/loongarch/cpu.c | 5 +
target/loongarch/cpu.h | 3 +
target/loongarch/csr_helper.c | 2 +
13 files changed, 1187 insertions(+), 56 deletions(-)
create mode 100644 hw/loongarch/acpi-build.c
create mode 100644 hw/loongarch/fw_cfg.c
create mode 100644 hw/loongarch/fw_cfg.h
--
2.31.1
- [PATCH 00/10] Add functions for LoongArch virt machine,
Xiaojuan Yang <=
- [PATCH 02/10] hw/loongarch: Add fw_cfg table support, Xiaojuan Yang, 2022/06/22
- [PATCH 08/10] hw/loongarch: Fix ipi device access of 64bits, Xiaojuan Yang, 2022/06/22
- [PATCH 04/10] hw/loongarch: Add linux kernel booting support, Xiaojuan Yang, 2022/06/22
- [PATCH 03/10] hw/loongarch: Add uefi bios loading support, Xiaojuan Yang, 2022/06/22
- [PATCH 06/10] hw/loongarch: Add acpi ged support, Xiaojuan Yang, 2022/06/22
- [PATCH 10/10] target/loongarch: Add lock when writing timer clear reg, Xiaojuan Yang, 2022/06/22
- [PATCH 07/10] hw/loongarch: Add fdt support, Xiaojuan Yang, 2022/06/22
- [PATCH 05/10] hw/loongarch: Add smbios support, Xiaojuan Yang, 2022/06/22
- [PATCH 09/10] target/loongarch: Fix the meaning of ECFG reg's VS field, Xiaojuan Yang, 2022/06/22
- [PATCH 01/10] hw/loongarch: rename macro prefix LS_PCI to LS7A_PCI, Xiaojuan Yang, 2022/06/22