[PATCH 00/18] target/s390x: Prohibit target_ulong and TARGET_PAGE_SIZE uses

Philippe Mathieu-Daudé posted 18 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260107130807.69870-1-philmd@linaro.org
Maintainers: Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Farhan Ali <alifm@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>
There is a newer version of this series
include/hw/s390x/css.h         |   2 +
target/s390x/cpu.h             |   6 --
target/s390x/kvm/pv.h          |  51 +---------
target/s390x/s390x-internal.h  |  16 ++--
target/s390x/tcg/tcg_s390x.h   |   5 +
target/s390x/cpu.c             |  30 +++---
target/s390x/gdbstub.c         |   2 +-
target/s390x/helper.c          |  49 +---------
target/s390x/ioinst.c          |   5 +-
target/s390x/kvm/kvm.c         |   2 +
target/s390x/kvm/pv.c          |  18 ++++
target/s390x/kvm/stubs.c       | 170 ++++++++++++++++++++++++++++++++-
target/s390x/mmu_helper.c      |  33 +++----
target/s390x/tcg/debug.c       |  85 +++++++++++++++++
target/s390x/tcg/excp_helper.c |  35 +------
target/s390x/tcg/translate.c   |   5 +-
target/s390x/meson.build       |   5 +-
target/s390x/tcg/meson.build   |   3 +
18 files changed, 340 insertions(+), 182 deletions(-)
create mode 100644 target/s390x/tcg/debug.c
[PATCH 00/18] target/s390x: Prohibit target_ulong and TARGET_PAGE_SIZE uses
Posted by Philippe Mathieu-Daudé 1 month ago
- Restrict WatchPoint API to TCG
- Replace target_ulong uses by vaddr / hwaddr / uint64_t
- Remove the single TARGET_PAGE_SIZE
- Remove CONFIG_KVM from headers
- Compiles objects as target_common_system_arch, effectively
  forbidding further target_ulong / TARGET_PAGE_SIZE uses.

Philippe Mathieu-Daudé (18):
  target/s390x: Restrict WatchPoint API to TCG
  target/s390x: Use address_space_ldl_be() in read_table_entry()
  target/s390x: Use vaddr for $pc in get_next_pc()
  target/s390x: Replace target_ulong -> uint64_t in gdb_write_register()
  target/s390x: Remove unused 'gdbstub/helpers.h' header in helper.c
  target/s390x: Replace target_ulong -> hwaddr in get_phys_page_debug()
  target/s390x: Pass vaddr/hwaddr types to mmu_translate_asce()
  target/s390x: Use hwaddr in mmu_real2abs()
  target/s390x: Pass hwaddr to mmu_handle_skey()
  target/s390x: Replace target_ulong -> vaddr in get_phys_addr_debug()
  target/s390x: Use hwaddr in translate_pages()
  target/s390x: Pass vaddr/hwaddr types to mmu_translate*()
  target/s390x: Introduce CHSC_MAX_REQ_LEN definition
  target/s390x: Simplify S390_ADAPTER_SUPPRESSIBLE definition
  target/s390x: Un-inline s390_is_pv()
  target/s390x: Un-inline KVM Protected Virtualization stubs
  target/s390x: Add more unreachable KVM stubs
  target/s390x: Build system units in common source set

 include/hw/s390x/css.h         |   2 +
 target/s390x/cpu.h             |   6 --
 target/s390x/kvm/pv.h          |  51 +---------
 target/s390x/s390x-internal.h  |  16 ++--
 target/s390x/tcg/tcg_s390x.h   |   5 +
 target/s390x/cpu.c             |  30 +++---
 target/s390x/gdbstub.c         |   2 +-
 target/s390x/helper.c          |  49 +---------
 target/s390x/ioinst.c          |   5 +-
 target/s390x/kvm/kvm.c         |   2 +
 target/s390x/kvm/pv.c          |  18 ++++
 target/s390x/kvm/stubs.c       | 170 ++++++++++++++++++++++++++++++++-
 target/s390x/mmu_helper.c      |  33 +++----
 target/s390x/tcg/debug.c       |  85 +++++++++++++++++
 target/s390x/tcg/excp_helper.c |  35 +------
 target/s390x/tcg/translate.c   |   5 +-
 target/s390x/meson.build       |   5 +-
 target/s390x/tcg/meson.build   |   3 +
 18 files changed, 340 insertions(+), 182 deletions(-)
 create mode 100644 target/s390x/tcg/debug.c

-- 
2.52.0