From nobody Sun Mar 22 15:41:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773946385; cv=none; d=zohomail.com; s=zohoarc; b=QEc5J+YkNHaVNpnJIJBIdlgrN2FqX6oNCqnyFSWxhrt4evQD+/U+y2+KXHDfjsIF6A/Ck6lpSack6wAFOsKO/RANKSCvpZfCcuhXt60Pf/Wsr2yXNwggpWQj61HoMz75CEmvFnSXg9FFpMo07PVH6dAExvIwfNuO/PJh0dwsJ4k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773946385; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=EHvV98N1vBG7Msqj+ig/zOVtTID7C0EI/MEHDz7oGBk=; b=XclB4maaZxUWMmq1JCenfTpc2ACa7WI9mLdysnyWyLTiq+jRwjnqrw80jfLOpYYuIvc1JmZmWyjCvQuicH+AN9xYdDRFdfw9DpeFEloxPYG+WYWtllo6KAp3i6yfQYsDN5jo3uYbDwyVLN2/TmFkhFHHgeq7SX9XNbo4qTsG4ew= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773946385278771.6420374959084; Thu, 19 Mar 2026 11:53:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w3IUF-00043A-Qs; Thu, 19 Mar 2026 14:52:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w3IUF-00041z-12 for qemu-devel@nongnu.org; Thu, 19 Mar 2026 14:52:51 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w3IUD-00015h-MC for qemu-devel@nongnu.org; Thu, 19 Mar 2026 14:52:50 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4853aec185aso8255875e9.1 for ; Thu, 19 Mar 2026 11:52:49 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-486ff173756sm242435e9.0.2026.03.19.11.52.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 19 Mar 2026 11:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773946368; x=1774551168; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EHvV98N1vBG7Msqj+ig/zOVtTID7C0EI/MEHDz7oGBk=; b=N0C/rhgoR/KzYHX/xpNZTM/r7LTFlOtkpWC4z5xW35jExNDqu6EsCOp+Ju/F/+oPeB gA0v9t7xuKqog2C+f6U7xBrU+H1LAgQdUibMPqbYJpmXP04qyLmIcowgye7kzDhf59Qm jm4jQLM6zeH6SzvkeOngE8TD1A6Pmle3LhVRP4Ikw9/0lcqAYwWqBVvWw3ot+9knGDQT I7P+OrXHijEbubPa4ThTRlVqevAcbup3eQU8eR7Jcae0q3ymN0Nvt2pKnf1utu0bvr0v bjSBm2CqsVsLB8wSg8l5Rv9PByOEcFiGHFfyXYwCl/fogVMueLviEz71DfuTYNC2cjsZ 857g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773946368; x=1774551168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=EHvV98N1vBG7Msqj+ig/zOVtTID7C0EI/MEHDz7oGBk=; b=V91eQ9hul5HdMdoLAwIQCLxr6PWoVF6BQ4ZgzprRwCE9ROA0/gIxQTOnioBmTPpZC2 xfnDcbPpd5wBTqpzREtcYXOGfEvtWdDxKO0CqizuGHuRFqYMlx8uhziQOvJFu7fg0F8U HLVlCcNtV6YM4fW17PffJ+LektypcmnAjA44DQ3JvlVUEMQBCAQnOHIp1kG4gRoEjbIl 1oeLKgeLp3vOr4d9xzFgVwRmT2Ug/PsL1cNp3FrWmTi6hkuHpdoKaPqng9AXD0OC0UqS t4YJubC72GusPhtKOYdNYbh7Ze/SivqQ/ESKVn7Lv8eqGcAO5d408mKcvXlcJuD69CPL ThOA== X-Gm-Message-State: AOJu0YwvQk5sIm8nTkHxmh2f+5FVVf9Et7k2mf5pXVNbq71TKz0Vy6TJ YoeBzbIZ4EiCDS/sScMZhMEDn1O955BGE7yzGPq4XCpnvIyFCKrVNNh9lp8Th4fXIyIavcjOzHZ +qq0IuwU= X-Gm-Gg: ATEYQzx+40dPA0qE/uGfXx6hcU63IkJj9U9/GmrZrzt76L4drzFH17qz1iqLhRU62Gz oSQ6yWpdd6GYvKeKKI9Olf3z92VaOdZkdGt5djKhe2xJaSxi1IQ8EGs9Jvcnsl0njmvydhWHM6r LX6Fb1wo8cnqveaPjYgfmBW14vG04mstgaSxadOpzuBrJDvoFEa3kvhlTZXxgljRJKJgg245Zgq VHWuTSjBEOA2mYZFOSCQGI7Jc2aYpdbjXHD6zDpEX6v3+L7QCTEd43h9uWezE5UV45lEujg4m3B TIi6LvZKWRv7GCk65rDkmpsjC0VL/9FEvn1FD5mWiLpYkLg26YCpS3MArmRszw7ca0eyF+PjYs6 p7A6hwHs7eyfZfmVY6nO4B/57a1ragboNHBduKY0sdXg/MOXcm7yLS9Jli3h4qPSkKCed45YMGG VD7TBqbwctPjUzauc7HtQskBBYlovaB6HCHuRj/tP20dZnxNZC/cbrb/N4Bqy3H8pLZPRjyzsP X-Received: by 2002:a05:600c:a4a:b0:486:fe83:8621 with SMTP id 5b1f17b1804b1-486fee1ab20mr2575835e9.23.1773946367782; Thu, 19 Mar 2026 11:52:47 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Ilya Leoshkevich , Anton Johansson , Eric Farman , Christian Borntraeger , Matthew Rosato , Richard Henderson , Halil Pasic , qemu-s390x@nongnu.org, David Hildenbrand , Cornelia Huck , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 5/5] configs/targets: Restrict the legacy ldst_phys() API on s390x target Date: Thu, 19 Mar 2026 19:52:03 +0100 Message-ID: <20260319185203.11799-6-philmd@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260319185203.11799-1-philmd@linaro.org> References: <20260319185203.11799-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773946387848154100 The s390x target doesn't use the legacy ldst_phys() API anymore. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to hide the legacy API to the qemu-system-loongarch64 binary, avoiding further API uses to creep in. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configs/targets/s390x-softmmu.mak | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/targets/s390x-softmmu.mak b/configs/targets/s390x-soft= mmu.mak index e273075f1a9..478988e6d4a 100644 --- a/configs/targets/s390x-softmmu.mak +++ b/configs/targets/s390x-softmmu.mak @@ -4,3 +4,4 @@ TARGET_KVM_HAVE_GUEST_DEBUG=3Dy TARGET_XML_FILES=3D s390x-core64.xml s390-acr.xml s390-fpr.xml s390-vx.xml= s390-cr.xml s390-virt.xml s390-virt-kvm.xml s390-gs.xml TARGET_LONG_BITS=3D64 TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=3Dy +TARGET_NOT_USING_LEGACY_LDST_PHYS_API=3Dy --=20 2.53.0