Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2227368/?format=api
{ "id": 2227368, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227368/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260423135035.50126-10-philmd@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/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": "<20260423135035.50126-10-philmd@linaro.org>", "date": "2026-04-23T13:50:35", "name": "[9/9] target/s390x: Replace cpu_stb_data_ra -> cpu_stb_mmu in STFLE opcode", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "710113ecc6641b74b47aa9476541f18a928cd5cb", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/1.1/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260423135035.50126-10-philmd@linaro.org/mbox/", "series": [ { "id": 501199, "url": "http://patchwork.ozlabs.org/api/1.1/series/501199/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501199", "date": "2026-04-23T13:50:26", "name": "target/s390x/tcg: Compile various files once", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501199/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227368/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227368/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=P90UJ0Q/;\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=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.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 4g1cwf5kWkz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:52:34 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wFuTk-0001V8-6I; Thu, 23 Apr 2026 09:52:28 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wFuTK-00011A-4H\n for qemu-devel@nongnu.org; Thu, 23 Apr 2026 09:52:03 -0400", "from mail-wr1-x429.google.com ([2a00:1450:4864:20::429])\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 1wFuTB-0006WU-Oh\n for qemu-devel@nongnu.org; Thu, 23 Apr 2026 09:52:00 -0400", "by mail-wr1-x429.google.com with SMTP id\n ffacd0b85a97d-43d7badbd7dso3317578f8f.2\n for <qemu-devel@nongnu.org>; Thu, 23 Apr 2026 06:51:52 -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-43fe4e3a166sm52149649f8f.19.2026.04.23.06.51.50\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Thu, 23 Apr 2026 06:51:50 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1776952311; x=1777557111; 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=+oLfXPk2seH667v62QgQRAk1m1SjRVL6L/A4xaQoVdA=;\n b=P90UJ0Q/3jj9Re8AAbSHR72N83QG+spun5jH1BIA3Z0/qLTYq7tpeaDDFY9Oixc6qg\n Ws5lweFAnht+44VAKRfVVRNtMW3h6vSjsnGtBs2txb45P/btd1MLyTIhdfpUq8koZVqX\n N/N1PUQdwHvRjt2/baogVpQj/fJB0lw3inuyRvMa5aOMliuN3yH1fhsDXHmqTLK5Ir3R\n hgR1sYhs10fexsC4RbKXaZ0yoGQzKXoe7O15c2kA52YesxW/8/ivQWgqReEXGm/YKESg\n YhV8MyYLYQ9OZd+oBaJFf99pRCgjtEIS5hkAExZw6sfV3spZ0wAEoeQprzWKSCSUQtVd\n HHQg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776952311; x=1777557111;\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=+oLfXPk2seH667v62QgQRAk1m1SjRVL6L/A4xaQoVdA=;\n b=IlxCtJaZH8dKKXgMlCc7Y5ne7tIS8Eq4VTjVhJ8Jb9kk+oO6vsDtHkTgfYb5CTsmdL\n madMJ5jAc4f38aAJBSQJ0D0G46YYYhWMmpc52c1QCUp47ZVpV0ugUOQrtDDuzM5oHy5u\n oTT8qzYBnOPSt+NXhJRTX70kbaY6MMR5KDIpWNoz4KVFj3KJRRpGm4OYq8iQ9mDH+YkZ\n ekJ415UCmPZKRrxmR6MmW8skN1zNOWeYno2lIWDZWqV9ZfozvtIxDDP3BAhax8PBLtqf\n UjLm8czUUlkq5Q/Cmo5cvn8B60gXBX8XeyBjCb2UUFBZIa5cPIetMZIjoJNjsipG+HlT\n zoOw==", "X-Gm-Message-State": "AOJu0YxrVhY85BZTsrTgzr3h27kV2TLqUJvGcLCZO3yOYDp3AicvolQr\n xqPfESAz7K/ShhDos/iz7enocrrRqFT4+VjwcEumXTtOK+YPcisEsRJUdWgSxDIiib2+qFZ9f5o\n RwcGQo3o=", "X-Gm-Gg": "AeBDiesjbWeTfdfK+daloMwm3uXslqc4xN+q/yRCPmmXWjVU4qbnC/zRD7HLkJQlV5I\n qqlAcnchTZxvKRr/Brr+JDiRgPLZCAPNooFB/1aybUdalAKQiQxeoFdsABUdwPxQXsidRa/3Hy3\n HZ7/JN51AvMeuZ6VNKrnhYpnB4kVuKtMj63rKylX+YrCDnWuf3WLi1vXoKXp1pLz/A8xIOUNf39\n FzlCtfiCb05MMyfTQ2aB0Wf0AQ6CjoKcP90riXH0D84gXpdbMgfmnjI+z1C9mtSa0aJ6wJ4Gpr+\n Cxd6Waz8fTzKLk3+u/XhrXB7BLrfTfIAvN1Ij19lXqH4yVBA6opHL/2HBz/1OfMkiXXza+SdZXU\n MF2zgRD5g8/3CtsoPrLcPfNT7nicSZIP3ObUC1WHq5FVr3/DKPIkZ4xR3mmow44fIMSolRJZSXR\n DCjSxc5q91xSeHRqS+UZdq26nlAsniAFNC6rZ4WL9lp0k62goKThiQG4CGLw4iXSoxNoIMD/t5B\n a0nuT1+nuI=", "X-Received": "by 2002:a05:6000:2303:b0:43d:75a2:44a1 with SMTP id\n ffacd0b85a97d-43fe3e1527bmr43642763f8f.47.1776952311439;\n Thu, 23 Apr 2026 06:51:51 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,\n Ilya Leoshkevich <iii@linux.ibm.com>, qemu-s390x@nongnu.org,\n Matthew Rosato <mjrosato@linux.ibm.com>,\n David Hildenbrand <david@kernel.org>,\n Richard Henderson <richard.henderson@linaro.org>,\n Halil Pasic <pasic@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>,\n Eric Farman <farman@linux.ibm.com>,\n Christian Borntraeger <borntraeger@linux.ibm.com>,\n Anton Johansson <anjo@rev.ng>,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "Subject": "[PATCH 9/9] target/s390x: Replace cpu_stb_data_ra -> cpu_stb_mmu in\n STFLE opcode", "Date": "Thu, 23 Apr 2026 15:50:35 +0200", "Message-ID": "<20260423135035.50126-10-philmd@linaro.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260423135035.50126-1-philmd@linaro.org>", "References": "<20260423135035.50126-1-philmd@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::429;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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": "In preparation of building misc_helper.c as a common unit, update\nthe cpu_ld/st_be_data_ra() API by cpu_ld/st_mmu() one and replace\n\"accel/tcg/cpu-ldst.h\" by \"accel/tcg/cpu-ldst-common.h\".\n\nFor now we are blocked by the CONFIG_DEVICES use so keep the file\nin s390x_ss[].\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n target/s390x/tcg/misc_helper.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/target/s390x/tcg/misc_helper.c b/target/s390x/tcg/misc_helper.c\nindex 1fd900fbbf0..3d13c8bd8ea 100644\n--- a/target/s390x/tcg/misc_helper.c\n+++ b/target/s390x/tcg/misc_helper.c\n@@ -27,7 +27,8 @@\n #include \"exec/helper-proto.h\"\n #include \"qemu/timer.h\"\n #include \"exec/cputlb.h\"\n-#include \"accel/tcg/cpu-ldst.h\"\n+#include \"accel/tcg/cpu-ldst-common.h\"\n+#include \"accel/tcg/cpu-mmu-index.h\"\n #include \"exec/target_page.h\"\n #include \"qapi/error.h\"\n #include \"tcg_s390x.h\"\n@@ -710,6 +711,8 @@ void HELPER(stfl)(CPUS390XState *env)\n \n uint32_t HELPER(stfle)(CPUS390XState *env, uint64_t addr)\n {\n+ const int mmu_idx = cpu_mmu_index(env_cpu(env), false);\n+ const MemOpIdx oi = make_memop_idx(MO_8, mmu_idx);\n const uintptr_t ra = GETPC();\n const int count_bytes = ((env->regs[0] & 0xff) + 1) * 8;\n int max_bytes;\n@@ -728,7 +731,7 @@ uint32_t HELPER(stfle)(CPUS390XState *env, uint64_t addr)\n * not store the words, and existing software depend on that.\n */\n for (i = 0; i < MIN(count_bytes, max_bytes); ++i) {\n- cpu_stb_data_ra(env, addr + i, stfl_bytes[i], ra);\n+ cpu_stb_mmu(env, addr + i, stfl_bytes[i], oi, ra);\n }\n \n env->regs[0] = deposit64(env->regs[0], 0, 8, (max_bytes / 8) - 1);\n", "prefixes": [ "9/9" ] }