public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH-for-11.0?] configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64
@ 2026-03-19 10:44 Philippe Mathieu-Daudé
  2026-03-20 10:28 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-03-19 10:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: Anton Johansson, Pierrick Bouvier, qemu-arm,
	Philippe Mathieu-Daudé

Commit d751921cffd ("hw/arm/omap1: Remove omap_badwidth_*
implementations") removed the last use of the legacy ldst_phys()
API. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to
hide the legacy API to the ARM / Aarch64 binaries, avoiding further
API uses to creep in.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 configs/targets/aarch64-softmmu.mak | 1 +
 configs/targets/arm-softmmu.mak     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/targets/aarch64-softmmu.mak b/configs/targets/aarch64-softmmu.mak
index 9a20187e2c1..d34aead41c4 100644
--- a/configs/targets/aarch64-softmmu.mak
+++ b/configs/targets/aarch64-softmmu.mak
@@ -5,3 +5,4 @@ TARGET_XML_FILES= aarch64-core.xml aarch64-fpu.xml arm-core.xml arm-vfp.xml arm-
 # needed by boot.c
 TARGET_NEED_FDT=y
 TARGET_LONG_BITS=64
+TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
diff --git a/configs/targets/arm-softmmu.mak b/configs/targets/arm-softmmu.mak
index 35af7da79f2..b235e34a380 100644
--- a/configs/targets/arm-softmmu.mak
+++ b/configs/targets/arm-softmmu.mak
@@ -3,3 +3,4 @@ TARGET_XML_FILES= arm-core.xml arm-vfp.xml arm-vfp3.xml arm-vfp-sysregs.xml arm-
 # needed by boot.c
 TARGET_NEED_FDT=y
 TARGET_LONG_BITS=32
+TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
-- 
2.53.0



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

* Re: [PATCH-for-11.0?] configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64
  2026-03-19 10:44 [PATCH-for-11.0?] configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64 Philippe Mathieu-Daudé
@ 2026-03-20 10:28 ` Peter Maydell
  2026-03-20 12:55   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2026-03-20 10:28 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Anton Johansson, Pierrick Bouvier, qemu-arm

On Thu, 19 Mar 2026 at 10:44, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> Commit d751921cffd ("hw/arm/omap1: Remove omap_badwidth_*
> implementations") removed the last use of the legacy ldst_phys()
> API. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to
> hide the legacy API to the ARM / Aarch64 binaries, avoiding further
> API uses to creep in.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>  configs/targets/aarch64-softmmu.mak | 1 +
>  configs/targets/arm-softmmu.mak     | 1 +
>  2 files changed, 2 insertions(+)

We might as well take this now, it's pretty safe.



Applied to target-arm.next, thanks.

-- PMM


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

* Re: [PATCH-for-11.0?] configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64
  2026-03-20 10:28 ` Peter Maydell
@ 2026-03-20 12:55   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-03-20 12:55 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel, Anton Johansson, Pierrick Bouvier, qemu-arm

On 20/3/26 11:28, Peter Maydell wrote:
> On Thu, 19 Mar 2026 at 10:44, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>>
>> Commit d751921cffd ("hw/arm/omap1: Remove omap_badwidth_*
>> implementations") removed the last use of the legacy ldst_phys()
>> API. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to
>> hide the legacy API to the ARM / Aarch64 binaries, avoiding further
>> API uses to creep in.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>>   configs/targets/aarch64-softmmu.mak | 1 +
>>   configs/targets/arm-softmmu.mak     | 1 +
>>   2 files changed, 2 insertions(+)
> 
> We might as well take this now, it's pretty safe.

Thank you, appreciated!

> Applied to target-arm.next, thanks.
> 
> -- PMM



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

end of thread, other threads:[~2026-03-20 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19 10:44 [PATCH-for-11.0?] configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64 Philippe Mathieu-Daudé
2026-03-20 10:28 ` Peter Maydell
2026-03-20 12:55   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox