Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807805/?format=api
{ "id": 807805, "url": "http://patchwork.ozlabs.org/api/patches/807805/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170830174128.32541-4-dann.frazier@canonical.com/", "project": { "id": 15, "url": "http://patchwork.ozlabs.org/api/projects/15/?format=api", "name": "Ubuntu Kernel", "link_name": "ubuntu-kernel", "list_id": "kernel-team.lists.ubuntu.com", "list_email": "kernel-team@lists.ubuntu.com", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170830174128.32541-4-dann.frazier@canonical.com>", "list_archive_url": null, "date": "2017-08-30T17:41:25", "name": "[3/6,SRU,Zesty] clocksource/arm_arch_timer: Fix arch_timer_mem_find_best_frame()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0fc5c65d20d40c28e5cdf1c4fd30ca8a55f4b5d1", "submitter": { "id": 9337, "url": "http://patchwork.ozlabs.org/api/people/9337/?format=api", "name": "dann frazier", "email": "dann.frazier@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170830174128.32541-4-dann.frazier@canonical.com/mbox/", "series": [ { "id": 670, "url": "http://patchwork.ozlabs.org/api/series/670/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=670", "date": "2017-08-30T17:41:23", "name": "[1/6,SRU,Zesty] Revert \"UBUNTU: SAUCE: arm64: arch_timer: Enable CNTVCT_EL0 trap if workaround is enabled\"", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/670/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807805/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807805/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<kernel-team-bounces@lists.ubuntu.com>", "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.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=kernel-team-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)", "Received": [ "from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjCWs1QTKz9sRW;\n\tThu, 31 Aug 2017 03:42:49 +1000 (AEST)", "from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.76)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1dn70o-0002z9-0u; Wed, 30 Aug 2017 17:42:46 +0000", "from complete.lackof.org ([198.49.126.79])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.76) (envelope-from <dannf@dannf.org>) id 1dn6zz-0002j7-Rl\n\tfor kernel-team@lists.ubuntu.com; Wed, 30 Aug 2017 17:41:55 +0000", "from localhost (c-107-2-141-92.hsd1.co.comcast.net [107.2.141.92])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (Client did not present a certificate)\n\tby complete.lackof.org (Postfix) with ESMTPSA id 1502133E0255\n\tfor <kernel-team@lists.ubuntu.com>;\n\tWed, 30 Aug 2017 11:41:54 -0600 (MDT)" ], "From": "dann frazier <dann.frazier@canonical.com>", "To": "kernel-team@lists.ubuntu.com", "Subject": "[PATCH 3/6][SRU Zesty] clocksource/arm_arch_timer: Fix\n\tarch_timer_mem_find_best_frame()", "Date": "Wed, 30 Aug 2017 11:41:25 -0600", "Message-Id": "<20170830174128.32541-4-dann.frazier@canonical.com>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170830174128.32541-1-dann.frazier@canonical.com>", "References": "<20170830174128.32541-1-dann.frazier@canonical.com>", "X-Spam-Status": "No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY\n\tautolearn=unavailable version=3.3.2", "X-Spam-Checker-Version": "SpamAssassin 3.3.2 (2011-06-06) on\n\tcomplete.lackof.org", "X-BeenThere": "kernel-team@lists.ubuntu.com", "X-Mailman-Version": "2.1.14", "Precedence": "list", "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>", "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>", "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>", "List-Post": "<mailto:kernel-team@lists.ubuntu.com>", "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>", "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "kernel-team-bounces@lists.ubuntu.com", "Sender": "kernel-team-bounces@lists.ubuntu.com" }, "content": "From: Sudeep Holla <sudeep.holla@arm.com>\n\nBugLink: https://bugs.launchpad.net/bugs/1713821\n\narch_timer_mem_find_best_frame() looks through ARCH_TIMER_MEM_MAX_FRAMES\nframes even after finding matches to ensure the best frame is chosen,\nwhich means the variable frame will point to the last valid frame but\nnot necessarily the best frame.\n\nOn Juno, we get the following error as the wrong frame is returned as the\nbest frame from arch_timer_mem_find_best_frame():\n\n arch_timer: Unable to map frame @ 0x0000000000000000\n arch_timer: Frame missing phys irq.\n Failed to initialize '/timer@2a810000': -22\n\nFix the issue by correctly returning the best frame from\narch_timer_mem_find_best_frame().\n\nFixes: c389d701dfb7 (\"clocksource: arm_arch_timer: split MMIO timer probing.\")\nSigned-off-by: Sudeep Holla <sudeep.holla@arm.com>\nAcked-by: Mark Rutland <mark.rutland@arm.com>\nCc: Marc Zyngier <marc.zyngier@arm.com>\nCc: Daniel Lezcano <daniel.lezcano@linaro.org>\nCc: linux-arm-kernel@lists.infradead.org\nLink: http://lkml.kernel.org/r/1494246747-17267-1-git-send-email-sudeep.holla@arm.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\n(cherry picked from commit f63d947c1673930bfc5f2f9bd1073a02c179a890)\nSigned-off-by: dann frazier <dann.frazier@canonical.com>\n---\n drivers/clocksource/arm_arch_timer.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c\nindex c7cad4677aaf..3f13ad936c74 100644\n--- a/drivers/clocksource/arm_arch_timer.c\n+++ b/drivers/clocksource/arm_arch_timer.c\n@@ -1278,7 +1278,7 @@ arch_timer_mem_find_best_frame(struct arch_timer_mem *timer_mem)\n \t\tpr_err(\"Unable to find a suitable frame in timer @ %pa\\n\",\n \t\t\t&timer_mem->cntctlbase);\n \n-\treturn frame;\n+\treturn best_frame;\n }\n \n static int __init\n", "prefixes": [ "3/6", "SRU", "Zesty" ] }