[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] Add some functions for LoongArch
From: |
Xiaojuan Yang |
Subject: |
[PATCH 0/8] Add some functions for LoongArch |
Date: |
Mon, 20 Jun 2022 16:04:43 +0800 |
In order to start the latest community BIOS and kernel of LoongArch,
we have added the following patches.
This series add some functions for LoongArch, and fix some errors.
Add bios, kernel, fdt, smbios and acpi options support.
The kernel file:
* https://github.com/loongson/linux/tree/loongarch-next
The bios file:
* https://github.com/loongson/edk2
* https://github.com/loongson/edk2-platforms
Xiaojuan Yang (8):
hw/loongarch: Add default bios startup support
hw/loongarch: Add -kernel and -initrd options support
hw/loongarch: Add LoongArch smbios support
hw/loongarch: Add LoongArch acpi support
hw/loongarch: Add fdt support
hw/loongarch: Fix loongarch ipi device
target/loongarch: Fix vector size of exception entry address
target/loongarch: Fix csrwr timer clear
hw/intc/loongarch_ipi.c | 85 +++--
hw/loongarch/Kconfig | 3 +
hw/loongarch/acpi-build.c | 620 ++++++++++++++++++++++++++++++++
hw/loongarch/fw_cfg.c | 33 ++
hw/loongarch/fw_cfg.h | 15 +
hw/loongarch/loongson3.c | 457 +++++++++++++++++++++--
hw/loongarch/meson.build | 4 +
include/hw/intc/loongarch_ipi.h | 8 +-
include/hw/loongarch/virt.h | 25 ++
include/hw/pci-host/ls7a.h | 5 +
target/loongarch/cpu.c | 5 +
target/loongarch/cpu.h | 3 +
target/loongarch/csr_helper.c | 2 +
13 files changed, 1213 insertions(+), 52 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 0/8] Add some functions for LoongArch,
Xiaojuan Yang <=
- [PATCH 8/8] target/loongarch: Fix csrwr timer clear, Xiaojuan Yang, 2022/06/20
- [PATCH 2/8] hw/loongarch: Add -kernel and -initrd options support, Xiaojuan Yang, 2022/06/20
- [PATCH 3/8] hw/loongarch: Add LoongArch smbios support, Xiaojuan Yang, 2022/06/20
- [PATCH 7/8] target/loongarch: Fix vector size of exception entry address, Xiaojuan Yang, 2022/06/20
- [PATCH 5/8] hw/loongarch: Add fdt support, Xiaojuan Yang, 2022/06/20
- [PATCH 6/8] hw/loongarch: Fix loongarch ipi device, Xiaojuan Yang, 2022/06/20
- [PATCH 4/8] hw/loongarch: Add LoongArch acpi support, Xiaojuan Yang, 2022/06/20
- [PATCH 1/8] hw/loongarch: Add default bios startup support, Xiaojuan Yang, 2022/06/20