Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1132196/?format=api
{ "id": 1132196, "url": "http://patchwork.ozlabs.org/api/patches/1132196/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182856.21688-3-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-3-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2019-07-15T18:28:40", "name": "[U-Boot,v3,02/18] ram: rk3399: Clear PI_175 interrupts in data training", "commit_ref": "01976ae6f55ecfdf9ace9a453cc16d84585d49d8", "pull_url": null, "state": "accepted", "archived": false, "hash": "f493f83dc75edc673f6a483f676f778cdd9e9c1f", "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-3-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/1132196/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1132196/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=\"Dm2snpus\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nXPQ2Cn8z9sNC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 04:39:22 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid EA001C21F2F; Mon, 15 Jul 2019 18:31:48 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3CE9FC21FD8;\n\tMon, 15 Jul 2019 18:29:53 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid CBBE2C21F90; Mon, 15 Jul 2019 18:29:17 +0000 (UTC)", "from mail-pl1-f193.google.com (mail-pl1-f193.google.com\n\t[209.85.214.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 70D4FC21FCB\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 18:29:17 +0000 (UTC)", "by mail-pl1-f193.google.com with SMTP id c14so8703294plo.0\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 11:29:17 -0700 (PDT)", "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\ty133sm20250075pfb.28.2019.07.15.11.29.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 15 Jul 2019 11:29:15 -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=DN7dbp/suL0eklOT4cOrJU8AKImrdUW67r8rQCwhI+w=;\n\tb=Dm2snpusG/9L2Gc+QCg1EzVAt468mtvVQHB8hXtCbCJQWdjlytrdKM7iw4MXBwkfL3\n\t3E/4Tn4uRMqHKPOzQXvSjJnhNKlcRSQ7Lyolr88K3Dj0r2eC1MXkylSwaJnwfpU27/7q\n\t477uimbMVra6GRJMhz3Ie0yCXMC6rdmXBRRh0=", "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=DN7dbp/suL0eklOT4cOrJU8AKImrdUW67r8rQCwhI+w=;\n\tb=hvnIQdu5EA16/M5nwJsjtuROhSQmc8hvwYmyx9vhqJ9GgRXM8OZkOvJiywHk63joF6\n\tFSWsvrmcfsDmLpY8HDT6W08KnaavYK63ip3xRbwmg9buPfZhxMydLiTViuz4NmV/p+/a\n\ttUAcw7/3IJdojOS56NbeM9sp/NRk3J5D6hCSvmMl2us11kT+616wv/hfcMQr2XqkcMWL\n\t/lh8oTj2unPsZF8NFZY3h7i5O6EpvqG3eFjI5nZ4tM1W8whzdID1gw1aIrY8JDiNSXmU\n\tlIt/gsoZwVRH3bEq/+OUrZSO+Ud7RyzL8HL00oJalYZe5NeSp+L1xM+0QU2s7rIMys3F\n\tGQ4g==", "X-Gm-Message-State": "APjAAAV+s9RbfFsdrLvfVU6CwJSaaCEB1/0EIQskTWx11OHkYE1i8pyV\n\totwlAhYcXHN0UPw7WIhq30xFfQ==", "X-Google-Smtp-Source": "APXvYqyQcF9BDZXPZ4f9H2qobrmdfz3nmMBajCSgkZOhQCYnKMYEPCQ8oC2cyxvwemi+ffVCyaYKhg==", "X-Received": "by 2002:a17:902:5998:: with SMTP id\n\tp24mr29643545pli.110.1563215356029; \n\tMon, 15 Jul 2019 11:29:16 -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:40 +0530", "Message-Id": "<20190715182856.21688-3-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 02/18] ram: rk3399: Clear PI_175 interrupts in\n\tdata training", "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": "Clear the PI_175 interrupts before processing actual\ndata training in all relevant calls.\n\nThis would help to clear interrupt from previous training.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: YouMin Chen <cym@rock-chips.com>\n---\n drivers/ram/rockchip/sdram_rk3399.c | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex e9c0fdf2d4..fe26144f27 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -627,6 +627,9 @@ static int data_training_ca(const struct chan_info *chan, u32 channel,\n \tu32 obs_0, obs_1, obs_2, obs_err = 0;\n \tu32 rank = params->ch[channel].cap_info.rank;\n \n+\t/* clear interrupt,PI_175 PI_INT_ACK:WR:0:17 */\n+\twritel(0x00003f7c, (&denali_pi[175]));\n+\n \tfor (i = 0; i < rank; i++) {\n \t\tselect_per_cs_training_index(chan, i);\n \n@@ -681,6 +684,9 @@ static int data_training_wl(const struct chan_info *chan, u32 channel,\n \tu32 obs_0, obs_1, obs_2, obs_3, obs_err = 0;\n \tu32 rank = params->ch[channel].cap_info.rank;\n \n+\t/* clear interrupt,PI_175 PI_INT_ACK:WR:0:17 */\n+\twritel(0x00003f7c, (&denali_pi[175]));\n+\n \tfor (i = 0; i < rank; i++) {\n \t\tselect_per_cs_training_index(chan, i);\n \n@@ -740,6 +746,9 @@ static int data_training_rg(const struct chan_info *chan, u32 channel,\n \tu32 obs_0, obs_1, obs_2, obs_3, obs_err = 0;\n \tu32 rank = params->ch[channel].cap_info.rank;\n \n+\t/* clear interrupt,PI_175 PI_INT_ACK:WR:0:17 */\n+\twritel(0x00003f7c, (&denali_pi[175]));\n+\n \tfor (i = 0; i < rank; i++) {\n \t\tselect_per_cs_training_index(chan, i);\n \n@@ -799,6 +808,9 @@ static int data_training_rl(const struct chan_info *chan, u32 channel,\n \tu32 i, tmp;\n \tu32 rank = params->ch[channel].cap_info.rank;\n \n+\t/* clear interrupt,PI_175 PI_INT_ACK:WR:0:17 */\n+\twritel(0x00003f7c, (&denali_pi[175]));\n+\n \tfor (i = 0; i < rank; i++) {\n \t\tselect_per_cs_training_index(chan, i);\n \n@@ -844,6 +856,9 @@ static int data_training_wdql(const struct chan_info *chan, u32 channel,\n \tu32 i, tmp;\n \tu32 rank = params->ch[channel].cap_info.rank;\n \n+\t/* clear interrupt,PI_175 PI_INT_ACK:WR:0:17 */\n+\twritel(0x00003f7c, (&denali_pi[175]));\n+\n \tfor (i = 0; i < rank; i++) {\n \t\tselect_per_cs_training_index(chan, i);\n \n", "prefixes": [ "U-Boot", "v3", "02/18" ] }