[PULL v2 00/11] loongarch-to-apply queue

Song Gao posted 11 patches 4 months, 2 weeks ago
Failed in applying to current master (apply log)
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
There is a newer version of this series
hw/intc/Kconfig                                    |   3 +
hw/intc/loongarch_dintc.c                          | 212 +++++++++++++++++++++
hw/intc/meson.build                                |   1 +
hw/loongarch/Kconfig                               |   1 +
hw/loongarch/virt.c                                | 110 ++++++++++-
include/hw/intc/loongarch_dintc.h                  |  36 ++++
include/hw/loongarch/virt.h                        |  34 ++++
include/hw/pci-host/ls7a.h                         |   2 +
target/loongarch/cpu-csr.h                         |   9 +-
target/loongarch/cpu.c                             |  29 +++
target/loongarch/cpu.h                             |  36 ++--
target/loongarch/csr.c                             |   5 +
target/loongarch/machine.c                         |  25 ++-
target/loongarch/tcg/csr_helper.c                  |  21 ++
target/loongarch/tcg/helper.h                      |   1 +
.../tcg/insn_trans/trans_privileged.c.inc          |   1 +
16 files changed, 499 insertions(+), 27 deletions(-)
create mode 100644 hw/intc/loongarch_dintc.c
create mode 100644 include/hw/intc/loongarch_dintc.h
[PULL v2 00/11] loongarch-to-apply queue
Posted by Song Gao 4 months, 2 weeks ago
The following changes since commit d6dfd8d40cebebc3378d379cd28879e0345fbf91:

  Merge tag 'pull-target-arm-20250926' of https://gitlab.com/pm215/qemu into staging (2025-09-26 13:27:01 -0700)

are available in the Git repository at:

  https://github.com/gaosong715/qemu.git tags/pull-loongarch-20250928

for you to fetch changes up to 7470657ec157d4526752147165b2d368e2c7002e:

  hw/loongarch: Implement DINTC plug/unplug interfaces (2025-09-28 17:31:04 +0800)

----------------------------------------------------------------
pull-loongarch-20250928

v2: fix build win64 errors.

----------------------------------------------------------------
Song Gao (11):
      target/loongarch: move some machine define to virt.h
      hw/loongarch: add virt feature dmsi support
      hw/loongarch: add misc register support dmsi
      loongarch: add a direct interrupt controller device
      target/loongarch: add msg interrupt CSR registers
      hw/loongarch: DINTC add a MemoryRegion
      hw/loongarch: Implement dintc realize and unrealize
      hw/loongarch: Implement dintc set irq
      target/loongarch: Add CSR_ESTAT.bit15 and CSR_ECFG.bit15 for msg interrupts.
      target/loongarch:Implement csrrd CSR_MSGIR register
      hw/loongarch: Implement DINTC plug/unplug interfaces

 hw/intc/Kconfig                                    |   3 +
 hw/intc/loongarch_dintc.c                          | 212 +++++++++++++++++++++
 hw/intc/meson.build                                |   1 +
 hw/loongarch/Kconfig                               |   1 +
 hw/loongarch/virt.c                                | 110 ++++++++++-
 include/hw/intc/loongarch_dintc.h                  |  36 ++++
 include/hw/loongarch/virt.h                        |  34 ++++
 include/hw/pci-host/ls7a.h                         |   2 +
 target/loongarch/cpu-csr.h                         |   9 +-
 target/loongarch/cpu.c                             |  29 +++
 target/loongarch/cpu.h                             |  36 ++--
 target/loongarch/csr.c                             |   5 +
 target/loongarch/machine.c                         |  25 ++-
 target/loongarch/tcg/csr_helper.c                  |  21 ++
 target/loongarch/tcg/helper.h                      |   1 +
 .../tcg/insn_trans/trans_privileged.c.inc          |   1 +
 16 files changed, 499 insertions(+), 27 deletions(-)
 create mode 100644 hw/intc/loongarch_dintc.c
 create mode 100644 include/hw/intc/loongarch_dintc.h
Re: [PULL v2 00/11] loongarch-to-apply queue
Posted by Richard Henderson 4 months, 2 weeks ago
On 9/28/25 02:23, Song Gao wrote:
> The following changes since commit d6dfd8d40cebebc3378d379cd28879e0345fbf91:
> 
>    Merge tag 'pull-target-arm-20250926' of https://gitlab.com/pm215/qemu into staging (2025-09-26 13:27:01 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/gaosong715/qemu.git tags/pull-loongarch-20250928
> 
> for you to fetch changes up to 7470657ec157d4526752147165b2d368e2c7002e:
> 
>    hw/loongarch: Implement DINTC plug/unplug interfaces (2025-09-28 17:31:04 +0800)
> 
> ----------------------------------------------------------------
> pull-loongarch-20250928
> 
> v2: fix build win64 errors.
> 
> ----------------------------------------------------------------
> Song Gao (11):
>        target/loongarch: move some machine define to virt.h
>        hw/loongarch: add virt feature dmsi support
>        hw/loongarch: add misc register support dmsi
>        loongarch: add a direct interrupt controller device
>        target/loongarch: add msg interrupt CSR registers
>        hw/loongarch: DINTC add a MemoryRegion
>        hw/loongarch: Implement dintc realize and unrealize
>        hw/loongarch: Implement dintc set irq
>        target/loongarch: Add CSR_ESTAT.bit15 and CSR_ECFG.bit15 for msg interrupts.
>        target/loongarch:Implement csrrd CSR_MSGIR register
>        hw/loongarch: Implement DINTC plug/unplug interfaces
> 
>   hw/intc/Kconfig                                    |   3 +
>   hw/intc/loongarch_dintc.c                          | 212 +++++++++++++++++++++
>   hw/intc/meson.build                                |   1 +
>   hw/loongarch/Kconfig                               |   1 +
>   hw/loongarch/virt.c                                | 110 ++++++++++-
>   include/hw/intc/loongarch_dintc.h                  |  36 ++++
>   include/hw/loongarch/virt.h                        |  34 ++++
>   include/hw/pci-host/ls7a.h                         |   2 +
>   target/loongarch/cpu-csr.h                         |   9 +-
>   target/loongarch/cpu.c                             |  29 +++
>   target/loongarch/cpu.h                             |  36 ++--
>   target/loongarch/csr.c                             |   5 +
>   target/loongarch/machine.c                         |  25 ++-
>   target/loongarch/tcg/csr_helper.c                  |  21 ++
>   target/loongarch/tcg/helper.h                      |   1 +
>   .../tcg/insn_trans/trans_privileged.c.inc          |   1 +
>   16 files changed, 499 insertions(+), 27 deletions(-)
>   create mode 100644 hw/intc/loongarch_dintc.c
>   create mode 100644 include/hw/intc/loongarch_dintc.h
> 
> 

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/10.2 as appropriate.

r~