Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806362/?format=api
{ "id": 806362, "url": "http://patchwork.ozlabs.org/api/patches/806362/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170828041522.32188-1-vaibhav@linux.vnet.ibm.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<20170828041522.32188-1-vaibhav@linux.vnet.ibm.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170828041522.32188-1-vaibhav@linux.vnet.ibm.com/", "date": "2017-08-28T04:15:22", "name": "cxl: Set the valid bit in PE for dedicated mode", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "7c6f4b832ba7a82980ab8077c1b4cf6a1c34b740", "submitter": { "id": 66174, "url": "http://patchwork.ozlabs.org/api/people/66174/?format=api", "name": "Vaibhav Jain", "email": "vaibhav@linux.vnet.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170828041522.32188-1-vaibhav@linux.vnet.ibm.com/mbox/", "series": [ { "id": 68, "url": "http://patchwork.ozlabs.org/api/series/68/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=68", "date": "2017-08-28T04:15:22", "name": "cxl: Set the valid bit in PE for dedicated mode", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/68/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806362/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806362/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xgdnF3ZXHz9sNc\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 28 Aug 2017 14:18:57 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xgdnF2h1DzDqXh\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 28 Aug 2017 14:18:57 +1000 (AEST)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n\t[148.163.156.1])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xgdl60KZZzDqSb\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 28 Aug 2017 14:17:05 +1000 (AEST)", "from pps.filterd (m0098396.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv7S4DgdB088120\n\tfor <linuxppc-dev@lists.ozlabs.org>; Mon, 28 Aug 2017 00:17:04 -0400", "from e23smtp06.au.ibm.com (e23smtp06.au.ibm.com [202.81.31.148])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2cm2pe1nej-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <linuxppc-dev@lists.ozlabs.org>; Mon, 28 Aug 2017 00:17:03 -0400", "from localhost\n\tby e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <linuxppc-dev@lists.ozlabs.org> from <vaibhav@linux.vnet.ibm.com>;\n\tMon, 28 Aug 2017 14:17:01 +1000", "from d23relay10.au.ibm.com (202.81.31.229)\n\tby e23smtp06.au.ibm.com (202.81.31.212) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tMon, 28 Aug 2017 14:17:00 +1000", "from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139])\n\tby d23relay10.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n\tv7S4Fj3C39649474\n\tfor <linuxppc-dev@lists.ozlabs.org>; Mon, 28 Aug 2017 14:15:45 +1000", "from d23av04.au.ibm.com (localhost [127.0.0.1])\n\tby d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id\n\tv7S4FjUD020015\n\tfor <linuxppc-dev@lists.ozlabs.org>; Mon, 28 Aug 2017 14:15:46 +1000", "from vajain21.in.ibm.com ([9.77.80.146])\n\tby d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id\n\tv7S4FheP019950; Mon, 28 Aug 2017 14:15:44 +1000" ], "From": "Vaibhav Jain <vaibhav@linux.vnet.ibm.com>", "To": "linuxppc-dev@lists.ozlabs.org,\n\tFrederic Barrat <fbarrat@linux.vnet.ibm.com>", "Subject": "[PATCH] cxl: Set the valid bit in PE for dedicated mode", "Date": "Mon, 28 Aug 2017 09:45:22 +0530", "X-Mailer": "git-send-email 2.13.5", "X-TM-AS-MML": "disable", "x-cbid": "17082804-0040-0000-0000-00000351B689", "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused", "x-cbparentid": "17082804-0041-0000-0000-00000CCFAC3A", "Message-Id": "<20170828041522.32188-1-vaibhav@linux.vnet.ibm.com>", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-08-28_01:, , signatures=0", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1708280067", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Philippe Bergheaud <philippe.bergheaud@fr.ibm.com>,\n\tAlastair D'Silva <alastair@au1.ibm.com>,\n\tVaibhav Jain <vaibhav@linux.vnet.ibm.com>,\n\tAndrew Donnellan <andrew.donnellan@au1.ibm.com>,\n\tChristophe Lombard <christophe_lombard@fr.ibm.com>", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "Make sure to set the valid-bit in software-state field of the\npopulated PE. This was earlier missing for dedicated mode AFUs, hence\nwas causing a PSL freeze when the AFU was activated.\n\nSigned-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>\n---\n drivers/misc/cxl/native.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c\nindex 4a82c313cf71..0e748c682ee9 100644\n--- a/drivers/misc/cxl/native.c\n+++ b/drivers/misc/cxl/native.c\n@@ -897,6 +897,10 @@ int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr)\n \tif (ctx->afu->adapter->native->sl_ops->update_dedicated_ivtes)\n \t\tafu->adapter->native->sl_ops->update_dedicated_ivtes(ctx);\n \n+\tctx->elem->software_state = cpu_to_be32(CXL_PE_SOFTWARE_STATE_V);\n+\t/* Make sure the changes to the PE are visible to the card */\n+\tsmp_wmb();\n+\n \tresult = cxl_ops->afu_reset(afu);\n \tif (result)\n \t\treturn result;\n", "prefixes": [] }