mbox series

[00/10] Add functions for LoongArch virt machine

Message ID 20220622104301.804447-1-yangxiaojuan@loongson.cn (mailing list archive)
Headers show
Series Add functions for LoongArch virt machine | expand

Message

Xiaojuan Yang June 22, 2022, 10:42 a.m. UTC
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