Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2202545/?format=api
{ "id": 2202545, "url": "http://patchwork.ozlabs.org/api/patches/2202545/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260227203627.932864-8-brian.cain@oss.qualcomm.com/", "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": "<20260227203627.932864-8-brian.cain@oss.qualcomm.com>", "list_archive_url": null, "date": "2026-02-27T20:35:57", "name": "[v3,07/37] target/hexagon: Switch to tag_ignore(), generate via get_{user, sys}_tags()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5602dd3aaf73be8e966d955283c973743a18636d", "submitter": { "id": 89839, "url": "http://patchwork.ozlabs.org/api/people/89839/?format=api", "name": "Brian Cain", "email": "brian.cain@oss.qualcomm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260227203627.932864-8-brian.cain@oss.qualcomm.com/mbox/", "series": [ { "id": 493813, "url": "http://patchwork.ozlabs.org/api/series/493813/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=493813", "date": "2026-02-27T20:35:57", "name": "Hexagon system emulation - Part 1/3", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/493813/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2202545/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2202545/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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=D2fpoSja;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=ftgCDQUQ;\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 4fN0W74j21z1xph\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Feb 2026 07:37:23 +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 1vw4Zt-0006nu-LL; Fri, 27 Feb 2026 15:36:49 -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 <brian.cain@oss.qualcomm.com>)\n id 1vw4Zs-0006na-5K\n for qemu-devel@nongnu.org; Fri, 27 Feb 2026 15:36:48 -0500", "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <brian.cain@oss.qualcomm.com>)\n id 1vw4Zq-0006oj-DY\n for qemu-devel@nongnu.org; Fri, 27 Feb 2026 15:36:47 -0500", "from pps.filterd (m0279863.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 61RIeoRe373460\n for <qemu-devel@nongnu.org>; Fri, 27 Feb 2026 20:36:45 GMT", "from mail-oi1-f197.google.com (mail-oi1-f197.google.com\n [209.85.167.197])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ckgrtratu-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Fri, 27 Feb 2026 20:36:45 +0000 (GMT)", "by mail-oi1-f197.google.com with SMTP id\n 5614622812f47-45f0bfd68a3so14395608b6e.3\n for <qemu-devel@nongnu.org>; Fri, 27 Feb 2026 12:36:44 -0800 (PST)", "from hu-bcain-lv.qualcomm.com (Global_NAT1.qualcomm.com.\n [129.46.96.20]) by smtp.gmail.com with ESMTPSA id\n 586e51a60fabf-4160cbd405fsm5762935fac.0.2026.02.27.12.36.42\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 27 Feb 2026 12:36:42 -0800 (PST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n +b8voobbRHB+fEzV3OFcGYw0x0PvxvjT9mR8Wf/yF+Q=; b=D2fpoSja4rRO/6bn\n e+KfK4E2oqloHlRk5RdL6VqmHgEvWtGVzTI27/6SpYHlvEZg3XQygYXsMkFiEXDz\n naQL2sioEON4Dxd8McLPpTPPhR6Z4HzjSZXjpY3ubfebQrqifVVNAwMJzGBFb/wM\n q5a86VwJc7IzBoUxfHQ0f/ua2CSQVk3cNLjMtCPCasTxg4uL5YWvWo3m8BZmZwa+\n 7D843T1J0fWylI4DzLcgDiJXKs0rQQFPNt//oNe73oiYXhLh9HR0OXOeG9OUJ3I2\n IgibMYbk02ICNGFV95u3OSB+wZqDi2Hs9x4rJRIeKVOnCqaYNuLEKJ+LbLXYTUi6\n H+l3NQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1772224604; x=1772829404; 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=+b8voobbRHB+fEzV3OFcGYw0x0PvxvjT9mR8Wf/yF+Q=;\n b=ftgCDQUQORNKSq0HHIGaetK0xSrba+bhe+bkoJOc7qPcRvT1OIdVcXMmWZqBRql/tT\n IbNQvhDUcAf/MRMNcX5le+pLGBvhZW7tc9wYSNPORWcSDgLctPltSxeEe6ca++daHDLD\n oSMWYtJAFhFX5MPUNC5lMGM/Qn9Qze/eG2ynnnx7LX3oFfKJIhuB3BeqEoRYkRDSduyP\n 2M7KaBfAR+UPm4CDyR/cfxbnCBWxOo8w9pE8Kc7O42xUJcVdNc/jM9DCLGSWQR2e6xUe\n IrHUB98Gz3ELF0y3SyKOqMpG4NHwDSYok9NCZ7t5iOqPGPyPEmDRhOeh7GVn3aaS2hVZ\n 4BAg==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1772224604; x=1772829404;\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=+b8voobbRHB+fEzV3OFcGYw0x0PvxvjT9mR8Wf/yF+Q=;\n b=V72B+kdHC0c5xQsC39xTC48FFI0SIwdniVxUtu3eY/w5jlTe/y8nwQ5kTI9MMsdpkJ\n N1pazzspctoXxXcl/9O+fpI4LnxEkdl3NMXtfLmh1c0R8Tq+eFxj6zcOucncAXJ9NzN3\n WTbSrVdu/IjHSseRIAZXuS8wUaI5aWdP/neI5yOlsDSkuvLZ5zpwCQEcjCi5RUFEGZM9\n Vlu5B0ZS90SsxYipGscDFGjxFvmAZoCVF12SC5W1vNGALMCWZ7LJf3hKYMMnyVOymfCk\n ZdnVhX/sNP8YIhCXImVbMveNT8IiPzmD4tCE/Fwxp0eToLntDPXUFBF3O6gkcp8X77rI\n +2mg==", "X-Gm-Message-State": "AOJu0YxPlizIy501McafUxvlh/rQPe1ar2bncr4/U9CHWcvXs+ZXa7F7\n 8BAcSd28T93ULjOGAMkqEQHFVE9E9S7sqEBlx3JBSF4zm8ksN+ab05SoBqSXsH0LXkVl7vl4Blq\n QPchfQt3mVR9R5pDjowntPH5R8KBFXRbMyvpW4+sbYK0jEOAZISxkhPsTGt3QUvfxEw==", "X-Gm-Gg": "ATEYQzwOXB3+w0SMzQXxf0q6FxiM3P003mTaV8LzBrCbUmAD+BpCbaksAWroKWLEwXW\n kDjOlKXtIZBd5H2Y4xVnEt0pDISwLNVVbHtY4ztpErbt1F+w4t8ujQq8hZcT/7sGie4fp1A/H4D\n rZGaqO+Od7te9dw178SEO5a/RYKXinKIHH6u8y+U398ycZoqfXqKS+FQq9DDz8eDnBiYEiM4FWd\n zNt3HBEqqKGtf9yYxE1rR6W7C6jScXHxHScRKvasvINfjx2iYKIOW/4/hcv4b2OFHw/11xddlxi\n PClySkljwsM8LlMVCPWAClzHoSP5P3SDBQLl+8oMCe83hWek97LWLMc2Kl1Xz1VKjcIIXHFkAxG\n JXx0Gjy10PeGdxY+Ea8OMaMXqZ0CmsvZj2c0hlDZ+tCHGGJXtUO+xQOdu5tkatIiV30CEHg==", "X-Received": [ "by 2002:a05:6808:3a1b:b0:450:3e21:f567 with SMTP id\n 5614622812f47-464bef821d4mr2303300b6e.56.1772224603859;\n Fri, 27 Feb 2026 12:36:43 -0800 (PST)", "by 2002:a05:6808:3a1b:b0:450:3e21:f567 with SMTP id\n 5614622812f47-464bef821d4mr2303285b6e.56.1772224603426;\n Fri, 27 Feb 2026 12:36:43 -0800 (PST)" ], "To": "qemu-devel@nongnu.org", "Cc": "brian.cain@oss.qualcomm.com, ltaylorsimpson@gmail.com,\n matheus.bernardino@oss.qualcomm.com, marco.liebel@oss.qualcomm.com,\n quic_mburton@quicinc.com, sid.manning@oss.qualcomm.com, ale@rev.ng,\n anjo@rev.ng, Brian Cain <bcain@quicinc.com>", "Subject": "[PATCH v3 07/37] target/hexagon: Switch to tag_ignore(),\n generate via get_{user, sys}_tags()", "Date": "Fri, 27 Feb 2026 12:35:57 -0800", "Message-Id": "<20260227203627.932864-8-brian.cain@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260227203627.932864-1-brian.cain@oss.qualcomm.com>", "References": "<20260227203627.932864-1-brian.cain@oss.qualcomm.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "X-Authority-Analysis": "v=2.4 cv=C8jkCAP+ c=1 sm=1 tr=0 ts=69a2005d cx=c_pps\n a=WJcna6AvsNCxL/DJwPP1KA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17\n a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22\n a=COk6AnOGAAAA:8 a=pGLkceISAAAA:8 a=EUspDBNiAAAA:8 a=orAq0Iv1PZLbcfkgE-4A:9\n a=QEXdDO2ut3YA:10 a=_Y9Zt4tPzoBS9L09Snn2:22 a=TjNXssC_j7lpFel5tvFf:22", "X-Proofpoint-GUID": "JD6VlIC7zGNKIyJfGmRu2oRvzjZLkfhX", "X-Proofpoint-ORIG-GUID": "JD6VlIC7zGNKIyJfGmRu2oRvzjZLkfhX", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMjI3MDE4MSBTYWx0ZWRfX5p+j3k15SHTR\n tsnhtDuCHAJcXkN51Oc3a9P6BrLH0VSyWyuAn42T603Trv/mFAkn4EWGeu5m4RKD18bI8e6GU2Q\n TqQPuMDo3UTdg1QhQin5py1b8M8T2kg7+dI0W1awuozHjyPs2Ji7XQOEz4N3casKmet1G0VbtBV\n KDta5NuB46WgibswPuj1cRW1y/izX+K33fqU8f6yG7FcNSGgN+kktSTDzxSM+BlbTcRZnHtM2cj\n reE2x8RQASiMbf/Ma592Rg+inGvWO63MAczOF/iwHblP9eJAZW1D91bNoz4dR69cDbnY+2BhQab\n c/lYQQ29+4wcc1loA1y8qz7FctK104uvJDOlB4/1rwNLxvS7H5wGD5qD8tl3CwmVUsw0a7hpIPN\n ftUU0hjGH/M4KVE9lzeFCVPdt/u5lCLgUsaDk4NxdJ6TYDABeFbdwVeColn2+TL+hrV7p0wlmN5\n tLIeNkyPZPtDhEQuVmw==", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-02-27_04,2026-02-27_03,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n lowpriorityscore=0 adultscore=0 impostorscore=0 spamscore=0 phishscore=0\n malwarescore=0 clxscore=1015 bulkscore=0 suspectscore=0 priorityscore=1501\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270181", "Received-SPF": "pass client-ip=205.220.168.131;\n envelope-from=brian.cain@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com", "X-Spam_score_int": "-16", "X-Spam_score": "-1.7", "X-Spam_bar": "-", "X-Spam_report": "(-1.7 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.706,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.401, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=no 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>", "Reply-to": "Brian Cain <brian.cain@oss.qualcomm.com>", "From": "Brian Cain via qemu development <qemu-devel@nongnu.org>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "From: Brian Cain <bcain@quicinc.com>\n\nReviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>\nSigned-off-by: Brian Cain <brian.cain@oss.qualcomm.com>\n---\n target/hexagon/gen_helper_funcs.py | 26 ++++++++++---------------\n target/hexagon/gen_helper_protos.py | 23 +++++++++++-----------\n target/hexagon/gen_idef_parser_funcs.py | 2 ++\n target/hexagon/gen_op_attribs.py | 2 +-\n target/hexagon/gen_opcodes_def.py | 5 ++++-\n 5 files changed, 29 insertions(+), 29 deletions(-)", "diff": "diff --git a/target/hexagon/gen_helper_funcs.py b/target/hexagon/gen_helper_funcs.py\nindex 6206104424c..1629ebc0e1a 100755\n--- a/target/hexagon/gen_helper_funcs.py\n+++ b/target/hexagon/gen_helper_funcs.py\n@@ -104,29 +104,23 @@ def main():\n tagimms = hex_common.get_tagimms()\n \n with open(args.out, \"w\") as f:\n- for tag in hex_common.tags:\n- ## Skip the priv instructions\n- if \"A_PRIV\" in hex_common.attribdict[tag]:\n- continue\n- ## Skip the guest instructions\n- if \"A_GUEST\" in hex_common.attribdict[tag]:\n- continue\n- ## Skip the floating point instructions\n- if \"A_FPOP\" in hex_common.attribdict[tag]:\n- continue\n- ## Skip the diag instructions\n- if tag == \"Y6_diag\":\n- continue\n- if tag == \"Y6_diag0\":\n- continue\n- if tag == \"Y6_diag1\":\n+ for tag in hex_common.get_user_tags():\n+ if hex_common.tag_ignore(tag):\n continue\n if hex_common.skip_qemu_helper(tag):\n continue\n if hex_common.is_idef_parser_enabled(tag):\n continue\n+ gen_helper_function(f, tag, tagregs, tagimms)\n \n+ f.write(\"#if !defined(CONFIG_USER_ONLY)\\n\")\n+ for tag in hex_common.get_sys_tags():\n+ if hex_common.skip_qemu_helper(tag):\n+ continue\n+ if hex_common.is_idef_parser_enabled(tag):\n+ continue\n gen_helper_function(f, tag, tagregs, tagimms)\n+ f.write(\"#endif\\n\")\n \n \n if __name__ == \"__main__\":\ndiff --git a/target/hexagon/gen_helper_protos.py b/target/hexagon/gen_helper_protos.py\nindex 77f8e0a6a32..59c8bdd05c0 100755\n--- a/target/hexagon/gen_helper_protos.py\n+++ b/target/hexagon/gen_helper_protos.py\n@@ -59,27 +59,28 @@ def main():\n tagimms = hex_common.get_tagimms()\n \n with open(args.out, \"w\") as f:\n- for tag in hex_common.tags:\n- ## Skip the priv instructions\n- if \"A_PRIV\" in hex_common.attribdict[tag]:\n+ for tag in hex_common.get_user_tags():\n+ if hex_common.tag_ignore(tag):\n continue\n- ## Skip the guest instructions\n- if \"A_GUEST\" in hex_common.attribdict[tag]:\n- continue\n- ## Skip the diag instructions\n- if tag == \"Y6_diag\":\n- continue\n- if tag == \"Y6_diag0\":\n+\n+ if hex_common.skip_qemu_helper(tag):\n continue\n- if tag == \"Y6_diag1\":\n+ if hex_common.is_idef_parser_enabled(tag):\n continue\n \n+ gen_helper_prototype(f, tag, tagregs, tagimms)\n+\n+ f.write(\"#if !defined(CONFIG_USER_ONLY)\\n\")\n+ for tag in hex_common.get_sys_tags():\n+ if hex_common.tag_ignore(tag):\n+ continue\n if hex_common.skip_qemu_helper(tag):\n continue\n if hex_common.is_idef_parser_enabled(tag):\n continue\n \n gen_helper_prototype(f, tag, tagregs, tagimms)\n+ f.write(\"#endif\\n\")\n \n \n if __name__ == \"__main__\":\ndiff --git a/target/hexagon/gen_idef_parser_funcs.py b/target/hexagon/gen_idef_parser_funcs.py\nindex 2f6e826f76d..32bce9b0028 100644\n--- a/target/hexagon/gen_idef_parser_funcs.py\n+++ b/target/hexagon/gen_idef_parser_funcs.py\n@@ -60,6 +60,8 @@ def main():\n f.write('#include \"macros.h.inc\"\\n\\n')\n \n for tag in hex_common.tags:\n+ if hex_common.tag_ignore(tag):\n+ continue\n ## Skip the priv instructions\n if \"A_PRIV\" in hex_common.attribdict[tag]:\n continue\ndiff --git a/target/hexagon/gen_op_attribs.py b/target/hexagon/gen_op_attribs.py\nindex bbbb02df3a2..94dd1f876b2 100755\n--- a/target/hexagon/gen_op_attribs.py\n+++ b/target/hexagon/gen_op_attribs.py\n@@ -38,7 +38,7 @@ def main():\n ## Generate all the attributes associated with each instruction\n ##\n with open(args.out, \"w\") as f:\n- for tag in hex_common.tags:\n+ for tag in hex_common.get_all_tags():\n f.write(\n f\"OP_ATTRIB({tag},ATTRIBS(\"\n f'{\",\".join(sorted(hex_common.attribdict[tag]))}))\\n'\ndiff --git a/target/hexagon/gen_opcodes_def.py b/target/hexagon/gen_opcodes_def.py\nindex 94a19ff412e..17ba3f9db95 100755\n--- a/target/hexagon/gen_opcodes_def.py\n+++ b/target/hexagon/gen_opcodes_def.py\n@@ -37,7 +37,10 @@ def main():\n ## Generate a list of all the opcodes\n ##\n with open(args.out, \"w\") as f:\n- for tag in hex_common.tags:\n+ for tag in hex_common.get_user_tags():\n+ f.write(f\"OPCODE({tag}),\\n\")\n+\n+ for tag in hex_common.get_sys_tags():\n f.write(f\"OPCODE({tag}),\\n\")\n \n \n", "prefixes": [ "v3", "07/37" ] }