[PATCH 0/2] Remove header file ls7a.h

Bibo Mao posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251013063516.688936-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
MAINTAINERS                            |  1 -
hw/intc/loongarch_pic_kvm.c            |  1 -
hw/loongarch/virt-acpi-build.c         |  1 -
hw/loongarch/virt-fdt-build.c          |  1 -
hw/loongarch/virt.c                    |  3 +-
include/hw/intc/loongarch_pic_common.h |  2 +-
include/hw/loongarch/virt.h            | 75 +++++++++++++++++++-------
include/hw/pci-host/ls7a.h             | 39 --------------
8 files changed, 57 insertions(+), 66 deletions(-)
[PATCH 0/2] Remove header file ls7a.h
Posted by Bibo Mao 1 month ago
LoongArch virt machine uses GPEX PCIE host bridge rather than 7A host
bridge. Hardware device information definition is removed from file
ls7a.h to include/hw/loongarch/virt.h

Also there is code cleanup with file virt.h, hardare device is sorted by
its base address.

Bibo Mao (2):
  hw/loongarch/virt: Remove header file ls7a.h
  hw/loongarch/virt: Sort order by hardware device base address

 MAINTAINERS                            |  1 -
 hw/intc/loongarch_pic_kvm.c            |  1 -
 hw/loongarch/virt-acpi-build.c         |  1 -
 hw/loongarch/virt-fdt-build.c          |  1 -
 hw/loongarch/virt.c                    |  3 +-
 include/hw/intc/loongarch_pic_common.h |  2 +-
 include/hw/loongarch/virt.h            | 75 +++++++++++++++++++-------
 include/hw/pci-host/ls7a.h             | 39 --------------
 8 files changed, 57 insertions(+), 66 deletions(-)


base-commit: f3f2ad119347e8c086b72282febcaac5d731b343
-- 
2.39.3
Re: [PATCH 0/2] Remove header file ls7a.h
Posted by gaosong 1 month ago
在 2025/10/13 下午2:35, Bibo Mao 写道:
> LoongArch virt machine uses GPEX PCIE host bridge rather than 7A host
> bridge. Hardware device information definition is removed from file
> ls7a.h to include/hw/loongarch/virt.h
>
> Also there is code cleanup with file virt.h, hardare device is sorted by
> its base address.
>
> Bibo Mao (2):
>    hw/loongarch/virt: Remove header file ls7a.h
>    hw/loongarch/virt: Sort order by hardware device base address
>
>   MAINTAINERS                            |  1 -
>   hw/intc/loongarch_pic_kvm.c            |  1 -
>   hw/loongarch/virt-acpi-build.c         |  1 -
>   hw/loongarch/virt-fdt-build.c          |  1 -
>   hw/loongarch/virt.c                    |  3 +-
>   include/hw/intc/loongarch_pic_common.h |  2 +-
>   include/hw/loongarch/virt.h            | 75 +++++++++++++++++++-------
>   include/hw/pci-host/ls7a.h             | 39 --------------
>   8 files changed, 57 insertions(+), 66 deletions(-)
>
>
> base-commit: f3f2ad119347e8c086b72282febcaac5d731b343
Reviewed-by: Song Gao <gaosong@loongson.cn>

Thanks.
Song  Gao.