target/loongarch: Use explicit little-endian LD/ST API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | hw/loongarch: Use explicit little-endian LD/ST APIhw/ | +9 | 0 replies | |
| 2/8 | target/loongarch: Replace target_ulong -> uint64_t for DMW and TLBRBADVtarget/ target/ | +5 | 0 replies | |
| 3/8 | target/loongarch: Use hwaddr type for physical addressestarget/ target/ | +3 | 0 replies | |
| 4/8 | target/loongarch: Replace MO_TE -> MO_LEtarget/ target/ target/ +1 more | +96 | 0 replies | |
| 5/8 | target/loongarch: Inline cpu_ldl_code() call in cpu_do_interrupt()target/ | +3 | 0 replies | |
| 6/8 | target/loongarch: Use explicit little-endian LD/ST APItarget/ target/ target/ | +18 | 0 replies | |
| 7/8 | target/loongarch: Inline translator_ldl()target/ | +2 | 0 replies | |
| 8/8 | configs/targets: Forbid LoongArch to use legacy native endianness APIsconfigs/ configs/ | +2 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Bibo Mao |
|---|---|
| Series | R-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] target/loongarch: Use explicit little-endian LD/ST API
LoongArch is little-endian. Use the explicit 'little' endianness instead of the 'native' one. Remove some target_ulong uses. Forbid further uses of legacy APIs.
tag: https://gitlab.com/philmd/qemu/-/tags/endian_loongarch-v1
CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066
Philippe Mathieu-Daudé (8):
hw/loongarch: Use explicit little-endian LD/ST API target/loongarch: Replace target_ulong -> uint64_t for DMW and
TLBRBADV
target/loongarch: Use hwaddr type for physical addresses target/loongarch: Replace MO_TE -> MO_LE
target/loongarch: Inline cpu_ldl_code() call in cpu_do_interrupt() target/loongarch: Use explicit little-endian LD/ST API target/loongarch: Inline translator_ldl()
configs/targets: Forbid LoongArch to use legacy native endianness APIs
configs/targets/loongarch64-linux-user.mak | 1 + configs/targets/loongarch64-softmmu.mak | 1 + hw/loongarch/virt.c | 18 ++--- target/loongarch/cpu_helper.c | 12 +-- target/loongarch/tcg/iocsr_helper.c | 24 +++--- target/loongarch/tcg/tcg_cpu.c | 4 +- target/loongarch/tcg/tlb_helper.c | 10 ++- target/loongarch/tcg/translate.c | 3 +- .../tcg/insn_trans/trans_atomic.c.inc | 80 +++++++++---------- .../tcg/insn_trans/trans_fmemory.c.inc | 32 ++++---- .../tcg/insn_trans/trans_memory.c.inc | 64 +++++++-------- .../loongarch/tcg/insn_trans/trans_vec.c.inc | 16 ++-- 12 files changed, 136 insertions(+), 129 deletions(-)
Signature · 1 line
2.52.0