Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217090/?format=api
{ "id": 2217090, "url": "http://patchwork.ozlabs.org/api/patches/2217090/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327164449.596767-5-pierrick.bouvier@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/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": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260327164449.596767-5-pierrick.bouvier@linaro.org>", "list_archive_url": null, "date": "2026-03-27T16:44:41", "name": "[04/12] target/arm/tcg/translate.h: remove TARGET_AARCH64", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "083101e3541b4dfd11c7dda574ab1a0bd6092766", "submitter": { "id": 85798, "url": "http://patchwork.ozlabs.org/api/people/85798/?format=api", "name": "Pierrick Bouvier", "email": "pierrick.bouvier@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327164449.596767-5-pierrick.bouvier@linaro.org/mbox/", "series": [ { "id": 497795, "url": "http://patchwork.ozlabs.org/api/series/497795/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497795", "date": "2026-03-27T16:44:39", "name": "This series tackles (most of) the rest of target/arm, especially tcg folder.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497795/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217090/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217090/checks/", "tags": {}, "related": [], "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=h2ljZici;\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 4fj66D4GH0z1yFr\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 03:48:36 +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 1w6AJs-000753-At; Fri, 27 Mar 2026 12:46:00 -0400", "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 <pierrick.bouvier@linaro.org>)\n id 1w6AJ5-0006ei-AV\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 12:45:12 -0400", "from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <pierrick.bouvier@linaro.org>)\n id 1w6AJ0-00039C-AO\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 12:45:10 -0400", "by mail-pg1-x535.google.com with SMTP id\n 41be03b00d2f7-b6ce6d1d3dcso942030a12.3\n for <qemu-devel@nongnu.org>; Fri, 27 Mar 2026 09:45:00 -0700 (PDT)", "from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net.\n [216.71.219.44]) by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b0bc882339sm63890655ad.43.2026.03.27.09.44.58\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 27 Mar 2026 09:44:58 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1774629899; x=1775234699; 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=OGa6TMkmYmwI7/7vLSYxk6iKMksC7GlEB26vrLcMz2w=;\n b=h2ljZiciT1Ik4VA/f+R4xnNVGcPuqbgvDY+fULzf2pINNJqQ0EHoMEMJb0HOVEki0Z\n b+G9dOIOM2x5+tTVU85jC5zuKS8CjLQgcMMSwwTFyJzIxiZH/s3y/H6HKQtS+I5wgumm\n qk6VrZsYwXZpbwpLEbEtk07njpFbEBAwGEXCUzY+YqbqkQyKT+ikqA4VY0OfAcHYoR/2\n JemHCcH81c7DOWVOgcfxmP1Xtm+fOeg8Dbmhh6cBt+O6jQb9JGylNJOo/ZxNf4KwOM0v\n NG4QfCV4iZjkzU2O1ZHgrtv7kGr61Jvwe6xu2SVH8mrUm4WJalWy0Bt9MDit0rnhG4a5\n tlOw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774629899; x=1775234699;\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=OGa6TMkmYmwI7/7vLSYxk6iKMksC7GlEB26vrLcMz2w=;\n b=rRdyHlwwELv7A6moAXlWIaXpCcKluNDRNsMql2bsP3qmvPHL8GywJp9wLsCyyClYp3\n FzmDkvQs0h7kMUdW3Af/milVm+f/8qWbhnxOwELXsOjmW6hwlcDWo99oEVpLlGUztlKE\n 9KoUoDiUQJvzgJTe9Jg5tGygH0fDA1yZqpEjnEWxDEiOUD3BSe/NBD2vlzjaJcrV8unU\n I1QOkZFGlkm5+WGE9s/wSJ2GFILsyXs2tpClpmBkv5iBGtT2WXYQp5ZvzSrlIb+0UFY+\n 0CtCjFiaYLEZTXQZgkcpojxpCFLT/E7P8TiJTqzNlb6jiRBcTHRbaKVwxLWPqyJ9SCKp\n Rlrg==", "X-Gm-Message-State": "AOJu0YzwBhHV5zCBcOk9n7vfeLtnUIpzk8UldwVK4Lwde0p4jrR4+kf6\n cqISBqsy0U1acTh6bJ+CMS5FXU8QmNff9wb6/WMKCF0L6uYoYPEtF69o5nZY9eWfWH2FOoJUhLZ\n g3owfz9k=", "X-Gm-Gg": "ATEYQzymFxkk+EMvTKsE4OeCL7VlGEwSknB91GoiThYKXYdVXdZKIeBBr4Z+BmyL8Pk\n 9XRrmwW5wugh9iy/0bCCweD71ymv44VKnpU2S4J0HNJYGJzwKMuMPErakwIMX6LJLyKO9omrb7X\n SZv6dJofwotvWKtyQ/DpN2+3KifEUwEGvF+gXhsG1ENeKbY6WnP8smUWPLMaiEpF1OqzczrjaJQ\n uwn5dOrPUKNxj5ko4cLnsWJcj6074uFGuEVPnttIX7qxUi/bhKfoiI2aiCjY5e9CO2GfwJNNIH0\n BeHC0DGz1qBioHMX8qCtfhI7tdeEHNh06qioOevsgkhRCsnb0S7M8ZUIQrWpgjUHzk9+R/AaP4/\n sNrvZlu4KGE5srz9opa/JpJ0JaknWnW6M+j5PpcfmjqiMNPs5A5c+/cL6mLwnsz/29LVFPrCKBk\n XN3jJtY3zPCEvnZnDvO705PapkhxHne20SpC9SSfIp9S0DSPwCgqbNylI0N80VVSZO2mipI2ndl\n FQb", "X-Received": "by 2002:a17:903:a86:b0:2b0:603e:e13c with SMTP id\n d9443c01a7336-2b0cdc9eacfmr33490565ad.33.1774629898980;\n Fri, 27 Mar 2026 09:44:58 -0700 (PDT)", "From": "Pierrick Bouvier <pierrick.bouvier@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Paolo Bonzini <pbonzini@redhat.com>, jim.macarthur@linaro.org,\n qemu-arm@nongnu.org, philmd@linaro.org,\n Peter Maydell <peter.maydell@linaro.org>,\n Richard Henderson <richard.henderson@linaro.org>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>", "Subject": "[PATCH 04/12] target/arm/tcg/translate.h: remove TARGET_AARCH64", "Date": "Fri, 27 Mar 2026 09:44:41 -0700", "Message-ID": "<20260327164449.596767-5-pierrick.bouvier@linaro.org>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260327164449.596767-1-pierrick.bouvier@linaro.org>", "References": "<20260327164449.596767-1-pierrick.bouvier@linaro.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2607:f8b0:4864:20::535;\n envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x535.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=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 <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 need to stub a64_translate_init and gen_a64_update_pc.\nAt this point, we don't need to do anything for aarch64_translator_ops\nsince it's just an external symbol.\n\nWe can now include target/arm/tcg/translate.h from common code, since\nall target specific bits have been removed, or can be specialized with\nspecific defines.\n\nSigned-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>\n---\n target/arm/tcg/translate.h | 10 ----------\n target/arm/tcg/stubs32.c | 17 +++++++++++++++++\n target/arm/tcg/meson.build | 1 +\n 3 files changed, 18 insertions(+), 10 deletions(-)\n create mode 100644 target/arm/tcg/stubs32.c", "diff": "diff --git a/target/arm/tcg/translate.h b/target/arm/tcg/translate.h\nindex e28eac54afb..77fdc5f3a17 100644\n--- a/target/arm/tcg/translate.h\n+++ b/target/arm/tcg/translate.h\n@@ -357,19 +357,9 @@ static inline int curr_insn_len(DisasContext *s)\n /* CPU state was modified dynamically; no need to exit, but do not chain. */\n #define DISAS_UPDATE_NOCHAIN DISAS_TARGET_10\n \n-#ifdef TARGET_AARCH64\n void a64_translate_init(void);\n void gen_a64_update_pc(DisasContext *s, int64_t diff);\n extern const TranslatorOps aarch64_translator_ops;\n-#else\n-static inline void a64_translate_init(void)\n-{\n-}\n-\n-static inline void gen_a64_update_pc(DisasContext *s, int64_t diff)\n-{\n-}\n-#endif\n \n void arm_test_cc(DisasCompare *cmp, int cc);\n void arm_jump_cc(DisasCompare *cmp, TCGLabel *label);\ndiff --git a/target/arm/tcg/stubs32.c b/target/arm/tcg/stubs32.c\nnew file mode 100644\nindex 00000000000..c5a0bc61f47\n--- /dev/null\n+++ b/target/arm/tcg/stubs32.c\n@@ -0,0 +1,17 @@\n+/*\n+ * SPDX-License-Identifier: GPL-2.0-or-later\n+ */\n+\n+#include \"qemu/osdep.h\"\n+#include \"target/arm/tcg/translate.h\"\n+\n+\n+void gen_a64_update_pc(DisasContext *s, int64_t diff)\n+{\n+ g_assert_not_reached();\n+}\n+\n+void a64_translate_init(void)\n+{\n+ /* Don't initialize for 32 bits. Call site will be fixed later. */\n+}\ndiff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build\nindex 5f591560551..3e96c77df73 100644\n--- a/target/arm/tcg/meson.build\n+++ b/target/arm/tcg/meson.build\n@@ -21,6 +21,7 @@ gen_a32 = [\n \n arm_ss.add(gen_a32)\n arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64)\n+arm_ss.add(when: 'TARGET_AARCH64', if_false: files('stubs32.c'))\n \n arm_ss.add(files(\n 'cpu32.c',\n", "prefixes": [ "04/12" ] }