Cover Letter Detail
Show a cover letter.
GET /api/covers/2216106/?format=api
{ "id": 2216106, "url": "http://patchwork.ozlabs.org/api/covers/2216106/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/cover/20260325211728.89204-1-philmd@linaro.org/", "project": { "id": 69, "url": "http://patchwork.ozlabs.org/api/projects/69/?format=api", "name": "QEMU powerpc development", "link_name": "qemu-ppc", "list_id": "qemu-ppc.nongnu.org", "list_email": "qemu-ppc@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260325211728.89204-1-philmd@linaro.org>", "list_archive_url": null, "date": "2026-03-25T21:17:18", "name": "[PATCH-for-11.1,00/10] migration: Reduce uses of target-specific macros", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/qemu-ppc/cover/20260325211728.89204-1-philmd@linaro.org/mbox/", "series": [ { "id": 497511, "url": "http://patchwork.ozlabs.org/api/series/497511/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/list/?series=497511", "date": "2026-03-25T21:17:18", "name": "migration: Reduce uses of target-specific macros", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497511/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2216106/comments/", "headers": { "Return-Path": "<qemu-ppc-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=atgaFd/W;\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-ppc-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 4fh09m0yvsz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 08:17:48 +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-ppc-bounces@nongnu.org>)\n\tid 1w5Vbb-0000kX-QJ; Wed, 25 Mar 2026 17:17:36 -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 <philmd@linaro.org>) id 1w5Vba-0000iW-DB\n for qemu-ppc@nongnu.org; Wed, 25 Mar 2026 17:17:34 -0400", "from mail-wr1-x430.google.com ([2a00:1450:4864:20::430])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1w5VbY-0000oq-Qv\n for qemu-ppc@nongnu.org; Wed, 25 Mar 2026 17:17:34 -0400", "by mail-wr1-x430.google.com with SMTP id\n ffacd0b85a97d-43b9144790dso133601f8f.1\n for <qemu-ppc@nongnu.org>; Wed, 25 Mar 2026 14:17:32 -0700 (PDT)", "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43b919cefd7sm2462474f8f.17.2026.03.25.14.17.29\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Wed, 25 Mar 2026 14:17:30 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1774473451; x=1775078251; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=DFkvAmpBgcXLjhSJ6HtykShHmLYUUVqXKJXM3fP38co=;\n b=atgaFd/WHrXBr+JYcrIRodlp/jVrV9hD2UorLg1NxHOX/joG6e+pYs3N9f8WWY9VjY\n OUq0dZ5o0delJqnW8NMYuTrBoz9Kke51hpDFfyjMyQMwznpKJO/XtXJdYwCU+TwrzwX6\n EPg9HXe556mBf55UAbjQ2HepRTE8bn5/Op5KTpX+p5F3yGBQbv2sm+JVsKrM8VvTb0Ka\n yJnJw108KNRYt1Rf1CT7Nw122i0HgOwiajynfXT54t3+3QgOy87dhPsvN1Ziub8s/sJ5\n e+ObsTowNTv+qmI6YKxu+ZsQpFNeSgYhE5hFc2yH7TimA7EbSQLOqEgniHwGb7/QM3Pl\n qhqA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774473451; x=1775078251;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=DFkvAmpBgcXLjhSJ6HtykShHmLYUUVqXKJXM3fP38co=;\n b=BytNjBmJYbmM6/TycJGMYQ+SnzWzRDR/4x9/74p06FgHYHruPVS6MauA3piAEu33Lc\n C5B0if2+A8eLtEXny3J4iy5pWDhwF5hfqqtxI1TlHW0BJZrcqhZvtTK9/C0G0XamxgHU\n 9dEDre7mnJvZ9CSuMFS5P4c4NjqZ6sViswvzt0hpSvDCeAylpNN63AyWio7JpAB1Vwpz\n 8cDzEkqr/H3YLN/U2+N4QhK96AefcZFiBFa3CndresjLB1OY0HfBeiIe8Rq69j9TfWa0\n DXW971WPnKZOW/xew7CDOekQZcSNv2rEifGu/l0J+qXU+jItW+5MVsmFDJiQk8K6qtB1\n LTDQ==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCWl3q7BkfzZzruJINS2g78Z5oka3Ht4ADRHSAZOoF8F7fD3bIa8GXQhbku1UnWkVSnfoa7vbHq37w==@nongnu.org", "X-Gm-Message-State": "AOJu0YzfEd+QILC2UiDIN0BukO9wGA6G50MLAzMciOB7O5aYN4CCvOt3\n 3ywywoYAMty3FZBTc+mprGB96uA9LneajCMWOHYkVFI1ZRZ7bTYIwth9pG3rUPfh/KM=", "X-Gm-Gg": "ATEYQzyPBNHUCJHWZa/94hllZEoo1pNaGRt/nSJjGjPOI5NjPjjF10li64wSQuY/Zsl\n HnMXhHjH1+nx7lbncM27HZoadiWd8mC4bKG9mkGwzrdPurQpgPm5OlsbgmqER4eBxT0CDVs878d\n BkV6eyzZCIF/zpQmLCjUrc/R38mShn5nF7cnBaos2g+61+OnJOK6voIVH+NA1IEOkyyIeoi/AP/\n Wf/ERsZ1UoCsHY7bMxc+Zf+0QiomJu+NVCHpLAGXl9g/L0VkWb48d4Fy2HvkbW/MXZ+FcVG9lgS\n BgNmxlXKls7F7SXWHbxGSogz/9PZ0nQ5xw/Az7YVfLbFxGbMKjoTRH/VI4l/rFAOioFzXhpBT6P\n SDFkenOIKbnVPfRfNsVeu5aXd9yJePFwgKcRHkN3GMp81fxCNAmT4ggJo5rE8ljzNoJzRx0eSzZ\n LChLUsj/pYl2SaZm8vAQaP4J2pRTRB4X96mYoSvyXImIk51VH1DQDVPwdpFFCRgHxi2tU23sVF", "X-Received": "by 2002:a05:6000:26c6:b0:439:beee:43aa with SMTP id\n ffacd0b85a97d-43b889b2667mr7372819f8f.16.1774473451098;\n Wed, 25 Mar 2026 14:17:31 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Glenn Miles <milesg@linux.ibm.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,\n Nicholas Piggin <npiggin@gmail.com>, qemu-ppc@nongnu.org,\n Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>,\n Fabiano Rosas <farosas@suse.de>, Alistair Francis <alistair.francis@wdc.com>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-riscv@nongnu.org,\n Paolo Bonzini <pbonzini@redhat.com>, Artyom Tarasenko <atar4qemu@gmail.com>,\n Anton Johansson <anjo@rev.ng>, Peter Xu <peterx@redhat.com>, =?utf-8?q?Phil?=\n\t=?utf-8?q?ippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "Subject": "[PATCH-for-11.1 00/10] migration: Reduce uses of target-specific\n macros", "Date": "Wed, 25 Mar 2026 22:17:18 +0100", "Message-ID": "<20260325211728.89204-1-philmd@linaro.org>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a00:1450:4864:20::430;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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-ppc@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<qemu-ppc.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-ppc>", "List-Post": "<mailto:qemu-ppc@nongnu.org>", "List-Help": "<mailto:qemu-ppc-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "For the single binary (read heterogeneous emulation) project\nwe are trying to remove the uses of the 'target_ulong' type\nin common code (or code that should be common code but is\ncompiled a target-specific one).\n\nThis series aims to reduce the use of migration target-specific\nmacros. Since there is still a lot of work to be done, we\nintroduce the TARGET_USING_LEGACY_MIGRATION_VMSTATE_UINTTL_API\ndefinition to protect the targets which are already not using\nthese legacy migration macros.\n\nExcept for the SPARC targets, there should be no functional\nchange.\n\nPhilippe Mathieu-Daudé (10):\n target/avr: Avoid target-specific migration headers in machine.c\n target/loongarch: Avoid target-specific migration headers in machine.c\n migration: Revert \"Add VMSTATE_UINTTL_2DARRAY()\"\n migration: Remove unused target-specific macros\n target/sparc: Inline qemu_get/put_betl()\n target/mips: Inline qemu_get/put_betls()\n target/i386: Expand VMSTATE_UINTTL_SUB_ARRAY for APX registers\n target/i386: Inline VMSTATE_UINTTL_SUB_ARRAY() macro\n target/sparc: Replace VMSTATE_VARRAY_MULTIPLY -> VMSTATE_UINTTL_ARRAY\n migration: Restrict legacy VMSTATE_UINTTL() macros to few targets\n\n configs/targets/i386-softmmu.mak | 1 +\n configs/targets/mips-softmmu.mak | 1 +\n configs/targets/mips64-softmmu.mak | 1 +\n configs/targets/mips64el-softmmu.mak | 1 +\n configs/targets/mipsel-softmmu.mak | 1 +\n configs/targets/ppc-softmmu.mak | 1 +\n configs/targets/ppc64-softmmu.mak | 1 +\n configs/targets/riscv32-softmmu.mak | 1 +\n configs/targets/riscv64-softmmu.mak | 1 +\n configs/targets/sparc-softmmu.mak | 1 +\n configs/targets/sparc64-softmmu.mak | 1 +\n configs/targets/x86_64-softmmu.mak | 1 +\n include/migration/cpu.h | 59 ++++++----------------------\n include/migration/vmstate.h | 22 ++---------\n migration/vmstate.c | 4 --\n target/avr/machine.c | 3 +-\n target/i386/machine.c | 8 +++-\n target/loongarch/machine.c | 2 +-\n target/mips/system/machine.c | 14 ++++++-\n target/ppc/machine.c | 1 +\n target/sparc/machine.c | 24 +++++++----\n scripts/make-config-poison.sh | 1 +\n target/avr/meson.build | 3 +-\n target/loongarch/meson.build | 2 +-\n 24 files changed, 67 insertions(+), 88 deletions(-)" }