Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/418053/?format=api
{ "id": 418053, "url": "http://patchwork.ozlabs.org/api/patches/418053/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/1417770449-3492-1-git-send-email-jingchang.lu@freescale.com/", "project": { "id": 19, "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api", "name": "Linux IMX development", "link_name": "linux-imx", "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org", "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1417770449-3492-1-git-send-email-jingchang.lu@freescale.com>", "list_archive_url": null, "date": "2014-12-05T09:07:29", "name": "arm: ls1021a: setup hrtimer based tick broadcast", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3e0f074bb2896cef7a3a64fcb8214aa17329fd78", "submitter": { "id": 46273, "url": "http://patchwork.ozlabs.org/api/people/46273/?format=api", "name": "Jingchang Lu", "email": "jingchang.lu@freescale.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/1417770449-3492-1-git-send-email-jingchang.lu@freescale.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/418053/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/418053/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming-imx@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org", "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2001:1868:205::9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3A4761400E7\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tFri, 5 Dec 2014 21:00:49 +1100 (AEDT)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1Xwpei-0000Ca-KD; Fri, 05 Dec 2014 09:58:32 +0000", "from mail-bl2on0146.outbound.protection.outlook.com\n\t([65.55.169.146] helo=na01-bl2-obe.outbound.protection.outlook.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat\n\tLinux)) id 1Xwpee-00008f-Mf\n\tfor linux-arm-kernel@lists.infradead.org;\n\tFri, 05 Dec 2014 09:58:29 +0000", "from DM2PR03CA0032.namprd03.prod.outlook.com (10.141.96.31) by\n\tCY1PR0301MB1242.namprd03.prod.outlook.com (25.161.212.152) with\n\tMicrosoft\n\tSMTP Server (TLS) id 15.1.31.17; Fri, 5 Dec 2014 09:58:02 +0000", "from BN1AFFO11FD034.protection.gbl (2a01:111:f400:7c10::124) by\n\tDM2PR03CA0032.outlook.office365.com (2a01:111:e400:2428::31) with\n\tMicrosoft SMTP Server (TLS) id 15.1.31.17 via Frontend Transport;\n\tFri, 5 Dec 2014 09:58:02 +0000", "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1AFFO11FD034.mail.protection.outlook.com (10.58.52.158) with\n\tMicrosoft SMTP Server (TLS) id 15.1.26.17 via Frontend Transport;\n\tFri, 5 Dec 2014 09:58:01 +0000", "from rock.ap.freescale.net (rock.ap.freescale.net [10.193.20.106])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tsB59vwsJ020245; Fri, 5 Dec 2014 02:57:59 -0700" ], "From": "Jingchang Lu <jingchang.lu@freescale.com>", "To": "<shawn.guo@linaro.org>", "Subject": "[PATCH] arm: ls1021a: setup hrtimer based tick broadcast", "Date": "Fri, 5 Dec 2014 17:07:29 +0800", "Message-ID": "<1417770449-3492-1-git-send-email-jingchang.lu@freescale.com>", "X-Mailer": "git-send-email 1.8.0", "X-EOPAttributedMessage": "0", "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10019020)(6009001)(199003)(189002)(89996001)(50466002)(84676001)(48376002)(110136001)(86362001)(31966008)(87936001)(92566001)(19580405001)(6806004)(19580395003)(33646002)(21056001)(99396003)(120916001)(97736003)(104016003)(4396001)(62966003)(77156002)(50226001)(50986999)(46102003)(106466001)(105606002)(68736005)(107046002)(20776003)(77096005)(47776003)(229853001)(36756003)(64706001)(2351001);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1242;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;", "MIME-Version": "1.0", "X-Microsoft-Antispam": [ "UriScan:;", "BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1242;" ], "X-Exchange-Antispam-Report-Test": "UriScan:;", "X-Exchange-Antispam-Report-CFA-Test": [ "BCL:0; PCL:0; RULEID:(602002);\n\tSRVR:CY1PR0301MB1242; ", "BCL:0; PCL:0; RULEID:;\n\tSRVR:CY1PR0301MB1242; " ], "X-Forefront-PRVS": "04163EF38A", "Received-SPF": "Fail (protection.outlook.com: domain of freescale.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;", "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=jingchang.lu@freescale.com; ", "X-OriginatorOrg": "freescale.com", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20141205_015828_927885_7F00DCE0 ", "X-CRM114-Status": "UNSURE ( 5.18 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-0.0 (/)", "X-Spam-Report": "SpamAssassin version 3.4.0 on bombadil.infradead.org summary:\n\tContent analysis details: (-0.0 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [65.55.169.146 listed in list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t-0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)\n\t[65.55.169.146 listed in wl.mailspike.net]\n\t-0.0 SPF_HELO_PASS SPF: HELO matches SPF record", "Cc": "linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tJingchang Lu <jingchang.lu@freescale.com>", "X-BeenThere": "linux-arm-kernel@lists.infradead.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>", "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>", "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>", "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org", "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org" }, "content": "This adds setup of hrtimer based tick broadcast to utilize\nthe hrtimer in SMP without other broadcast tick devices.\n\nSigned-off-by: Jingchang Lu <jingchang.lu@freescale.com>\n---\n arch/arm/mach-imx/mach-ls1021a.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/arch/arm/mach-imx/mach-ls1021a.c b/arch/arm/mach-imx/mach-ls1021a.c\nindex b89c858..4d074cf 100644\n--- a/arch/arm/mach-imx/mach-ls1021a.c\n+++ b/arch/arm/mach-imx/mach-ls1021a.c\n@@ -7,6 +7,10 @@\n * (at your option) any later version.\n */\n \n+#include <linux/clockchips.h>\n+#include <linux/clk-provider.h>\n+#include <linux/clocksource.h>\n+\n #include <asm/mach/arch.h>\n \n #include \"common.h\"\n@@ -16,7 +20,15 @@ static const char * const ls1021a_dt_compat[] __initconst = {\n \tNULL,\n };\n \n+static void __init ls1021a_init_time(void)\n+{\n+\tof_clk_init(NULL);\n+\tclocksource_of_init();\n+\ttick_setup_hrtimer_broadcast();\n+}\n+\n DT_MACHINE_START(LS1021A, \"Freescale LS1021A\")\n \t.smp\t\t= smp_ops(ls1021a_smp_ops),\n+\t.init_time\t= ls1021a_init_time,\n \t.dt_compat\t= ls1021a_dt_compat,\n MACHINE_END\n", "prefixes": [] }