All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] target_info optimizations
@ 2026-05-11 19:06 Richard Henderson
  2026-05-11 19:06 ` [PATCH 1/5] meson: Build target-info-qom.c with -fno-lto Richard Henderson
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Richard Henderson @ 2026-05-11 19:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: pierrick.bouvier, philmd

Based-on: 20260509005453.3984184-1-pierrick.bouvier@oss.qualcomm.com
("[PATCH v5 0/6] single-binary: deduplicate target_info()")

Allow TargetInfo accesses to resolve to a direct structure access.
Arrange for the structure to appear const to the majority of qemu.
For user-only, the structure actually is const; for system, the
structure is initialized early.


r~


Richard Henderson (5):
  meson: Build target-info-qom.c with -fno-lto
  target-info: Expose target_info as const data
  target-info: Merge target-info-impl.h into target-info.h
  target-info: Merge target-info-qapi.h into target-info.h
  target-info: Inline accessors

 include/qemu/target-info-impl.h   |  44 -----------
 include/qemu/target-info-init.h   |  45 ++++++++---
 include/qemu/target-info-qapi.h   |  29 -------
 include/qemu/target-info-qom.h    |   2 +-
 include/qemu/target-info.h        | 123 +++++++++++++++++++++++++++---
 configs/targets/aarch64-softmmu.c |  18 +----
 configs/targets/arm-softmmu.c     |  18 +----
 hw/core/machine-qmp-cmds.c        |   1 -
 hw/uefi/ovmf-log.c                |   2 +-
 hw/virtio/virtio-mem.c            |   2 +-
 page-vary-common.c                |  10 +--
 page-vary-system.c                |   8 +-
 system/arch_init.c                |   2 +-
 target-info-qom.c                 |  13 ++--
 target-info-stub.c                |  27 +------
 target-info.c                     |  95 -----------------------
 meson.build                       |  13 ++--
 17 files changed, 179 insertions(+), 273 deletions(-)
 delete mode 100644 include/qemu/target-info-impl.h
 delete mode 100644 include/qemu/target-info-qapi.h
 delete mode 100644 target-info.c

-- 
2.43.0



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-05-12  3:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 19:06 [PATCH 0/5] target_info optimizations Richard Henderson
2026-05-11 19:06 ` [PATCH 1/5] meson: Build target-info-qom.c with -fno-lto Richard Henderson
2026-05-11 19:38   ` Pierrick Bouvier
2026-05-11 20:08     ` Richard Henderson
2026-05-11 19:06 ` [PATCH 2/5] target-info: Expose target_info as const data Richard Henderson
2026-05-12  2:22   ` Pierrick Bouvier
2026-05-11 19:06 ` [PATCH 3/5] target-info: Merge target-info-impl.h into target-info.h Richard Henderson
2026-05-12  2:25   ` Pierrick Bouvier
2026-05-12  3:20   ` Philippe Mathieu-Daudé
2026-05-11 19:06 ` [PATCH 4/5] target-info: Merge target-info-qapi.h " Richard Henderson
2026-05-12  2:25   ` Pierrick Bouvier
2026-05-11 19:06 ` [PATCH 5/5] target-info: Inline accessors Richard Henderson
2026-05-12  2:26   ` Pierrick Bouvier
2026-05-12  2:14 ` [PATCH 0/5] target_info optimizations Pierrick Bouvier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.