get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1481241,
    "url": "http://patchwork.ozlabs.org/api/patches/1481241/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20210519194208.515548-7-rehn.andreas86@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210519194208.515548-7-rehn.andreas86@gmail.com>",
    "list_archive_url": null,
    "date": "2021-05-19T19:42:08",
    "name": "[6/6] net: sun8i-emac: v3s: fix soft reset timeout",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "3f6d277787055bfae78d5d97b1c5337284220a3d",
    "submitter": {
        "id": 81770,
        "url": "http://patchwork.ozlabs.org/api/people/81770/?format=api",
        "name": "Andreas Rehn",
        "email": "rehn.andreas86@gmail.com"
    },
    "delegate": {
        "id": 114289,
        "url": "http://patchwork.ozlabs.org/api/users/114289/?format=api",
        "username": "apritzel",
        "first_name": "Andre",
        "last_name": "Przywara",
        "email": "andre.przywara@arm.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20210519194208.515548-7-rehn.andreas86@gmail.com/mbox/",
    "series": [
        {
            "id": 244775,
            "url": "http://patchwork.ozlabs.org/api/series/244775/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=244775",
            "date": "2021-05-19T19:42:02",
            "name": "arm: sunxi: v3s: add ethernet support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/244775/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1481241/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1481241/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=PsWYDyxA;\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"PsWYDyxA\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=rehn.andreas86@gmail.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4FlkFs6htgz9sRN\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 20 May 2021 05:58:41 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 8E06482E78;\n\tWed, 19 May 2021 21:56:57 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id C442B81C67; Wed, 19 May 2021 21:42:34 +0200 (CEST)",
            "from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n [IPv6:2a00:1450:4864:20::32d])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2265881C67\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 21:42:32 +0200 (CEST)",
            "by mail-wm1-x32d.google.com with SMTP id 62so6857300wmb.3\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 12:42:32 -0700 (PDT)",
            "from flex-5.fritz.box (x4db62c8c.dyn.telefonica.de. [77.182.44.140])\n by smtp.gmail.com with ESMTPSA id\n s7sm6705035wmh.35.2021.05.19.12.42.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 19 May 2021 12:42:31 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=o6ALKVChhBmK1QoaiAHAsy3IFGF5tEquY7oSPg4Y0xo=;\n b=PsWYDyxAYBFy0va9JPq6sfRR7oyhVW9/bUggP0XkAge2m/9gCJb8/jSjHpfm30OfeG\n eFY4ZCLoBDgzh3WFRJg/t8s5eZ4ksDP0VZ/uKRFZSUNNT0HbZvA6q9aTdbfNgK1OB6ZI\n muXFSUh7bAqAU9N9vCnfvCNw5Io6B1O7A35n3QS0ZAyIEMRVLP0+wo2oRs0cekv5B66Z\n aDPPGCMfpOGb6rf4EhitQJ29PVPPg0Kgu0TFqbr3yJO+Ltp0lPGe+/K1XF6UaP28X0uN\n a1Gi0H6c/pqDrcPLaEMGlD+Oi50BqHv2fTgZ1xKjYarSsI9VVrn6eUIWOlI7vw3cu15I\n z6Pw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=o6ALKVChhBmK1QoaiAHAsy3IFGF5tEquY7oSPg4Y0xo=;\n b=S9hvebbhD67VX4veV+uBmPOKRiU3HxGauRunFhcvw55o/eHTvjrFH3Ww+OmmUK9TlQ\n MSlyH7Gvs7B3JsEq10po9jwiHXHJof1gKT5T8usIZ15xh7u2+B2M9VblcQ365IuWVoy4\n 9mAw12jzuWfi01fnnm3LuVmsOwZlYMRVInMTaJ26qcSZkTIHuzcsAPK/6g0o85GoKnjG\n fNOmjdnUpKm1lsVS7HdKj9tjC6BlCERqbNmXde4WSDNDPRy3ZN9uHKrCpHj3q7k9JtuB\n 0psOmvtHIztArHVAp4+vAhvf6H6wN7cN5aczIb54FUyrGwefrCZ/h8MI2dCltG1886Qm\n Cmgw==",
        "X-Gm-Message-State": "AOAM530zTul3t13HSlbG4jeY5IaWpTIVVXB4x/fw83e/WnXgVaMcyiyL\n whAa1KI/T+VTiR7ph2yd304=",
        "X-Google-Smtp-Source": "\n ABdhPJzr1qDjTLqJKgkTsKEhys4L3B3NGWsRfgXmxcYN5Vg1SFkDYkwXUlEUm2+hLpaAvVQE/dF6jg==",
        "X-Received": "by 2002:a7b:cd98:: with SMTP id y24mr795087wmj.4.1621453351700;\n Wed, 19 May 2021 12:42:31 -0700 (PDT)",
        "From": "Andreas Rehn <rehn.andreas86@gmail.com>",
        "To": "hdegoede@redhat.com,\n\tjagan@amarulasolutions.com,\n\tandre.przywara@arm.com",
        "Cc": "icenowy@aosc.io, u-boot@lists.denx.de,\n Andreas Rehn <rehn.andreas86@gmail.com>",
        "Subject": "[PATCH 6/6] net: sun8i-emac: v3s: fix soft reset timeout",
        "Date": "Wed, 19 May 2021 21:42:08 +0200",
        "Message-Id": "<20210519194208.515548-7-rehn.andreas86@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210519194208.515548-1-rehn.andreas86@gmail.com>",
        "References": "<20210519194208.515548-1-rehn.andreas86@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Wed, 19 May 2021 21:56:12 +0200",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.102.4 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "v3s emac soft reset tooks quit longer if autonegation is active\non 100 Mbit full duplex pairs what can result in\n`sun8i_emac_eth_start: Timeout` error\n\nwait_for_bit_le32 polls register value each ms.\nIncreasing the timeout for setup do not effect current behavior\nbut reduces unexpected behaviors (e.g. timeouts on tftp download).\n\nSigned-off-by: Andreas Rehn <rehn.andreas86@gmail.com>\n---\n drivers/net/sun8i_emac.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c\nindex 0e7ad3b0d4..23fd35f9e1 100644\n--- a/drivers/net/sun8i_emac.c\n+++ b/drivers/net/sun8i_emac.c\n@@ -475,7 +475,7 @@ static int sun8i_emac_eth_start(struct udevice *dev)\n \t/* Soft reset MAC */\n \twritel(EMAC_CTL1_SOFT_RST, priv->mac_reg + EMAC_CTL1);\n \tret = wait_for_bit_le32(priv->mac_reg + EMAC_CTL1,\n-\t\t\t\tEMAC_CTL1_SOFT_RST, false, 10, true);\n+\t\t\t\tEMAC_CTL1_SOFT_RST, false, 500, true);\n \tif (ret) {\n \t\tprintf(\"%s: Timeout\\n\", __func__);\n \t\treturn ret;\n",
    "prefixes": [
        "6/6"
    ]
}