qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] target/loongarch: LoongArch32 fixes 1
@ 2025-02-25  0:40 Jiaxun Yang
  2025-02-25  0:40 ` [PATCH v2 1/9] target/loongarch: Enable rotr.w/rotri.w for LoongArch32 Jiaxun Yang
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Jiaxun Yang @ 2025-02-25  0:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Song Gao, Jiaxun Yang, Philippe Mathieu-Daudé

Hi all,

This series is a collection of small fixes I made to TCG for
LoongArch32.

There are still many thing broken, especially on CSRs. More
series following. However this is sufficient to boot 32bit
kernel.

Thanks for revivewing!

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v2:
- Addressing minor review comments
- Don't create 32bit vairant, simply allow 32bit CPU on qemu-loongarch64
- Link to v1: https://lore.kernel.org/r/20241222-la32-fixes1-v1-0-8c62b7e594db@flygoat.com

---
Jiaxun Yang (9):
      target/loongarch: Enable rotr.w/rotri.w for LoongArch32
      target/loongarch: Fix address generation for gen_sc
      target/loongarch: Fix PGD CSR for LoongArch32
      target/loongarch: Perform sign extension for IOCSR reads
      target/loongarch: Use target_ulong for iocsrrd helper results
      target/loongarch: Fix some modifiers for log formatting
      target/loongarch: Use target_ulong for CSR helpers
      target/loongarch: Fix load type for gen_ll
      target/loongarch: Introduce max32 CPU type

 target/loongarch/cpu.c                             | 152 +++++++++++++++++----
 target/loongarch/helper.h                          |  22 +--
 target/loongarch/tcg/csr_helper.c                  |   2 +-
 target/loongarch/tcg/insn_trans/trans_atomic.c.inc |   8 +-
 target/loongarch/tcg/insn_trans/trans_shift.c.inc  |   4 +-
 target/loongarch/tcg/iocsr_helper.c                |  20 +--
 target/loongarch/tcg/op_helper.c                   |   4 +-
 target/loongarch/tcg/tlb_helper.c                  |   2 +-
 target/loongarch/tcg/translate.c                   |   5 +-
 9 files changed, 155 insertions(+), 64 deletions(-)
---
base-commit: 65cb7129f4160c7e07a0da107f888ec73ae96776
change-id: 20241222-la32-fixes1-368cc14d0986

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-02-27 12:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25  0:40 [PATCH v2 0/9] target/loongarch: LoongArch32 fixes 1 Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 1/9] target/loongarch: Enable rotr.w/rotri.w for LoongArch32 Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 2/9] target/loongarch: Fix address generation for gen_sc Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 3/9] target/loongarch: Fix PGD CSR for LoongArch32 Jiaxun Yang
2025-02-25 14:40   ` Philippe Mathieu-Daudé
2025-02-25  0:40 ` [PATCH v2 4/9] target/loongarch: Perform sign extension for IOCSR reads Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 5/9] target/loongarch: Use target_ulong for iocsrrd helper results Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 6/9] target/loongarch: Fix some modifiers for log formatting Jiaxun Yang
2025-02-25 14:44   ` Philippe Mathieu-Daudé
2025-02-25  0:40 ` [PATCH v2 7/9] target/loongarch: Use target_ulong for CSR helpers Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 8/9] target/loongarch: Fix load type for gen_ll Jiaxun Yang
2025-02-25  0:40 ` [PATCH v2 9/9] target/loongarch: Introduce max32 CPU type Jiaxun Yang
2025-02-25  8:50 ` [PATCH v2 0/9] target/loongarch: LoongArch32 fixes 1 bibo mao
2025-02-25 12:08   ` Jiaxun Yang
2025-02-25 12:33     ` bibo mao
2025-02-27 10:44       ` Jiaxun Yang
2025-02-27 12:21         ` bibo mao
2025-02-27 12:36           ` Jiaxun Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).