[PATCH v3 0/8] target/loongarch: Cleanups in preparation of loongarch32 support

Philippe Mathieu-Daudé posted 8 patches 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230821125959.28666-1-philmd@linaro.org
Maintainers: Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
configs/targets/loongarch64-softmmu.mak |  2 +-
target/loongarch/cpu.h                  | 12 +++++
target/loongarch/cpu.c                  | 60 ++++++++++++++++++++-----
target/loongarch/gdbstub.c              | 32 ++++++++++---
gdb-xml/loongarch-base32.xml            | 45 +++++++++++++++++++
5 files changed, 131 insertions(+), 20 deletions(-)
create mode 100644 gdb-xml/loongarch-base32.xml
[PATCH v3 0/8] target/loongarch: Cleanups in preparation of loongarch32 support
Posted by Philippe Mathieu-Daudé 9 months ago
Series fully reviewed.

v3:
- Do not rename loongarch_la464_initfn (rth)
- Added R-b

v2:
- Do no rename loongarch_cpu_get/set_pc (rth)
- Rebased Jiajie's patches for convenience
- Added rth's R-b

Jiajie, this series contains few notes I took while
reviewing your series adding loongarch32 support [*].

If your series isn't merged, consider rebasing it on
this one.

Regards,

Phil.

[*] https://lore.kernel.org/qemu-devel/20230817093121.1053890-1-gaosong@loongson.cn/

Jiajie Chen (3):
  target/loongarch: Add function to check current arch
  target/loongarch: Add new object class for loongarch32 cpus
  target/loongarch: Add GDB support for loongarch32 mode

Philippe Mathieu-Daudé (4):
  target/loongarch: Log I/O write accesses to CSR registers
  target/loongarch: Remove duplicated disas_set_info assignment
  target/loongarch: Introduce abstract TYPE_LOONGARCH64_CPU
  target/loongarch: Extract 64-bit specifics to
    loongarch64_cpu_class_init

Song Gao (1):
  target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW

 configs/targets/loongarch64-softmmu.mak |  2 +-
 target/loongarch/cpu.h                  | 12 +++++
 target/loongarch/cpu.c                  | 60 ++++++++++++++++++++-----
 target/loongarch/gdbstub.c              | 32 ++++++++++---
 gdb-xml/loongarch-base32.xml            | 45 +++++++++++++++++++
 5 files changed, 131 insertions(+), 20 deletions(-)
 create mode 100644 gdb-xml/loongarch-base32.xml

-- 
2.41.0


Re: [PATCH v3 0/8] target/loongarch: Cleanups in preparation of loongarch32 support
Posted by gaosong 9 months ago
在 2023/8/21 下午8:59, Philippe Mathieu-Daudé 写道:
> Series fully reviewed.
> 
> v3:
> - Do not rename loongarch_la464_initfn (rth)
> - Added R-b
> 
> v2:
> - Do no rename loongarch_cpu_get/set_pc (rth)
> - Rebased Jiajie's patches for convenience
> - Added rth's R-b
> 
> Jiajie, this series contains few notes I took while
> reviewing your series adding loongarch32 support [*].
> 
> If your series isn't merged, consider rebasing it on
> this one.
> 
> Regards,
> 
> Phil.
> 
> [*] https://lore.kernel.org/qemu-devel/20230817093121.1053890-1-gaosong@loongson.cn/
> 
> Jiajie Chen (3):
>    target/loongarch: Add function to check current arch
>    target/loongarch: Add new object class for loongarch32 cpus
>    target/loongarch: Add GDB support for loongarch32 mode
> 
> Philippe Mathieu-Daudé (4):
>    target/loongarch: Log I/O write accesses to CSR registers
>    target/loongarch: Remove duplicated disas_set_info assignment
>    target/loongarch: Introduce abstract TYPE_LOONGARCH64_CPU
>    target/loongarch: Extract 64-bit specifics to
>      loongarch64_cpu_class_init
> 
> Song Gao (1):
>    target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW
> 
>   configs/targets/loongarch64-softmmu.mak |  2 +-
>   target/loongarch/cpu.h                  | 12 +++++
>   target/loongarch/cpu.c                  | 60 ++++++++++++++++++++-----
>   target/loongarch/gdbstub.c              | 32 ++++++++++---
>   gdb-xml/loongarch-base32.xml            | 45 +++++++++++++++++++
>   5 files changed, 131 insertions(+), 20 deletions(-)
>   create mode 100644 gdb-xml/loongarch-base32.xml
> 
Thanks!

Applied to loongarch-to-apply queue

Thanks.
Song Gao