Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2231976/?format=api
{ "id": 2231976, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2231976/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260501200026.22784-3-oelghoul@linux.ibm.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260501200026.22784-3-oelghoul@linux.ibm.com>", "list_archive_url": null, "date": "2026-05-01T20:00:23", "name": "[RFC,v1,2/5] hw/s390x: Clarified FMB format for emulated and passthrough devices", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c3648273b6be15cde4555f4f64e963382fbfb4cf", "submitter": { "id": 93299, "url": "http://patchwork.ozlabs.org/api/1.2/people/93299/?format=api", "name": "Omar Elghoul", "email": "oelghoul@linux.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260501200026.22784-3-oelghoul@linux.ibm.com/mbox/", "series": [ { "id": 502493, "url": "http://patchwork.ozlabs.org/api/1.2/series/502493/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502493", "date": "2026-05-01T20:00:21", "name": "s390x/pci: Improved zPCI Function Measurement Support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502493/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231976/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231976/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=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=lB78hm0O;\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 4g6hmz0WY0z1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 02 May 2026 06:03:31 +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 1wIu52-0000lk-Cn; Fri, 01 May 2026 16:03:22 -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 <oelghoul@linux.ibm.com>)\n id 1wIu4w-0000kX-Fd; Fri, 01 May 2026 16:03:15 -0400", "from mx0b-001b2d01.pphosted.com ([148.163.158.5])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <oelghoul@linux.ibm.com>)\n id 1wIu4u-0001Eb-U3; Fri, 01 May 2026 16:03:14 -0400", "from pps.filterd (m0353725.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 641GKXLn3403831; Fri, 1 May 2026 20:03:08 GMT", "from ppma21.wdc07v.mail.ibm.com\n (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4drm1ec7ru-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Fri, 01 May 2026 20:03:07 +0000 (GMT)", "from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1])\n by ppma21.wdc07v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id\n 641Js0Po003852;\n Fri, 1 May 2026 20:03:07 GMT", "from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73])\n by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4ds8xkgxjw-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Fri, 01 May 2026 20:03:07 +0000 (GMT)", "from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com\n [10.241.53.105])\n by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 641K34ba29032896\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Fri, 1 May 2026 20:03:04 GMT", "from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 6352658055;\n Fri, 1 May 2026 20:03:04 +0000 (GMT)", "from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 421D158043;\n Fri, 1 May 2026 20:03:03 +0000 (GMT)", "from Mac.ibm.com (unknown [9.61.247.25])\n by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP;\n Fri, 1 May 2026 20:03:03 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=pp1; bh=MmAIrOmBi+O9AQ6ZS\n 5atURf23x4XcDe8K9D0teZNruQ=; b=lB78hm0OYR/ddkY6t28Qb9G7ThrYBkt/Z\n EFVlLFDtgkpwnJI52N7cBc5bUsQvkpAlHa0I2dl5NhKU6gLdSik+teLcWe0waE+5\n 6G9QaaIqwl2PKBCQGhrOg+HDjI9vhs3TybL3TDkvVTR1Ecf/8UeWjJT7TmoUQmYR\n kTflfKFr3JeuRC4kUPiv3/mUevLPbP7sPpqS3bZftfEgaeAHqgLoBgbmjWN+zyny\n YewZBYItxy0wkglrEr3/eR5RSvSdY+X0wAwGY+/gSn0VK+lzloiR45noWmU6jUyJ\n t1JG3qkW/Ox64wL8NQheEiYERPhGBwhSN/5CqgTkVXfY+fca6GkLw==", "From": "Omar Elghoul <oelghoul@linux.ibm.com>", "To": "qemu-devel@nongnu.org, qemu-s390x@nongnu.org", "Cc": "oelghoul@linux.ibm.com, mjrosato@linux.ibm.com, alifm@linux.ibm.com,\n farman@linux.ibm.com, pasic@linux.ibm.com, borntraeger@linux.ibm.com,\n richard.henderson@linaro.org, iii@linux.ibm.com, david@kernel.org,\n cohuck@redhat.com, mst@redhat.com, pbonzini@redhat.com, clg@redhat.com", "Subject": "[RFC PATCH v1 2/5] hw/s390x: Clarified FMB format for emulated and\n passthrough devices", "Date": "Fri, 1 May 2026 16:00:23 -0400", "Message-ID": "<20260501200026.22784-3-oelghoul@linux.ibm.com>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260501200026.22784-1-oelghoul@linux.ibm.com>", "References": "<20260501200026.22784-1-oelghoul@linux.ibm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-TM-AS-GCONF": "00", "X-Proofpoint-ORIG-GUID": "iKmMe7lmwB7SjmWYCxL8p4SSFByjXCjO", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNTAxMDE5NSBTYWx0ZWRfXx8IrxA9ZhwlS\n Su2yf8IcoK1fBR6wF0QfoOX5SdcYLuKCRQPdfD8zM6onj7uImpuhFE+wD0isgbQ8+zGpaxCW3aa\n sw2kE2X3yVrWuq90T53p/sIDOEXhtgQU4Vf9wuG/5U23mlmCohtv9UO2qe8q20Fe90TyxpkU8f8\n qowWjR0S9JbySEOii+u9dGH8Y2fZXk0gyfnm3Fm1hMw9pqDxGdYHwzNcVfrP1g+uQct2rPON9lq\n AKAGcl7H2/ESXxYoI3QXV//i2WojvkxXEDd4qJ6bsmfQcjuKaRmHA1VsjRK8Tg6gVPm9eX7jOEg\n QnZqSgQ6uRiQJsIDdWdlOz+ito8FcRHERewRPSM0ZafJ4b8wxcRlDJSiGgDj9eHkDc3DYUzACn0\n th3Hohw0XcRmbD4nIjf2+0f/pEEKirjOEq1DjWV3oOskcNPfwWDbC9Ugnxjn86Q6JFxnnfiohxc\n BQrQ30vXRw1gHLbBnYA==", "X-Authority-Analysis": "v=2.4 cv=VZLH+lp9 c=1 sm=1 tr=0 ts=69f506fc cx=c_pps\n a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17\n a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=V8glGbnc2Ofi9Qvn3v5h:22 a=VnNF1IyMAAAA:8 a=f_7aZsy8-PDlq5a6mJoA:9", "X-Proofpoint-GUID": "iKmMe7lmwB7SjmWYCxL8p4SSFByjXCjO", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-01_05,2026-04-30_02,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n clxscore=1011 suspectscore=0 adultscore=0 lowpriorityscore=0 phishscore=0\n spamscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 impostorscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605010195", "Received-SPF": "pass client-ip=148.163.158.5;\n envelope-from=oelghoul@linux.ibm.com; helo=mx0b-001b2d01.pphosted.com", "X-Spam_score_int": "-26", "X-Spam_score": "-2.7", "X-Spam_bar": "--", "X-Spam_report": "(-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\n RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham 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": "Renamed the default FMB format macro and added a comment explaining that\nit will be overwritten in the case of PCI passthrough devices when paired\nwith a compatible kernel.\n\nSigned-off-by: Omar Elghoul <oelghoul@linux.ibm.com>\n---\n hw/s390x/s390-pci-bus.c | 8 +++++++-\n include/hw/s390x/s390-pci-bus.h | 2 +-\n 2 files changed, 8 insertions(+), 2 deletions(-)", "diff": "diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c\nindex 4de7b587e8..128814f4c5 100644\n--- a/hw/s390x/s390-pci-bus.c\n+++ b/hw/s390x/s390-pci-bus.c\n@@ -1486,7 +1486,13 @@ static void s390_pci_device_realize(DeviceState *dev, Error **errp)\n }\n \n zpci->state = ZPCI_FS_RESERVED;\n- zpci->fmb.format = ZPCI_FMB_FORMAT;\n+\n+ /*\n+ * For emulated devices, we use FMB format-0. For PCI passthrough\n+ * devices paired with a compatible kernel, this will get overwritten\n+ * by the VFIO-provided FMB.\n+ */\n+ zpci->fmb.format = ZPCI_FMB_DEFAULT_FORMAT;\n }\n \n static void s390_pci_device_reset(DeviceState *dev)\ndiff --git a/include/hw/s390x/s390-pci-bus.h b/include/hw/s390x/s390-pci-bus.h\nindex 9228523ce8..feaf6d4863 100644\n--- a/include/hw/s390x/s390-pci-bus.h\n+++ b/include/hw/s390x/s390-pci-bus.h\n@@ -308,7 +308,7 @@ typedef struct ZpciFmbFmt0 {\n #define ZPCI_FMB_CNT_RPCIT 3\n #define ZPCI_FMB_CNT_MAX 4\n \n-#define ZPCI_FMB_FORMAT 0\n+#define ZPCI_FMB_DEFAULT_FORMAT 0\n \n typedef struct ZpciFmb {\n uint32_t format;\n", "prefixes": [ "RFC", "v1", "2/5" ] }