Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194142/?format=api
{ "id": 2194142, "url": "http://patchwork.ozlabs.org/api/patches/2194142/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260206214448.22008-17-philmd@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": "<20260206214448.22008-17-philmd@linaro.org>", "list_archive_url": null, "date": "2026-02-06T21:44:34", "name": "[PULL,16/30] target/sparc: Replace legacy st_phys() -> address_space_st()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "4cb6cd561efcb38beda6e54a66fa268113ed2a98", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260206214448.22008-17-philmd@linaro.org/mbox/", "series": [ { "id": 491339, "url": "http://patchwork.ozlabs.org/api/series/491339/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491339", "date": "2026-02-06T21:44:19", "name": "[PULL,01/30] riscv64/test_boston.py: fix intermitent test timeout", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491339/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194142/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194142/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=Gr4Zyxnu;\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 4f776z02j1z1xvj\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 08:50:19 +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 1voTh1-0001Mf-23; Fri, 06 Feb 2026 16:48:47 -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 <philmd@linaro.org>) id 1voTf1-0006GG-4w\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:46:45 -0500", "from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c])\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 1voTez-0002hx-F1\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:46:42 -0500", "by mail-wm1-x32c.google.com with SMTP id\n 5b1f17b1804b1-47ee0291921so11035205e9.3\n for <qemu-devel@nongnu.org>; Fri, 06 Feb 2026 13:46:39 -0800 (PST)", "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-483206d87c7sm70424305e9.7.2026.02.06.13.46.36\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Fri, 06 Feb 2026 13:46:37 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1770414398; x=1771019198; 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=dbCC5S3y2ipAxuI+4fXxE5kgwfJX+ivhV9v/oiXvz6k=;\n b=Gr4ZyxnuUVjoez0wx30l0WteetNxVHB9br5DHUcJFELKsJoi1lIpUKvICyh/GhKo2a\n NRA5cCtNtRlW8YsRnHBgKd8q3c9gfLm4BFyJzCUn5+yq/O99XTTsfzVx3L2PEOApznJG\n N9WlWhiJmGJoNnI2FbeV2SZPjlv+90y5ypPyCJx6MCfqbAITkNT2+Ckc5DGIaaxYbObs\n xi/GnE3TR6GwR9p5zMAkA6H8ADzNm6iU2Y51+uYBJFGTRc8QTR+tEH/E/XPchMAtyTKa\n a5IMMVlCaPZyIFOc4PZp65ZvLoz18h/iGohkyoh+66Cp5wGTays7UfBrAhWQHk8gfwKu\n 6RkA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770414398; x=1771019198;\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=dbCC5S3y2ipAxuI+4fXxE5kgwfJX+ivhV9v/oiXvz6k=;\n b=YiTmhglwwmACgFg7h1BrzLMHLv82PShCrC35Kzxx+N7zRR46drmThIzboCHn1X5DY+\n 7RiBLgh4CTtn5WvpYadTJEYWn7W26PTdbjmgb5LNEI9z0g0gfOFG/tmktlpAphRcI5Ok\n rBHR7bz+LkUEitFxIO8xgqXmpRknkVicYO5O9eDRMY7K4s3smTpjH+gx5vT9JTvHnsVP\n SvQxZhWZldj9lFmUuikJi88ndvrr/vKJh2HswM6U4oNM8yhGvJSlZVW3LX/RW5brBIMr\n lcNQ3oSWD4Ubv6qpNacINCypYxBX88udXvr9MbxacnMMzs2tBVAhjfFhFhjlXAGGh+4p\n PK1w==", "X-Gm-Message-State": "AOJu0YxKQSh2mewE83iyShOheVAbel79dhjsEhr7cOcDxRrXFh/PkIdT\n erkIu3mrGILxU2UAlwqA3qnXrznTisVkeSPlJj5C3OjRDnw5UVaeebHjWeaY3ExJmS+/fVPhNf/\n sdxA4uG0=", "X-Gm-Gg": "AZuq6aK9w9fOFBvNcuwSXUB5nEU0jVNFUZkFspm72ryDmYEx4qqdt7b8fD2GSGXsYpM\n WkavKsq6pJ/Qm5uOoCyzBYrpr9MOJ4p2AH97SKiAs4h+VZ7htPixN96z6U1VR6/4uOfaOMvlHQa\n mhXmD/Tty6y9Txi/a1tM0W8OO3wQU+3al4D50tDJbI9bThzMVKA493SHP3cU/kaJnZ4snp7xvVf\n +6XYu08dTwhoRoJ6TL6bnZ2bSlKf0+XkSaZUFcjGT81gh3hQC4fRLrng10bXjLiiA5cdsOLu4zx\n KcpJsZID+HEROtHCC9GRriiz5oo3gA4WuvgCujkUsoQxGKTBTwm1L1avvuY1kTayCp1UELBuNTM\n vicxsdi9kPDcTu8yFbci8D6PBdPTbstWiS9cIEKOJ6emQQDI1Jg3Ai8r4kXftybgBfvkWpAvI5Q\n hycssrOsE1ZPoqgTEVrMVeDBAxTSnJ7AAD4QKnugV9nEGysAwr6PXKfvYutwon", "X-Received": "by 2002:a05:600c:8b45:b0:480:68ed:1e73 with SMTP id\n 5b1f17b1804b1-483202277d5mr56592575e9.36.1770414397610;\n Fri, 06 Feb 2026 13:46:37 -0800 (PST)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "qemu-s390x@nongnu.org", "Subject": "[PULL 16/30] target/sparc: Replace legacy st_phys() ->\n address_space_st()", "Date": "Fri, 6 Feb 2026 22:44:34 +0100", "Message-ID": "<20260206214448.22008-17-philmd@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260206214448.22008-1-philmd@linaro.org>", "References": "<20260206214448.22008-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::32c;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.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": "Prefer the address_space_ld/st API over the legacy ld_phys()\nbecause it allow checking for bus access fault.\n\nget_physical_address() already accessed the PTE stored at\n%pde_ptr and is going to update it. Assume the address space\nis also writeable there. The SPARC v8 manual only mentions\nfaults (with error condition bits updated) in the READ path\nbut not on the WRITE (update) one.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\nMessage-Id: <20260204215304.52757-2-philmd@linaro.org>\n---\n target/sparc/mmu_helper.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/target/sparc/mmu_helper.c b/target/sparc/mmu_helper.c\nindex 5a58239d65e..a6f76a1ab76 100644\n--- a/target/sparc/mmu_helper.c\n+++ b/target/sparc/mmu_helper.c\n@@ -190,7 +190,9 @@ static int get_physical_address(CPUSPARCState *env, CPUTLBEntryFull *full,\n if (is_dirty) {\n pde |= PG_MODIFIED_MASK;\n }\n- stl_be_phys(cs->as, pde_ptr, pde);\n+ address_space_stl_be(cs->as, pde_ptr, pde,\n+ MEMTXATTRS_UNSPECIFIED, &result);\n+ assert(result == MEMTX_OK);\n }\n \n /* the page can be put in the TLB */\n", "prefixes": [ "PULL", "16/30" ] }