From patchwork Mon Nov 20 15:08:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 745375 Delivered-To: patch@linaro.org Received: by 2002:a5d:5052:0:b0:32d:baff:b0ca with SMTP id h18csp1347640wrt; Mon, 20 Nov 2023 07:14:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGieTOeqMtU+BUN4y+E1q5jbI3y02nBpnEwrvmmQPFfUS3G4Hk5jgXsxri17KfPAXGFVspc X-Received: by 2002:a05:600c:190e:b0:401:b6f6:d90c with SMTP id j14-20020a05600c190e00b00401b6f6d90cmr5649197wmq.35.1700493256497; Mon, 20 Nov 2023 07:14:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700493256; cv=none; d=google.com; s=arc-20160816; b=crTuVikLs8jGE53Mxp660Wh6ruZt3deo5SJUlDLXSjGRWJkX51lpqvyfHAEw4R9OkX 6QMQFo8o6d7QXguL1WLOYb+LyztpAlaldFt/JEIXq+KaQB1xsN6efADHsLQAUP/i4JtY zEb0b8vIEZfO8qR7zv6RyOoJs35k6zFB/d+syUwK+sHteLTeLFdxySS2CR1Wb0uWG34s AZAAGg4/rOSogyK+YzF7qFEVe7OLO4/41fjRZH8EsKII3KZK+JGcgWH1gvRRMm2GTPe+ oNSamWU6pyH3EtMZmDjc1bKOBDh2lEIz3V13zeL6L9T31j2HPx5dNERPsSnOHQZEBr8b ntJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xunI738Fqo6s2FpWviDGopn4HPhskLpvM21aNsZbJoM=; fh=L8gboe2BpnMHPozXPXZ1zwcw4kd4+Ep8z61Ccww9Lhk=; b=x9dL/z4bDAgXiRofdouPpKqUgedMyKNaaBpOBwPYxwvrX6l9B+7ZMWZXmFQp0bR1Qv GdodkVYDbKd9xtthtE3A2sbOseOIWakSS4cqsSR9MIfw+iNYw7rzLkWOyF0cs5n9wAru ae4R3G8F0+JdjY8HJ9z1iXKP2XmrwlbLQyzWUNPqlXI/5/kCVcAEJkwPIZw2o1j+54Y/ 6FqsBVgsd0qQsYgp6FRKJH0/t4+AOLlwnSxQeq7+9upAqVsQxpUrKoh3cHfj88jZiDpF fkShegQLyP64L1c/hxV4DaVX7q5uhGaecx0kGXzuy3BmkGHoeNy7HT2OBSzqwmpcQf40 RZIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VwpMFHeA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k17-20020a7bc411000000b00407933d404bsi4859346wmi.63.2023.11.20.07.14.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Nov 2023 07:14:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VwpMFHeA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r55td-0006GL-2k; Mon, 20 Nov 2023 10:09:09 -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 1r55tS-0005tx-Nd for qemu-devel@nongnu.org; Mon, 20 Nov 2023 10:09:00 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r55tC-0001F1-Vb for qemu-devel@nongnu.org; Mon, 20 Nov 2023 10:08:57 -0500 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c5039d4e88so58777251fa.3 for ; Mon, 20 Nov 2023 07:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700492921; x=1701097721; 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=xunI738Fqo6s2FpWviDGopn4HPhskLpvM21aNsZbJoM=; b=VwpMFHeAvkKBE+nuZ57WbabJpa9xnAOHjYOIFHzsMLdO2QVO859pHUoBhE6fmSMcvN a120Cn2VONxmZLyOXNWCg4SrlVhaUh+RlZhDRA1n3havHd488c5lSKW+AZO+XYs0gfkj IsWGFWbdwEKrM1mFh1Lx1p3P046r3PQ1YgWzMiVWJLr642WKGwENkuBjtKegxO3Bu+pW Sl95/IZSEzovrxi6t6kZexPwTrDb43JYv3qxIXv4zYi4nIz58gd9LTCwlucbZHWMikXA IIIFGbXkg7VYgnaewP3iwSVYk+ICtuT1vZJzB3BxnMnjETENQ4QdDfhWsAZ5p10apc9q 2V8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700492921; x=1701097721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xunI738Fqo6s2FpWviDGopn4HPhskLpvM21aNsZbJoM=; b=ghOXDDi5M8Sh6FfNaYW3tj7SPK/iTDrnSnHtZfr5LTCI4By2JZT5qORMRYgvVFxniL p5leD4aciXzi3TRNPuReiwO3rosJD1bEvmU7/QgApXysA82N4o26UDvJs9frb5kAAfmY Ml4jLx1Xrb0FOJy9u3CAyX0Sjtk4NU/wRp04V5QkcRCdyM+oKZjENRXoA5gdmSlq5YwJ uL4caYtcd7wTfbxqNX437aYYw7Nq9YLc0IjpR2WjrT8ynmkYjDIxnfmliGP1gQpnLlCe 3qm+bim5zg9OtswUYWXLQ6vYVyLBojEcmfRPCDmcOwiVi6KoGN2+zilk5cL/W8VrOy/M aXGA== X-Gm-Message-State: AOJu0YwVGd96x8CBcbryvGXuJqjuoPib2omw/UoExdK1szzTeXcsPlRg Ixbow9AJdsktSYZb7w+KlaLX2Q== X-Received: by 2002:a2e:9d89:0:b0:2c5:2813:5534 with SMTP id c9-20020a2e9d89000000b002c528135534mr5248557ljj.51.1700492920828; Mon, 20 Nov 2023 07:08:40 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id fc16-20020a05600c525000b004054dcbf92asm13671291wmb.20.2023.11.20.07.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:08:38 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 7A66665773; Mon, 20 Nov 2023 15:08:34 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , =?utf-8?q?C=C3=A9dric?= =?utf-8?q?_Le_Goater?= , Mahmoud Mandour , Peter Maydell , David Hildenbrand , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-s390x@nongnu.org, Beraldo Leal , qemu-arm@nongnu.org, devel@lists.libvirt.org, qemu-ppc@nongnu.org, Daniel Henrique Barboza , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alexandre Iooss , Marek Vasut , Thomas Huth , Chris Wulff , Ilya Leoshkevich , Richard Henderson , Nicholas Piggin Subject: [PATCH v2 05/14] target/nios2: Deprecate the Nios II architecture Date: Mon, 20 Nov 2023 15:08:24 +0000 Message-Id: <20231120150833.2552739-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231120150833.2552739-1-alex.bennee@linaro.org> References: <20231120150833.2552739-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x22b.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé See commit 9ba1caf510 ("MAINTAINERS: Mark the Nios II CPU as orphan"), last contribution from Chris was in 2012 [1] and Marek in 2018 [2]. [1] https://lore.kernel.org/qemu-devel/1352607539-10455-2-git-send-email-crwulff@gmail.com/ [2] https://lore.kernel.org/qemu-devel/805fc7b5-03f0-56d4-abfd-ed010d4fa769@denx.de/ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Acked-by: Marek Vasut Reviewed-by: Thomas Huth Message-Id: <20231117070250.32932-1-philmd@linaro.org> Signed-off-by: Alex Bennée --- docs/about/deprecated.rst | 15 +++++++++++++++ hw/nios2/10m50_devboard.c | 1 + hw/nios2/generic_nommu.c | 1 + 3 files changed, 17 insertions(+) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 6c84db90b5..2e15040246 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -236,6 +236,16 @@ it. Since all recent x86 hardware from the past >10 years is capable of the 64-bit x86 extensions, a corresponding 64-bit OS should be used instead. +System emulator CPUs +-------------------- + +Nios II CPU (since 8.2) +''''''''''''''''''''''' + +The Nios II architecture is orphan. The ``nios2`` guest CPU support is +deprecated and will be removed in a future version of QEMU. + + System emulator machines ------------------------ @@ -254,6 +264,11 @@ These old machine types are quite neglected nowadays and thus might have various pitfalls with regards to live migration. Use a newer machine type instead. +Nios II ``10m50-ghrd`` and ``nios2-generic-nommu`` machines (since 8.2) +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +The Nios II architecture is orphan. + Backend options --------------- diff --git a/hw/nios2/10m50_devboard.c b/hw/nios2/10m50_devboard.c index 952a0dc33e..6cb32f777b 100644 --- a/hw/nios2/10m50_devboard.c +++ b/hw/nios2/10m50_devboard.c @@ -160,6 +160,7 @@ static void nios2_10m50_ghrd_class_init(ObjectClass *oc, void *data) mc->desc = "Altera 10M50 GHRD Nios II design"; mc->init = nios2_10m50_ghrd_init; mc->is_default = true; + mc->deprecation_reason = "Nios II architecture is deprecated"; object_class_property_add_bool(oc, "vic", get_vic, set_vic); object_class_property_set_description(oc, "vic", diff --git a/hw/nios2/generic_nommu.c b/hw/nios2/generic_nommu.c index 48edb3ae37..defa16953f 100644 --- a/hw/nios2/generic_nommu.c +++ b/hw/nios2/generic_nommu.c @@ -95,6 +95,7 @@ static void nios2_generic_nommu_machine_init(struct MachineClass *mc) { mc->desc = "Generic NOMMU Nios II design"; mc->init = nios2_generic_nommu_init; + mc->deprecation_reason = "Nios II architecture is deprecated"; } DEFINE_MACHINE("nios2-generic-nommu", nios2_generic_nommu_machine_init);