Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198253/?format=api
{ "id": 2198253, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198253/?format=api", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.0/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260219171810.602667-2-alex.bennee@linaro.org>", "date": "2026-02-19T17:17:57", "name": "[RFC,v2,01/14] target/m68k: clean-up includes in cpu.c", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0bad3cdf77e9b0e411794c59058636d9bbac8929", "submitter": { "id": 39532, "url": "http://patchwork.ozlabs.org/api/1.0/people/39532/?format=api", "name": "Alex Bennée", "email": "alex.bennee@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260219171810.602667-2-alex.bennee@linaro.org/mbox/", "series": [ { "id": 492705, "url": "http://patchwork.ozlabs.org/api/1.0/series/492705/?format=api", "date": "2026-02-19T17:17:57", "name": "cpu_reset clean-ups for arm, alpha, mips, m68k and tricore", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492705/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2198253/checks/", "tags": {}, "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=Mm3T/3uQ;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fH0Tk3qMGz1xvS\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 04:18:50 +1100 (AEDT)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1vt7fR-0005Nt-Do; Thu, 19 Feb 2026 12:18:21 -0500", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1vt7fO-0005Lj-LK\n for qemu-devel@nongnu.org; Thu, 19 Feb 2026 12:18:18 -0500", "from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1vt7fM-0000QV-TP\n for qemu-devel@nongnu.org; Thu, 19 Feb 2026 12:18:18 -0500", "by mail-ed1-x52b.google.com with SMTP id\n 4fb4d7f45d1cf-65808d08423so1724420a12.1\n for <qemu-devel@nongnu.org>; Thu, 19 Feb 2026 09:18:16 -0800 (PST)", "from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id\n 4fb4d7f45d1cf-65bad29d4afsm3912153a12.10.2026.02.19.09.18.11\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 19 Feb 2026 09:18:11 -0800 (PST)", "from draig.lan (localhost [IPv6:::1])\n by draig.lan (Postfix) with ESMTP id 9F1355F877;\n Thu, 19 Feb 2026 17:18:10 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1771521495; x=1772126295; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=2GGmWkjWz4puRqxAAWgWsdZGg7jCqrUwwLlCs/EENBI=;\n b=Mm3T/3uQaIKRTqZ8YcIZ5tMR8BWeZhvz8n29B86ta1/5/PBzlBnxpOzDdVDnEAhUrX\n SiJGO6l8/y5JmmJ6rLX5z6/7p/w/bs+Y8hJ6FqkFPpBSOBzZfNBdH0laj/9mnrUakK5w\n +T42Vbo+nRgBQwZCQSmdnckZoN/IV21sMETor9dbsanHGWcJE0TRRRxdVg7hY7XTlO4H\n KOddffcQr55MDydsL+IliL6dvovntmj9kIU+l0uFzLwhfO13gnKX//rKjiQwihIrt1Nd\n kPQgAezBqFI9hOc8rqcoSSa9Et8cLWzUWT4MpUU160BKy1GYYSxFZheKqisYQo3pfI2b\n vSnQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771521495; x=1772126295;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=2GGmWkjWz4puRqxAAWgWsdZGg7jCqrUwwLlCs/EENBI=;\n b=CWT6FOwc4HSwPtzZ+2rqyEl66kNGGG7uxvZZYg8CMA5Vd4+0PpULE6YYyCx/6RHBEX\n vEY03ZUYn4z8iNqlauFC6WvCJ4Zv6gdZ4Og4ni6nG8jow0M06RQXK5+DgYqIIATQHr1R\n EGUNZ25KtbUTNyKCMl9wHkzu6nubYkSuITcUnOYKzNnFrgoyqvngUEGONb7UJk4mtNHu\n 4bs7ht9ZzpLrR13BQ/TxXP+b67VJSVPQXchnhrjRWvxdkS/EEOCA1ByDwh+k6cwngRFR\n nl/ePBhqwjGi6/jBcbdkVXjBG9znP074itkeRVpDWiM85/tNiypK8aIqbxqMwZ0rghFE\n ezTA==", "X-Gm-Message-State": "AOJu0Yz1mZCYvSdvFmihQXR88b1Mmtj7sbdb1yaMEKRAU+BX0cKg9rGT\n YSWf1F+5mBwr09X3seQkZfivN3GXIUHQIXPJCXz4IARz/jnNn0yZNcL3It1ohg5yvgY=", "X-Gm-Gg": "AZuq6aKpPc8SzXKjfgDBGFB4jny0kCk3XTwNQedKo1ZvwCC0/hgsYLONe5vqdS9R4/3\n +hrZOtbz9RdVV5CruBtZsRQSLzY/F6yDxxZytOPZKTbK9XaYjNzs2Jlpu358sqS30FQvKkh0ry2\n zw0yR9+1/pc0Q5AYC2WmlIMeLaF6ZwoBsLYVb6Iw37Cd6s4431r7sjcJaeH31MnuyvSsCxH3ymz\n CzBm2JPmN56uVamA3+0NCG7ufiRzN0kDq8R6Fit8gC+xV0RMY+O+WDRxFE+n6Qvi0YVMAphYXGy\n V2n6siOrhQy0Z340u8J23Pn3GU47k+5GiNobJ1pG4QUNCvouiFJAmbVlZOuKvR2f2cUW+jpkQLI\n 0ZxF0HdQt6ca4vnBwHCOMqeB0pS2VsNjyZe455RgUwhAyc4SgOtiNjHxWm/mwONT7O6OoH5lK60\n BWAyc6lDk23u8M0RCRgqPPc/4=", "X-Received": "by 2002:a05:6402:5186:b0:659:5c63:e0e0 with SMTP id\n 4fb4d7f45d1cf-65c76a24826mr3305965a12.24.1771521495125;\n Thu, 19 Feb 2026 09:18:15 -0800 (PST)", "From": "=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Yoshinori Sato <yoshinori.sato@nifty.com>, qemu-arm@nongnu.org,\n Laurent Vivier <laurent@vivier.eu>, Thomas Huth <huth@tuxfamily.org>,\n Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,\n Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>,\n Aurelien Jarno <aurelien@aurel32.net>,\n Jim MacArthur <jim.macarthur@linaro.org>,\n Eduardo Habkost <eduardo@habkost.net>,\n Peter Maydell <peter.maydell@linaro.org>,\n Bastian Koppelmann <kbastian@rumtueddeln.de>, =?utf-8?q?Philippe_Mathieu-Da?=\n\t=?utf-8?q?ud=C3=A9?= <philmd@linaro.org>,\n Aleksandar Rikalo <arikalo@gmail.com>,\n Richard Henderson <richard.henderson@linaro.org>,\n Zhao Liu <zhao1.liu@intel.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>,\n Yanan Wang <wangyanan55@huawei.com>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>", "Subject": "[RFC PATCH v2 01/14] target/m68k: clean-up includes in cpu.c", "Date": "Thu, 19 Feb 2026 17:17:57 +0000", "Message-ID": "<20260219171810.602667-2-alex.bennee@linaro.org>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260219171810.602667-1-alex.bennee@linaro.org>", "References": "<20260219171810.602667-1-alex.bennee@linaro.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a00:1450:4864:20::52b;\n envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52b.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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham 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 <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "We don't need translation-block.h as the TB flags are local and the\nonly bits needed come from cpu-ops.h. The vmstate is a system only\nconcerns so we can guard against including it for linux-user.\n\nFinally tidy up the order to keep things together with the local cpu.h\nkept at the end.\n\nSigned-off-by: Alex Bennée <alex.bennee@linaro.org>\n---\n target/m68k/cpu.c | 11 +++++++----\n 1 file changed, 7 insertions(+), 4 deletions(-)", "diff": "diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c\nindex c721a23b966..d849a4a90fc 100644\n--- a/target/m68k/cpu.c\n+++ b/target/m68k/cpu.c\n@@ -19,12 +19,15 @@\n */\n \n #include \"qemu/osdep.h\"\n+#include \"accel/tcg/cpu-ops.h\"\n+#include \"fpu/softfloat.h\"\n #include \"qapi/error.h\"\n-#include \"cpu.h\"\n+\n+#ifndef CONFIG_USER_ONLY\n #include \"migration/vmstate.h\"\n-#include \"fpu/softfloat.h\"\n-#include \"exec/translation-block.h\"\n-#include \"accel/tcg/cpu-ops.h\"\n+#endif\n+\n+#include \"cpu.h\"\n \n static void m68k_cpu_set_pc(CPUState *cs, vaddr value)\n {\n", "prefixes": [ "RFC", "v2", "01/14" ] }