get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1132197,
    "url": "http://patchwork.ozlabs.org/api/patches/1132197/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182856.21688-18-jagan@amarulasolutions.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": "<20190715182856.21688-18-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2019-07-15T18:28:55",
    "name": "[U-Boot,v3,17/18] ram: rk3399: Enable sdram debug functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "076a543fe465d1916cd8d67917b3092b1f58f917",
    "submitter": {
        "id": 69820,
        "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api",
        "name": "Jagan Teki",
        "email": "jagan@amarulasolutions.com"
    },
    "delegate": {
        "id": 93623,
        "url": "http://patchwork.ozlabs.org/api/users/93623/?format=api",
        "username": "kevery",
        "first_name": "Kever",
        "last_name": "Yang",
        "email": "ykai007@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182856.21688-18-jagan@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 119574,
            "url": "http://patchwork.ozlabs.org/api/series/119574/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119574",
            "date": "2019-07-15T18:28:43",
            "name": "ram: rk3399: Add rank detection",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/119574/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1132197/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1132197/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\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"rvikxEPL\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nXQC0VJCz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 04:40:03 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid C27B2C21FD8; Mon, 15 Jul 2019 18:36:48 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 70C03C21F9B;\n\tMon, 15 Jul 2019 18:36:46 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E741DC21FD9; Mon, 15 Jul 2019 18:30:12 +0000 (UTC)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 42A9FC21FBD\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 18:30:09 +0000 (UTC)",
            "by mail-pl1-f194.google.com with SMTP id az7so8716168plb.5\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 11:30:09 -0700 (PDT)",
            "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\ty133sm20250075pfb.28.2019.07.15.11.30.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 15 Jul 2019 11:30:07 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=gYf4E6KmEJMpnMow4hpC6iE9+FOQ3+Z1CgoYtUkZWOg=;\n\tb=rvikxEPLkz2503wcJyoyqBLful11DQcvNNfV+wrHDRBrT9rD1W8tc6fItigFPO9vHa\n\tTPILa7dyl2nRzY11UFZ1dvHL+C2eArzABZRRRcGtLI/9VVAKD/6+Qf8icJhBUXVo3+FP\n\tPQLBeqFczphwAtjeGjsz2OTV5zNI3YGgCSlc0=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=gYf4E6KmEJMpnMow4hpC6iE9+FOQ3+Z1CgoYtUkZWOg=;\n\tb=eLQIcZ1qUR6MgRsUvkUsp691MZBWmeT4B1vGbCOeUH29w267PYRCm7lDY4Wi+vibW1\n\td4HwiAnMSkKVqChm1G5INb2iwK66PUQXjC6NsKHTiDQ6iVOpuSWMA7ido8cx915cHNCn\n\tIkKn5lIgfE4JsMj1KSYDyBOqg0MAgmUZpDNk99Cnusy/BPlwgAFIgl5HoEE6kthZn1HV\n\tznkOU/HvliILQV3MJHf+aK5LZLZB77Hb7HHy+SIlInBhHf5O+SPjatNYxOB3VNCiI69O\n\tqYnwurXRgDUDejh+ePxOXBjDywlaJyZhr7PA7cZIvTUWEbUI3QwSYAePBhXULiYlIgzI\n\t5lqw==",
        "X-Gm-Message-State": "APjAAAXMBE3r6uUgviut3cOIuJdEDnbmSAJNQbbrcD9raaW94tbzcN8e\n\tXebRjUXb/qFReJRR5ZnGsn5QVQ==",
        "X-Google-Smtp-Source": "APXvYqw2evLoNu65Hm6lRS0sZD1C2SNhy3Hvj0UnygXE+cFE24hprtFDrWkS0NhU06ecxS0iXqWW5Q==",
        "X-Received": "by 2002:a17:902:b608:: with SMTP id\n\tb8mr30342008pls.303.1563215407898; \n\tMon, 15 Jul 2019 11:30:07 -0700 (PDT)",
        "From": "Jagan Teki <jagan@amarulasolutions.com>",
        "To": "Simon Glass <sjg@chromium.org>,\n\tPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>,\n\tKever Yang <kever.yang@rock-chips.com>,\n\tYouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de",
        "Date": "Mon, 15 Jul 2019 23:58:55 +0530",
        "Message-Id": "<20190715182856.21688-18-jagan@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3",
        "In-Reply-To": "<20190715182856.21688-1-jagan@amarulasolutions.com>",
        "References": "<20190715182856.21688-1-jagan@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "Cc": "linux-rockchip@lists.infradead.org, gajjar04akash@gmail.com,\n\tlinux-amarula@amarulasolutions.com,\n\tManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>",
        "Subject": "[U-Boot] [PATCH v3 17/18] ram: rk3399: Enable sdram debug functions",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "This would help to debug the sdram base parameters while\ndebugging existing chip or while supporting new sdram type.\n\nIt require explicit enablement of CONFIG_RAM_ROCKCHIP_DEBUG\nfor showing the debug prints.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n drivers/ram/rockchip/sdram_rk3399.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex b83955f94e..9a60c24135 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -1251,6 +1251,8 @@ static unsigned char calculate_stride(struct rk3399_sdram_params *params)\n \t\t}\n \t}\n \n+\tsdram_print_stride(stride);\n+\n \treturn stride;\n }\n \n@@ -1357,11 +1359,14 @@ static int sdram_init(struct dram_info *dram,\n \t\tdebug(\"Channel \");\n \t\tdebug(channel ? \"1: \" : \"0: \");\n \n+\t\tsdram_print_ddr_info(cap_info, &params->base);\n+\n \t\tset_ddrconfig(chan, params, channel, cap_info->ddrconfig);\n \t}\n \n \tif (params->base.num_channels == 0) {\n \t\tprintf(\"%s: \", __func__);\n+\t\tsdram_print_dram_type(params->base.dramtype);\n \t\tprintf(\" - %dMHz failed!\\n\", params->base.ddr_freq);\n \t\treturn -EINVAL;\n \t}\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "17/18"
    ]
}