Re: [PULL 00/28] Accelerator patches for 2024-05-06

2024-05-06 Thread Richard Henderson

On 5/6/24 05:37, Philippe Mathieu-Daudé wrote:

The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5:

   Merge tag 'pull-axp-20240504' ofhttps://gitlab.com/rth7680/qemu  into 
staging (2024-05-04 08:39:46 -0700)

are available in the Git repository at:

   https://github.com/philmd/qemu.git  tags/accel-next-20240506

for you to fetch changes up to c984d1d8916df8abac71325a5a135cd851b2106a:

   MAINTAINERS: Update my email address (2024-05-06 14:33:49 +0200)


Accelerator patches

- Extract page-protection definitions to page-protection.h
- Rework in accel/tcg in preparation of extracting TCG fields from CPUState
- More uses of get_task_state() in user emulation
- Xen refactors in preparation for adding multiple map caches (Juergen & Edgar)
- MAINTAINERS updates (Aleksandar and Bin)


Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as 
appropriate.


r~




Re: [PULL 00/28] Accelerator patches for 2024-05-06

2024-05-06 Thread Philippe Mathieu-Daudé

On 6/5/24 14:37, Philippe Mathieu-Daudé wrote:

The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5:

   Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into 
staging (2024-05-04 08:39:46 -0700)

are available in the Git repository at:

   https://github.com/philmd/qemu.git tags/accel-next-20240506


The tag is 'accel-20240506'.



for you to fetch changes up to c984d1d8916df8abac71325a5a135cd851b2106a:

   MAINTAINERS: Update my email address (2024-05-06 14:33:49 +0200)


Accelerator patches

- Extract page-protection definitions to page-protection.h
- Rework in accel/tcg in preparation of extracting TCG fields from CPUState
- More uses of get_task_state() in user emulation
- Xen refactors in preparation for adding multiple map caches (Juergen & Edgar)
- MAINTAINERS updates (Aleksandar and Bin)







[PULL 00/28] Accelerator patches for 2024-05-06

2024-05-06 Thread Philippe Mathieu-Daudé
The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5:

  Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into staging 
(2024-05-04 08:39:46 -0700)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/accel-next-20240506

for you to fetch changes up to c984d1d8916df8abac71325a5a135cd851b2106a:

  MAINTAINERS: Update my email address (2024-05-06 14:33:49 +0200)


Accelerator patches

- Extract page-protection definitions to page-protection.h
- Rework in accel/tcg in preparation of extracting TCG fields from CPUState
- More uses of get_task_state() in user emulation
- Xen refactors in preparation for adding multiple map caches (Juergen & Edgar)
- MAINTAINERS updates (Aleksandar and Bin)



Aleksandar Rikalo (1):
  MAINTAINERS: Update Aleksandar Rikalo email

BALATON Zoltan (1):
  exec/cpu: Rename PAGE_BITS macro to PAGE_RWX

Bin Meng (1):
  MAINTAINERS: Update my email address

Edgar E. Iglesias (9):
  xen: mapcache: Refactor lock functions for multi-instance
  xen: mapcache: Refactor xen_map_cache for multi-instance
  xen: mapcache: Refactor xen_remap_bucket for multi-instance
  xen: mapcache: Break out xen_ram_addr_from_mapcache_single
  xen: mapcache: Refactor xen_replace_cache_entry_unlocked
  xen: mapcache: Refactor xen_invalidate_map_cache_entry_unlocked
  xen: mapcache: Break out xen_invalidate_map_cache_single()
  xen: mapcache: Break out xen_map_cache_init_single()
  softmmu: Pass RAM MemoryRegion and is_write in xen_map_cache()

Juergen Gross (2):
  softmmu: let qemu_map_ram_ptr() use qemu_ram_ptr_length()
  xen: let xen_ram_addr_from_mapcache() return -1 in case of not found
entry

Philippe Mathieu-Daudé (14):
  exec/cpu: Indent TARGET_PAGE_foo definitions
  exec/cpu: Remove obsolete PAGE_RESERVED definition
  exec/cpu: Remove duplicated PAGE_PASSTHROUGH definition
  exec/cpu: Extract page-protection definitions to page-protection.h
  accel/tcg: Use cpu_loop_exit_requested() in cpu_loop_exec_tb()
  accel/tcg: Access tcg_cflags with getter / setter
  accel/tcg: Move user definition of cpu_interrupt() to user-exec.c
  accel/tcg: Update CPUNegativeOffsetState::can_do_io field
documentation
  accel/tcg: Restrict qemu_plugin_vcpu_exit_hook() to TCG plugins
  accel/tcg: Restrict cpu_plugin_mem_cbs_enabled() to TCG
  accel/tcg: Move @plugin_mem_cbs from CPUState to
CPUNegativeOffsetState
  user: Forward declare TaskState type definition
  user: Declare get_task_state() once in 'accel/tcg/vcpu-state.h'
  user: Use get_task_state() helper

 MAINTAINERS |  19 ++-
 accel/tcg/internal-common.h |  20 ++-
 accel/tcg/vcpu-state.h  |  18 ++
 bsd-user/bsd-mem.h  |   1 +
 bsd-user/qemu.h |  11 +-
 include/exec/cpu-all.h  |  36 ++--
 include/exec/cpu-common.h   |  38 +
 include/exec/exec-all.h |   3 -
 include/exec/page-protection.h  |  41 +
 include/hw/core/cpu.h   |  38 ++---
 include/qemu/plugin.h   |   2 +-
 include/qemu/typedefs.h |   1 +
 include/semihosting/uaccess.h   |   1 +
 include/sysemu/xen-mapcache.h   |  11 +-
 linux-user/qemu.h   |  10 +-
 target/arm/cpu.h|   1 +
 target/ppc/internal.h   |   1 +
 target/ppc/mmu-radix64.h|   2 +
 accel/tcg/cpu-exec.c|  17 +-
 accel/tcg/cputlb.c  |   1 +
 accel/tcg/plugin-gen.c  |   6 +-
 accel/tcg/tb-maint.c|   1 +
 accel/tcg/tcg-accel-ops.c   |   2 +-
 accel/tcg/translate-all.c   |   9 -
 accel/tcg/user-exec.c   |  11 +-
 bsd-user/mmap.c |   7 +-
 bsd-user/signal.c   |   1 +
 cpu-target.c|   1 +
 gdbstub/gdbstub.c   |   3 +-
 gdbstub/user-target.c   |   4 +-
 hw/core/cpu-common.c|   4 +
 hw/ppc/ppc440_bamboo.c  |   1 +
 hw/ppc/sam460ex.c   |   1 +
 hw/ppc/virtex_ml507.c   |   1 +
 hw/xen/xen-mapcache.c   | 212 +---
 linux-user/arm/cpu_loop.c   |   1 +
 linux-user/elfload.c|   3 +-
 linux-user/mmap.c   |  11 +-
 linux-user/signal.c |   1 +
 linux-user/syscall.c|   9 +-
 plugins/core.c  |   2 +-
 system/physmem.c|  82 -
 target/alpha/helper.c   |   1 +
 target/arm/cpu.c|   2 +-
 target/arm/ptw.c|   1 +
 target/arm/tcg/m_helper.c