Skip to content

target/loongarch: Cleanups in preparation of loongarch32 support

Philippe Mathieu-Daudé qemu-devel 3 versions – Applied

Status from this message: Applied to loongarch-to-apply queue

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyApplied
  2. v28 patches 4 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8target/loongarch: Log I/O write accesses to CSR registerstarget/loongarch/cpu.c+2 -00 replies
2/8target/loongarch: Remove duplicated disas_set_info assignmenttarget/loongarch/cpu.c+0 -10 replies
3/8target/loongarch: Fix loongarch_la464_initfn() misses setting LSPWtarget/loongarch/cpu.c+1 -00 replies
4/8target/loongarch: Introduce abstract TYPE_LOONGARCH64_CPUtarget/loongarch/cpu.c target/loongarch/cpu.h+10 -30 replies
5/8target/loongarch: Extract 64-bit specifics to loongarch64_cpu_class_inittarget/loongarch/cpu.c+15 -80 replies
6/8target/loongarch: Add function to check current archtarget/loongarch/cpu.h+10 -00 replies
7/8target/loongarch: Add new object class for loongarch32 cpustarget/loongarch/cpu.c target/loongarch/cpu.h+12 -00 replies
8/8target/loongarch: Add GDB support for loongarch32 modeconfigs/targets/loongarch64-softmmu.mak gdb-xml/loongarch-base32.xml target/loongarch/cpu.c +1 more+81 -80 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchSong GaoRichard HendersonPhilippe Mathieu-Daudé
1/8R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b
5/8R-b
6/8Co-authored-by R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

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

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/[email protected]/

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
Signature · 1 line
2.41.0