[PATCH 0/5] hexagon, hppa, loongarch, m68k, mips: Convert to translate_for_debug

Peter Maydell posted 5 patches 1 day, 7 hours ago
target/hppa/cpu.h             |  3 ++-
target/loongarch/cpu-mmu.h    |  3 ++-
target/m68k/cpu.h             |  3 ++-
target/mips/internal.h        |  3 ++-
target/hexagon/cpu.c          | 15 +++++++++++----
target/hppa/cpu.c             |  2 +-
target/hppa/mem_helper.c      | 21 ++++++++++++++++-----
target/loongarch/cpu.c        |  2 +-
target/loongarch/cpu_helper.c | 12 +++++++++---
target/m68k/cpu.c             |  2 +-
target/m68k/helper.c          | 16 ++++++++++++----
target/mips/cpu.c             |  2 +-
target/mips/system/physaddr.c | 13 ++++++++++---
13 files changed, 70 insertions(+), 27 deletions(-)
[PATCH 0/5] hexagon, hppa, loongarch, m68k, mips: Convert to translate_for_debug
Posted by Peter Maydell 1 day, 7 hours ago
Earlier this year I did some work on the API that target CPUs use to
provide "translate this virtual address to physical for a debug
access". We now have a new method, translate_for_debug, but still
support the old get_phys_addr_debug method as well.

This series does a bit of cleanup by converting another five target
architectures from the legacy method to the new one. Conversion
is straightforward, and matches the set I sent a few days ago
for some other architectures:
https://patchew.org/QEMU/20261020122752.3651914-1-peter.maydell@linaro.org/

thanks
-- PMM

Peter Maydell (5):
  target/hexagon: Convert to translate_for_debug
  target/hppa: Convert to translate_for_debug
  target/loongarch: Convert to translate_for_debug
  target/m68k: Convert to translate_for_debug
  target/mips: Convert to translate_for_debug

 target/hppa/cpu.h             |  3 ++-
 target/loongarch/cpu-mmu.h    |  3 ++-
 target/m68k/cpu.h             |  3 ++-
 target/mips/internal.h        |  3 ++-
 target/hexagon/cpu.c          | 15 +++++++++++----
 target/hppa/cpu.c             |  2 +-
 target/hppa/mem_helper.c      | 21 ++++++++++++++++-----
 target/loongarch/cpu.c        |  2 +-
 target/loongarch/cpu_helper.c | 12 +++++++++---
 target/m68k/cpu.c             |  2 +-
 target/m68k/helper.c          | 16 ++++++++++++----
 target/mips/cpu.c             |  2 +-
 target/mips/system/physaddr.c | 13 ++++++++++---
 13 files changed, 70 insertions(+), 27 deletions(-)

-- 
2.43.0
Re: [PATCH 0/5] hexagon, hppa, loongarch, m68k, mips: Convert to translate_for_debug
Posted by Philippe Mathieu-Daudé 4 hours ago
On 22/10/26 14:58, Peter Maydell wrote:

> Peter Maydell (5):
>    target/hexagon: Convert to translate_for_debug
>    target/hppa: Convert to translate_for_debug
>    target/loongarch: Convert to translate_for_debug
>    target/m68k: Convert to translate_for_debug
>    target/mips: Convert to translate_for_debug

Queued, thanks.