get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2217772/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2217772,
    "url": "http://patchwork.ozlabs.org/api/patches/2217772/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260330144456.13551-8-akhilrajeev@nvidia.com/",
    "project": {
        "id": 21,
        "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api",
        "name": "Linux Tegra Development",
        "link_name": "linux-tegra",
        "list_id": "linux-tegra.vger.kernel.org",
        "list_email": "linux-tegra@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260330144456.13551-8-akhilrajeev@nvidia.com>",
    "list_archive_url": null,
    "date": "2026-03-30T14:44:53",
    "name": "[v5,07/10] dmaengine: tegra: Use managed DMA controller registration",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "30a688feb458a9f4b52761b7bff0e88e97ef08a4",
    "submitter": {
        "id": 81965,
        "url": "http://patchwork.ozlabs.org/api/people/81965/?format=api",
        "name": "Akhil R",
        "email": "akhilrajeev@nvidia.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260330144456.13551-8-akhilrajeev@nvidia.com/mbox/",
    "series": [
        {
            "id": 498044,
            "url": "http://patchwork.ozlabs.org/api/series/498044/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=498044",
            "date": "2026-03-30T14:44:52",
            "name": "Add GPCDMA support in Tegra264",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/498044/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217772/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217772/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-tegra+bounces-13428-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-tegra@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256\n header.s=selector2 header.b=bGY69NDB;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13428-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com\n header.b=\"bGY69NDB\"",
            "smtp.subspace.kernel.org;\n arc=fail smtp.client-ip=52.101.53.17",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=nvidia.com",
            "smtp.subspace.kernel.org;\n spf=fail smtp.mailfrom=nvidia.com"
        ],
        "Received": [
            "from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fkvQd4qNyz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 01:54:01 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 38C52304DBA0\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 14:46:48 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id DAB1F32D0F9;\n\tMon, 30 Mar 2026 14:46:47 +0000 (UTC)",
            "from BL0PR03CU003.outbound.protection.outlook.com\n (mail-eastusazon11012017.outbound.protection.outlook.com [52.101.53.17])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 5675F328616;\n\tMon, 30 Mar 2026 14:46:46 +0000 (UTC)",
            "from DS7PR03CA0253.namprd03.prod.outlook.com (2603:10b6:5:3b3::18)\n by CH1PR12MB9576.namprd12.prod.outlook.com (2603:10b6:610:2ad::14) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.15; Mon, 30 Mar\n 2026 14:46:38 +0000",
            "from CY4PEPF0000EE39.namprd03.prod.outlook.com\n (2603:10b6:5:3b3:cafe::67) by DS7PR03CA0253.outlook.office365.com\n (2603:10b6:5:3b3::18) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.28 via Frontend Transport; Mon,\n 30 Mar 2026 14:46:38 +0000",
            "from mail.nvidia.com (216.228.117.161) by\n CY4PEPF0000EE39.mail.protection.outlook.com (10.167.242.11) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9745.21 via Frontend Transport; Mon, 30 Mar 2026 14:46:38 +0000",
            "from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com\n (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 30 Mar\n 2026 07:46:20 -0700",
            "from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail205.nvidia.com\n (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 30 Mar\n 2026 07:46:19 -0700",
            "from BUILDSERVER-IO-L4T.nvidia.com (10.127.8.9) by mail.nvidia.com\n (10.129.68.9) with Microsoft SMTP Server id 15.2.2562.20 via Frontend\n Transport; Mon, 30 Mar 2026 07:46:15 -0700"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774882007; cv=fail;\n b=Ce/QMRM38BgjDvFWPac4pAHrK4geqmN7MFFFx5dK7G92W8mI9qIlkohzJVqe1RxtZjaMXTl+2OyrzxF7CoukK740JIAsBVWlKgw7Va1uKfFlDe+r1nfJ+CIShqvnEK++wgEVPcmkGPaIG4DJTWvIdhxWthsnSSDqdOMomEcOkbw=",
            "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=lPYVLHAHlJ2ivxC/lP2A8NKSz/lGXTgSZRbECYhacxrGPZGgcnU6MhaKCXKB7mq161qcWzPoppj/h/YXaH33stiN9RpQDmcdJJZX0STs2CZ6mo2I4oF/XyU5Gz3hz4Mp4iPCQiqZKTFo6vNaDdnWh6J09EqvuxhCx6MSq/HXxiUQaPcBUebiH0jyNWqUBZ2Zfe5AnwoBhdngzSUF2Ne4Tm6NQNgL68B+BnBghVSs7wSTe+6RKYn7uZoIG4js2c1Q8QH+hTpQU5MLVBaSMFL6Rs6Et8q/QVlCk5z1Ri16nWWytJDR2TMR99m7leiMI4qMA4f+SSSALeJCCSvLn24M0w=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774882007; c=relaxed/simple;\n\tbh=Er2RRwu1u3oKOS3YC2aaM4wUjBHuUHQTytGBNX25oZA=;\n\th=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=hwYKEnvY4fIlVZfq3h9Dj0W/1FSJVhLUwRuL8kh4b87eMJkca4jMsrIcL36VcTtPxQ/REwgiG9ZqIQJ3gpnRswi1sgWc5PdmeShj//g3jW/aHkST/RmzqmXA1GJJifx8/gMWBmgQg+E19kWztvbybA05zGfJ2aWOrQESxw+mq6k=",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=NnQOQpqDrVK75f38aGwZwUolWtEicpOiR9xr7UsTKpI=;\n b=DuLpDPPhRbSc4CVuv0/NfrFVPj498G1/KxxU0cZq0YMSf8fpeCYYTb3Nr566C8sV2GXYe665kamH0qr74+t99a5qYZlVAw9jou1dslPo9gNd2L+CJ8ZPonY4QAkscBJc6tmwUnSJJ5VL1ziy1tagA1eWewc/8fjY922hO9uveHUFl4glzP5BaXNepfACLJ8I7ZV52amMcXm3qRRBXy8PMREUusGrP2UDLmRoEL+npKzt8qtT4mVSHoZKJ8okIjIKfr61204u1f5Ees6RT0tIyoB4mpoJSsahrF3oZva/5yMIret4phcA5CqHfDnemeApILwNI8dd5U+vtnQt5v17Ig=="
        ],
        "ARC-Authentication-Results": [
            "i=2; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=nvidia.com;\n spf=fail smtp.mailfrom=nvidia.com;\n dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com\n header.b=bGY69NDB; arc=fail smtp.client-ip=52.101.53.17",
            "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.117.161) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com;\n dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com;\n dkim=none (message not signed); arc=none (0)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=NnQOQpqDrVK75f38aGwZwUolWtEicpOiR9xr7UsTKpI=;\n b=bGY69NDBFJ+lw7EJ2tr6zRMqp7BwlBQJOp5HDjJJNqJFZMsOqegskpf4yCiuD/KRluT5fBmrVgu3NmEAc1XtR46taDCMC28udtv9ql/HKXCUFn9M6fiLMx4DBxQy6fYQ/3CapUcnZk830yuiBOr8DKFw7FUTBFufsfDBViEcVsh5co3eKkGQK8Iet1fpUJBDXKSo2O4h3KYUPpp4RZ7ClKaKJWUEghqcw4X1bl0++wNvzYv4GHT+6CwXPEbJareK619S9jN7/p1Mk6+dJ1UK35/HHcNLtCipJ1J+DZ24s9h7K+XfF0lO5F4CEelNA2JaEBayGw4NT3UI9Fg/FoLwog==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.117.161)\n smtp.mailfrom=nvidia.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.117.161 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C",
        "From": "Akhil R <akhilrajeev@nvidia.com>",
        "To": "Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>, Rob Herring\n\t<robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley\n\t<conor+dt@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, \"Jonathan\n Hunter\" <jonathanh@nvidia.com>, Laxman Dewangan <ldewangan@nvidia.com>,\n\tPhilipp Zabel <p.zabel@pengutronix.de>, <dmaengine@vger.kernel.org>,\n\t<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>",
        "CC": "Akhil R <akhilrajeev@nvidia.com>, Frank Li <frank.li@nxp.com>",
        "Subject": "[PATCH v5 07/10] dmaengine: tegra: Use managed DMA controller\n registration",
        "Date": "Mon, 30 Mar 2026 20:14:53 +0530",
        "Message-ID": "<20260330144456.13551-8-akhilrajeev@nvidia.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<20260330144456.13551-1-akhilrajeev@nvidia.com>",
        "References": "<20260330144456.13551-1-akhilrajeev@nvidia.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-tegra@vger.kernel.org",
        "List-Id": "<linux-tegra.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "X-NVConfidentiality": "public",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-NV-OnPremToCloud": "ExternallySecured",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "CY4PEPF0000EE39:EE_|CH1PR12MB9576:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "4c4f9079-6f0e-4475-8d3e-08de8e6b25fe",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "\n\tBCL:0;ARA:13230040|82310400026|1800799024|36860700016|376014|7416014|921020|56012099003|18002099003|22082099003;",
        "X-Microsoft-Antispam-Message-Info": "\n\t3H4OItW5uaK7AwNIzHe2XMj2Fe6wyTShyHukwFGhDsDG6f/FwP1k41ZvkktZzGPU4R4urMFH3UUGhRmuIp4K2T+Z1eVOnaeglsChE/4PRd0hlBQs6nOYBwnunJcF1/UZfNTtAbQ0PEGmVBeR0doLHlV+rDy1zzQCepxJMst0b97s82fwdGLF1aJH5/DtLS+uxFMXihpN0W6AXVvXLbWCYGL7737/P4vu/CdevsVVVTWaTWtU3R/BUbTmyMLvtfriw8RBwfRRhf9/wYJyW065D9Mc8uWmdRq5Zkxz7u1ohTBeLS5VFCieehbgTTP97vZoWetiWfsrBwiQpBh8zQuAQuwT7OUXc1eXHWY/A5gegVyqeMC/9qPtnYJ9Ugz1eMfizm1lYaSeJ7xmRQV6hGwmAv1vYgAg5CSvtySGXHPeZpQfy37zPXrs6TJtNGJu5XVLw5DG3OP6OVdH4NO/n6OlH6d4uc0PQBtSUVw1V4quWZhJ90Vav1qBDmUju9Ftc9oW5FnZoTi4hlJI8Mv6yi6tq1Oxxs7i2gUOGUugBkZPyjA/oh5Ow+/peUpQqVVFUC1/GxqFr3xHR9hxDLudGTXT0OjkTPwUo4efFnUDGyqjAXdTPC6LluVVAV2Y65Ql9aa0E1kLYQskQPd1yKnxBP+XXTkYlp76CMeabjV/YOSR/7LnA0cu5FbP2dOgbF+aBDf+uni3z8BESeyTcz5oiKn2RmCxXakTMUD1Z2jh8NaiVzEc6kRzBPOSseAmUYcZvgrHeulkGKC0SQCg6GpaQT8LrBtVyO/YcuWnRfkKHWoJ22R4eJuB4OJ1QZfnsY4nEm5L",
        "X-Forefront-Antispam-Report": "\n\tCIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700016)(376014)(7416014)(921020)(56012099003)(18002099003)(22082099003);DIR:OUT;SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n\tL/mDl5Fv/kRvRDwME1BPWX1bsDMP+fT5SHza2nnW1btlqFQv/zGQTnTcq90fABlAppOhFpXtaJJxLqXCQTOzc8A1eirA2efkQcIRDgm3iBcw2wPjvVvUFGWBDDPjmPS+MtFqR9b0EIjBHod3X+tTQgE2GnGnmnJn2ZeULaYqm6TN6vS2EDpH1gZIN969VH+NrKiwSsQK3QPVcjHAvhhSF7UJUlGJmWpMZ+0wmY3/19fxYZz6DKM8uIMMoocZ+jakskGfERRDcnM+FEISGdxGiRf4++yLcDNaeEhFOrapAzjXtME9u1CWg7CN5DRgN9I86RTKJC8+N+QiepbRFntWlkBF+ANckNPER3Ar62eu4bVnANp6n0bB8PfxanhlXmu9csnh9Mh6WfW0JlRwSkfN88UFaYd8cuX/rtz7AXo/AOPt9bQUGV7l1tfwg+gLxYdW",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "30 Mar 2026 14:46:38.2223\n (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 4c4f9079-6f0e-4475-8d3e-08de8e6b25fe",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n\tCY4PEPF0000EE39.namprd03.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CH1PR12MB9576"
    },
    "content": "Switch to managed registration in probe. This simplifies the error\npaths in the probe and also removes the requirement of the driver\nremove function.\n\nSigned-off-by: Akhil R <akhilrajeev@nvidia.com>\nSuggested-by: Frank Li <frank.li@nxp.com>\n---\n drivers/dma/tegra186-gpc-dma.c | 19 ++++---------------\n 1 file changed, 4 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/drivers/dma/tegra186-gpc-dma.c b/drivers/dma/tegra186-gpc-dma.c\nindex 3ac43ad19ed6..9bea2ffb3b9e 100644\n--- a/drivers/dma/tegra186-gpc-dma.c\n+++ b/drivers/dma/tegra186-gpc-dma.c\n@@ -1483,37 +1483,27 @@ static int tegra_dma_probe(struct platform_device *pdev)\n \ttdma->dma_dev.device_synchronize = tegra_dma_chan_synchronize;\n \ttdma->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;\n \n-\tret = dma_async_device_register(&tdma->dma_dev);\n+\tret = dmaenginem_async_device_register(&tdma->dma_dev);\n \tif (ret < 0) {\n \t\tdev_err_probe(&pdev->dev, ret,\n \t\t\t      \"GPC DMA driver registration failed\\n\");\n \t\treturn ret;\n \t}\n \n-\tret = of_dma_controller_register(pdev->dev.of_node,\n-\t\t\t\t\t tegra_dma_of_xlate, tdma);\n+\tret = devm_of_dma_controller_register(&pdev->dev, pdev->dev.of_node,\n+\t\t\t\t\t      tegra_dma_of_xlate, tdma);\n \tif (ret < 0) {\n \t\tdev_err_probe(&pdev->dev, ret,\n \t\t\t      \"GPC DMA OF registration failed\\n\");\n-\n-\t\tdma_async_device_unregister(&tdma->dma_dev);\n \t\treturn ret;\n \t}\n \n-\tdev_info(&pdev->dev, \"GPC DMA driver register %lu channels\\n\",\n+\tdev_info(&pdev->dev, \"GPC DMA driver registered %lu channels\\n\",\n \t\t hweight_long(tdma->chan_mask));\n \n \treturn 0;\n }\n \n-static void tegra_dma_remove(struct platform_device *pdev)\n-{\n-\tstruct tegra_dma *tdma = platform_get_drvdata(pdev);\n-\n-\tof_dma_controller_free(pdev->dev.of_node);\n-\tdma_async_device_unregister(&tdma->dma_dev);\n-}\n-\n static int __maybe_unused tegra_dma_pm_suspend(struct device *dev)\n {\n \tstruct tegra_dma *tdma = dev_get_drvdata(dev);\n@@ -1564,7 +1554,6 @@ static struct platform_driver tegra_dma_driver = {\n \t\t.of_match_table = tegra_dma_of_match,\n \t},\n \t.probe\t\t= tegra_dma_probe,\n-\t.remove\t\t= tegra_dma_remove,\n };\n \n module_platform_driver(tegra_dma_driver);\n",
    "prefixes": [
        "v5",
        "07/10"
    ]
}