[PATCH 0/4] target/loongarch: Remove some unnecessary target_ulong uses

Philippe Mathieu-Daudé posted 4 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251009201947.34643-1-philmd@linaro.org
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
target/loongarch/cpu-mmu.h                             | 2 +-
target/loongarch/tcg/helper.h                          | 2 +-
hw/loongarch/boot.c                                    | 7 ++++---
target/loongarch/cpu_helper.c                          | 2 +-
target/loongarch/gdbstub.c                             | 2 +-
target/loongarch/tcg/tlb_helper.c                      | 4 ++--
target/loongarch/tcg/translate.c                       | 2 +-
target/loongarch/tcg/insn_trans/trans_privileged.c.inc | 2 +-
8 files changed, 12 insertions(+), 11 deletions(-)
[PATCH 0/4] target/loongarch: Remove some unnecessary target_ulong uses
Posted by Philippe Mathieu-Daudé 1 month ago
Remove few invalid target_ulong uses in LoongArch frontend.

Philippe Mathieu-Daudé (4):
  hw/loongarch/boot: Remove unnecessary cast to target_ulong
  target/loongarch: Remove target_ulong use in gen_goto_tb()
  target/loongarch: Remove target_ulong use in gdb_write_register
    handler
  target/loongarch: Do not use target_ulong type for LDDIR level

 target/loongarch/cpu-mmu.h                             | 2 +-
 target/loongarch/tcg/helper.h                          | 2 +-
 hw/loongarch/boot.c                                    | 7 ++++---
 target/loongarch/cpu_helper.c                          | 2 +-
 target/loongarch/gdbstub.c                             | 2 +-
 target/loongarch/tcg/tlb_helper.c                      | 4 ++--
 target/loongarch/tcg/translate.c                       | 2 +-
 target/loongarch/tcg/insn_trans/trans_privileged.c.inc | 2 +-
 8 files changed, 12 insertions(+), 11 deletions(-)

-- 
2.51.0


Re: [PATCH 0/4] target/loongarch: Remove some unnecessary target_ulong uses
Posted by gaosong 1 month ago
在 2025/10/10 上午4:19, Philippe Mathieu-Daudé 写道:
> Remove few invalid target_ulong uses in LoongArch frontend.
>
> Philippe Mathieu-Daudé (4):
>    hw/loongarch/boot: Remove unnecessary cast to target_ulong
>    target/loongarch: Remove target_ulong use in gen_goto_tb()
>    target/loongarch: Remove target_ulong use in gdb_write_register
>      handler
>    target/loongarch: Do not use target_ulong type for LDDIR level
>
>   target/loongarch/cpu-mmu.h                             | 2 +-
>   target/loongarch/tcg/helper.h                          | 2 +-
>   hw/loongarch/boot.c                                    | 7 ++++---
>   target/loongarch/cpu_helper.c                          | 2 +-
>   target/loongarch/gdbstub.c                             | 2 +-
>   target/loongarch/tcg/tlb_helper.c                      | 4 ++--
>   target/loongarch/tcg/translate.c                       | 2 +-
>   target/loongarch/tcg/insn_trans/trans_privileged.c.inc | 2 +-
>   8 files changed, 12 insertions(+), 11 deletions(-)
>
Sorry for the wrong  'sig
Reviewed-by: Song Gao <gaosong@loongson.cn>

Thanks.
Song Gao


Re: [PATCH 0/4] target/loongarch: Remove some unnecessary target_ulong uses
Posted by Philippe Mathieu-Daudé 4 weeks, 1 day ago
On 14/10/25 12:00, gaosong wrote:
> 在 2025/10/10 上午4:19, Philippe Mathieu-Daudé 写道:
>> Remove few invalid target_ulong uses in LoongArch frontend.
>>
>> Philippe Mathieu-Daudé (4):
>>    hw/loongarch/boot: Remove unnecessary cast to target_ulong
>>    target/loongarch: Remove target_ulong use in gen_goto_tb()
>>    target/loongarch: Remove target_ulong use in gdb_write_register
>>      handler
>>    target/loongarch: Do not use target_ulong type for LDDIR level
>>
>>   target/loongarch/cpu-mmu.h                             | 2 +-
>>   target/loongarch/tcg/helper.h                          | 2 +-
>>   hw/loongarch/boot.c                                    | 7 ++++---
>>   target/loongarch/cpu_helper.c                          | 2 +-
>>   target/loongarch/gdbstub.c                             | 2 +-
>>   target/loongarch/tcg/tlb_helper.c                      | 4 ++--
>>   target/loongarch/tcg/translate.c                       | 2 +-
>>   target/loongarch/tcg/insn_trans/trans_privileged.c.inc | 2 +-
>>   8 files changed, 12 insertions(+), 11 deletions(-)
>>
> Sorry for the wrong  'sig
> Reviewed-by: Song Gao <gaosong@loongson.cn>

Thanks! Series queued.