[PATCH v2 0/7] page-vary: Build once

Richard Henderson posted 7 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260217095106.598486-1-richard.henderson@linaro.org
Maintainers: Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Peter Maydell <peter.maydell@linaro.org>
include/exec/page-vary.h          | 19 ++++++--
include/qemu/target-info-impl.h   |  7 +++
target/arm/cpu-param.h            |  1 -
configs/targets/aarch64-softmmu.c |  2 +
configs/targets/arm-softmmu.c     |  2 +
page-vary-common.c                | 44 +++++++++++------
page-vary-system.c                | 33 +++++++++++++
page-vary-target.c                | 81 -------------------------------
target-info-stub.c                | 15 ++++++
meson.build                       |  2 +-
10 files changed, 103 insertions(+), 103 deletions(-)
create mode 100644 page-vary-system.c
delete mode 100644 page-vary-target.c
[PATCH v2 0/7] page-vary: Build once
Posted by Richard Henderson 1 month, 3 weeks ago
Hi Phil,

What about going a step or two further and eliminating
page-vary-target.c entirely?


r~


Philippe Mathieu-Daudé (1):
  page-vary: Expose TARGET_PAGE_BITS_MIN definition

Richard Henderson (6):
  target-info: Add page_bits_{init,vary}
  target-info: Move TARGET_PAGE_BITS sanity check
  page-vary: Build set_preferred_target_page_bits as common code
  page-vary: Build finalize_target_page_bits as common code
  page-vary: Build migration_legacy_page_bits as common code
  target-info: Eliminate TARGET_PAGE_BITS_LEGACY

 include/exec/page-vary.h          | 19 ++++++--
 include/qemu/target-info-impl.h   |  7 +++
 target/arm/cpu-param.h            |  1 -
 configs/targets/aarch64-softmmu.c |  2 +
 configs/targets/arm-softmmu.c     |  2 +
 page-vary-common.c                | 44 +++++++++++------
 page-vary-system.c                | 33 +++++++++++++
 page-vary-target.c                | 81 -------------------------------
 target-info-stub.c                | 15 ++++++
 meson.build                       |  2 +-
 10 files changed, 103 insertions(+), 103 deletions(-)
 create mode 100644 page-vary-system.c
 delete mode 100644 page-vary-target.c

-- 
2.43.0


Re: [PATCH v2 0/7] page-vary: Build once
Posted by Philippe Mathieu-Daudé 1 month, 2 weeks ago
On 17/2/26 10:50, Richard Henderson wrote:

> Philippe Mathieu-Daudé (1):
>    page-vary: Expose TARGET_PAGE_BITS_MIN definition
> 
> Richard Henderson (6):
>    target-info: Add page_bits_{init,vary}
>    target-info: Move TARGET_PAGE_BITS sanity check
>    page-vary: Build set_preferred_target_page_bits as common code
>    page-vary: Build finalize_target_page_bits as common code
>    page-vary: Build migration_legacy_page_bits as common code

Queuing patches 1-6, thanks for the help!