From nobody Mon Feb 2 07:29:09 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=1769694602; cv=none; d=zohomail.com; s=zohoarc; b=cNhBK/txPBtbb/31Ftn4bAPMxgWR8yzl5yN2GbfUKnqmdR/14yev8zT1EhasUyJx/NaUhDGWMYUFO0EXF51zSn/WacKIa1hkYJXm6Tfk8QgEvISJ/I+ZZOtlDbGgcvcuQkqooPJlCQyuJsZrMnaUEqBWe9DM+GxjHjjeAhpvPW8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769694602; 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=4mthODcg9hlTzsusCMXOwt1IJq/K8Z7UN2QMJwe93wI=; b=BnBJhWnaRsfLTsdklx7nAtktZCweW4zENndULXiCXawkCLbUkoW3A6WBkgUwCYinGDSt5CeQp1g748RKv6xVWNLBo5M0N9WmJ9sqL/nudm0J3gImfhNADR3u6n3AQbj9AVnfARyWBd+IRUMxfDghn97bBBhnH8NWPfXOlQFD6TE= 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 176969460249162.45360267333638; Thu, 29 Jan 2026 05:50:02 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vlSPC-0007KG-9T; Thu, 29 Jan 2026 08:49:54 -0500 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 1vlSOS-0006uw-0S for qemu-devel@nongnu.org; Thu, 29 Jan 2026 08:49:09 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vlSOQ-0008WK-CF for qemu-devel@nongnu.org; Thu, 29 Jan 2026 08:49:07 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4806cc07ce7so9069135e9.1 for ; Thu, 29 Jan 2026 05:49:06 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48066c428basm208152365e9.12.2026.01.29.05.49.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 29 Jan 2026 05:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769694544; x=1770299344; 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=4mthODcg9hlTzsusCMXOwt1IJq/K8Z7UN2QMJwe93wI=; b=pcIBR0eA8ZulSmwe7R/mm8OWq7mkdyRcxiNQwPFolxy0+TripMVBMbTsy2NhrgXx93 svLf0H04JfBzC5viJZTsHTOWbo1WGk/jhGeDTNFVQq4eQs5w73Z6PLTT4eG3ycj9Mcjv kQYmu9bgk8c1E75Ca1RMeSBWrwfCYDtfwzPhrbhoL9qfa5bAGR/3+iXHT/+M+XrhOX1Z jnpJJDJamgvguCSSnaPI0vV8RpzMJPtTBPknggDvVifFEuNNnSNUAi/wG0wS5O86hulH asxzBq2DAM5bjTMywnr0RlieAjGUZX7J5VYADoSP35xPuhxDtp14zY0zpM4+ED7p8HI3 G0TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769694544; x=1770299344; 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=4mthODcg9hlTzsusCMXOwt1IJq/K8Z7UN2QMJwe93wI=; b=pUOn/rwpW1Rk0oYYcl3cjSe8sa2DKqtubSlqyy8cf2xsdkUXzOJKq02tZBpw46xsxb AUb+oDqKA5b/0DcLJ0hQj3gABx7AoghSx+8yh78c/wYFTahSp0Czw8eY6fdbwnZjldQo VV4UoSOdjFLZy5vFmDrGBm7xjrxoN1WefRJ90LpMNGiXqrcMeZZLURrZRav6p27gXhoO yZ+tD9UcIfEFg2A0gY95CsJhm5WDHPBompfASfbbtkFN4N9hpNse48eXZ1k+rnWju4ep I+hCgRrOmeCETzaAsKJ8TTHQP9l9r+XBQeSaXGMhbPekzhCS0Xn+vTrUmK+Yujc/PPvA nr0w== X-Gm-Message-State: AOJu0Yw2/iPCUOfrrJf0v6jocuM+WsnNK8PniowXkWwlD40q40QN6Epr PPgI/i6c7XfotSeRDA2DWHcWtDQ0kD9EwFbn3wp0/3wsplgi59w/u3bx4g6CQiBr3ViHoSmrAr5 VMV7wAXo= X-Gm-Gg: AZuq6aJZD1iGXlt/ZYncuRx+eLmq1rLhnr/7hnVjKdGqgzI9SVW5QWa3xR539t0ENEn Q0VI4fBiPr3opiCk3c1r0ztT5lvM7O0Fkh1mee8+9PG/41oIqw67/JGJ2F5Qf9WYQazgK6u1DxZ I3iuIfTopRfG+w09VfUcZrX9Yz3J+07mrOtztcJeS/72FMpS7PR/drodzX6A49fqeAhinCtIaUx vFjsmZWIJGMwkqKASsAiuPtwSUvZwshumuB39GMIOsjtovU9fQvpbs5jx0cdtQ+X2eZn+5r9Kvk Se8dURMw8bQgtsUIkuvPn8iyB5WtX/BFDo5nF81TpZmYGgkFTax5KIUKWNalQ0uqgDg07gDEr5m i3YXXQrb6slZwzCZt1DH4KjkgmvKi/JYd1U3fobury+EcrW0LzU5JFqKO9OAzVm04RfJ8452SXl nErGR/uSUWqwRWtZG/ZJ/ZyRWeT98+8XQDUPlVBCaoK8DXnjggB8kHRaA7d7z6 X-Received: by 2002:a05:600c:450b:b0:477:76bf:e1fb with SMTP id 5b1f17b1804b1-48069c21c40mr122609945e9.16.1769694544518; Thu, 29 Jan 2026 05:49:04 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , devel@lists.libvirt.org, qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] target/arm: Deprecate '-cpu any' (remplaced by '-cpu max') Date: Thu, 29 Jan 2026 14:48:49 +0100 Message-ID: <20260129134849.36557-3-philmd@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260129134849.36557-1-philmd@linaro.org> References: <20260129134849.36557-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::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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: 1769694604634154100 Since more then 5 years the '-cpu any' is aliased to '-cpu max' (see commit a0032cc5427 "target/arm: Make 'any' CPU just an alias for 'max'"). Time to deprecate the alias so we can eventually remove the alias code. Emit a warnig meanwhile. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- docs/about/deprecated.rst | 8 ++++++++ target/arm/cpu.c | 1 + 2 files changed, 9 insertions(+) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 1d5c4f3707c..c544f23cab5 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -181,6 +181,14 @@ is going to be so much slower it wouldn't make sense f= or any serious instrumentation. Due to implementation differences there will also be anomalies in things like memory instrumentation. =20 +User emulation CPUs +------------------- + +Arm 'any' CPU (since 11.0) +'''''''''''''''''''''''''' + +The Arm 'any' CPU is an alias for the 'max' CPU. Use the latter instead. + System emulator CPUs -------------------- =20 diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 6e1cbf3d614..2cf3273e8ab 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2218,6 +2218,7 @@ static ObjectClass *arm_cpu_class_by_name(const char = *cpu_model) * which has the same semantics as "-cpu max". */ if (!strcmp(cpunamestr, "any")) { + warn_report("CPU type 'any' is deprecated, use 'max' instead."); cpunamestr =3D "max"; } #endif --=20 2.52.0