[PATCH 0/8] Add some functions for LoongArch

Xiaojuan Yang posted 8 patches 1 year, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220620080451.3711049-1-yangxiaojuan@loongson.cn
Maintainers: Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>
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
[PATCH 0/8] Add some functions for LoongArch
Posted by Xiaojuan Yang 1 year, 11 months ago
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
Re: [PATCH 0/8] Add some functions for LoongArch
Posted by Richard Henderson 1 year, 11 months ago
On 6/20/22 01:04, Xiaojuan Yang wrote:
> 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

Please fill in the patch descriptions for each of these.


r~