Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810293/?format=api
{ "id": 810293, "url": "http://patchwork.ozlabs.org/api/patches/810293/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/20170905212000.7009-3-afaerber@suse.de/", "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": "<20170905212000.7009-3-afaerber@suse.de>", "list_archive_url": null, "date": "2017-09-05T21:20:00", "name": "[v2,2/2] ARM: owl: smp: Drop owl_secondary_boot()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5b4222a6d0ae88c35fd70d55b45c2a107be26fd2", "submitter": { "id": 9542, "url": "http://patchwork.ozlabs.org/api/people/9542/?format=api", "name": "Andreas Färber", "email": "afaerber@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/20170905212000.7009-3-afaerber@suse.de/mbox/", "series": [ { "id": 1652, "url": "http://patchwork.ozlabs.org/api/series/1652/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=1652", "date": "2017-09-05T21:19:59", "name": "ARM: Actions Semi S500 SMP cleanups", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/1652/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810293/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810293/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", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"tS1+ItmP\"; dkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\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 3xn05C3QNxz9t2W\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 07:21:19 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpLHY-0008Pr-4A; Tue, 05 Sep 2017 21:21:16 +0000", "from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpLGt-0007pe-Mt for linux-arm-kernel@lists.infradead.org;\n\tTue, 05 Sep 2017 21:20:39 +0000", "from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 658D3AE53;\n\tTue, 5 Sep 2017 21:20:11 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=QmRk8PKt+1w7AvD+X8Mc8M2tfBULlP8xPu6JG05wUk8=;\n\tb=tS1+ItmPCaT2mO\n\tdAp4URla8/vFBgw3g7ATy4MEhb5zxo9zRn4Twj0eURAsYRfpfZK9wLsf5IbiDCQ/oXEuhm0gA2AZz\n\tvwH2U8KkRXRa2UCeCivRHbks0qNS9YuOkoLDvYdZ+hhPbY3MMzVyrATgjSLI6FsCGeLpDTESiPr+n\n\tuI+ne7h8gl17m5Z6QvbvFwgDufjlCGr3vebpzIb1p6wWWPO5p6Ll+FM5PtQMZ+t/wIAE3KeOtcRoR\n\t+Fy3DKIV1mFt7ujrbb+CbPihufYyF+IvjY3y7vo5YBRiE5OqEIed7gWmxJxpMpMSLMInqB3loH5uM\n\t7+ICG/6xv4F12DMBlUwA==;", "X-Virus-Scanned": "by amavisd-new at test-mx.suse.de", "From": "=?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>", "To": "=?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>,\n\tlinux-arm-kernel@lists.infradead.org", "Subject": "[PATCH v2 2/2] ARM: owl: smp: Drop owl_secondary_boot()", "Date": "Tue, 5 Sep 2017 23:20:00 +0200", "Message-Id": "<20170905212000.7009-3-afaerber@suse.de>", "X-Mailer": "git-send-email 2.13.5", "In-Reply-To": "<20170905212000.7009-1-afaerber@suse.de>", "References": "<20170905212000.7009-1-afaerber@suse.de>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170905_142036_101541_F4FAF749 ", "X-CRM114-Status": "GOOD ( 14.69 )", "X-Spam-Score": "-4.2 (----)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-4.2 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [195.135.220.15 listed in list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]", "X-BeenThere": "linux-arm-kernel@lists.infradead.org", "X-Mailman-Version": "2.1.21", "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>", "Cc": "support@lemaker.org, =?utf-8?b?5byg5aSp55uK?= <tyzhang@actions-semi.com>,\n\tFlorian Fainelli <f.fainelli@gmail.com>, =?utf-8?b?5qKF5Yip?=\n\t<harrymei@actions-semi.com>, =?utf-8?b?5YiY54Kc?=\n\t<liuwei@actions-semi.com>, linux-kernel@vger.kernel.org,\n\tThomas Liau <thomas.liau@actions-semi.com>, Russell King\n\t<linux@armlinux.org.uk>, support@cubietech.com, lee@cubietech.com, \n\t=?utf-8?b?5byg5Lic6aOO?= <zhangdf@actions-semi.com>,\n\t96boards@ucrobotics.com, Ioan B <ioan@allo.com>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "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": "Commit 18cfd9429d8a82c49add8f3ca9d366599bfcac45 simplified the S500 SMP\ncode by removing a loop for pen_release in owl_secondary_boot().\n\nSince then it is only calling owl_v7_invalidate_l1() before branching to\nsecondary_startup().\n\nThe owl_v7_invalidate_l1() assembler function is superfluous, too.\nTherefore drop owl_secondary_boot() and use secondary_boot() directly.\n\nFixes: 18cfd9429d8a (\"ARM: owl: smp: Drop bogus holding pen\")\nCc: David Liu <liuwei@actions-semi.com>\nSigned-off-by: Andreas Färber <afaerber@suse.de>\n---\n v1 -> v2:\n * Rebased onto __pa_symbol()\n * Tweaked commit message\n \n arch/arm/mach-actions/Makefile | 4 +---\n arch/arm/mach-actions/headsmp.S | 52 -----------------------------------------\n arch/arm/mach-actions/platsmp.c | 2 +-\n 3 files changed, 2 insertions(+), 56 deletions(-)\n delete mode 100644 arch/arm/mach-actions/headsmp.S", "diff": "diff --git a/arch/arm/mach-actions/Makefile b/arch/arm/mach-actions/Makefile\nindex c0f116241da7..13831037d8cd 100644\n--- a/arch/arm/mach-actions/Makefile\n+++ b/arch/arm/mach-actions/Makefile\n@@ -1,3 +1 @@\n-obj-${CONFIG_SMP} += platsmp.o headsmp.o\n-\n-AFLAGS_headsmp.o := -Wa,-march=armv7-a\n+obj-${CONFIG_SMP} += platsmp.o\ndiff --git a/arch/arm/mach-actions/headsmp.S b/arch/arm/mach-actions/headsmp.S\ndeleted file mode 100644\nindex 65f53bdb69e7..000000000000\n--- a/arch/arm/mach-actions/headsmp.S\n+++ /dev/null\n@@ -1,52 +0,0 @@\n-/*\n- * Copyright 2012 Actions Semi Inc.\n- * Author: Actions Semi, Inc.\n- *\n- * Copyright (c) 2017 Andreas Färber\n- *\n- * This program is free software; you can redistribute it and/or modify it\n- * under the terms of the GNU General Public License as published by the\n- * Free Software Foundation; either version 2 of the License, or (at your\n- * option) any later version.\n- */\n-\n-#include <linux/linkage.h>\n-#include <linux/init.h>\n-\n-ENTRY(owl_v7_invalidate_l1)\n-\tmov\tr0, #0\n-\tmcr\tp15, 0, r0, c7, c5, 0\t@ invalidate I cache\n-\tmcr\tp15, 2, r0, c0, c0, 0\n-\tmrc\tp15, 1, r0, c0, c0, 0\n-\n-\tldr\tr1, =0x7fff\n-\tand\tr2, r1, r0, lsr #13\n-\n-\tldr\tr1, =0x3ff\n-\n-\tand\tr3, r1, r0, lsr #3\t@ NumWays - 1\n-\tadd\tr2, r2, #1\t\t@ NumSets\n-\n-\tand\tr0, r0, #0x7\n-\tadd\tr0, r0, #4\t@ SetShift\n-\n-\tclz\tr1, r3\t\t@ WayShift\n-\tadd\tr4, r3, #1\t@ NumWays\n-1:\tsub\tr2, r2, #1\t@ NumSets--\n-\tmov\tr3, r4\t\t@ Temp = NumWays\n-2:\tsubs\tr3, r3, #1\t@ Temp--\n-\tmov\tr5, r3, lsl r1\n-\tmov\tr6, r2, lsl r0\n-\torr\tr5, r5, r6\t@ Reg = (Temp<<WayShift)|(NumSets<<SetShift)\n-\tmcr\tp15, 0, r5, c7, c6, 2\n-\tbgt\t2b\n-\tcmp\tr2, #0\n-\tbgt\t1b\n-\tdsb\n-\tisb\n-\tmov\tpc, lr\n-ENDPROC(owl_v7_invalidate_l1)\n-\n-ENTRY(owl_secondary_startup)\n-\tbl\towl_v7_invalidate_l1\n-\tb\tsecondary_startup\ndiff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c\nindex 7238926ab015..3efaa10efc43 100644\n--- a/arch/arm/mach-actions/platsmp.c\n+++ b/arch/arm/mach-actions/platsmp.c\n@@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu)\n \t/* wait for CPUx to run to WFE instruction */\n \tudelay(200);\n \n-\twritel(__pa_symbol(owl_secondary_startup),\n+\twritel(__pa_symbol(secondary_startup),\n \t timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4);\n \twritel(OWL_CPUx_FLAG_BOOT,\n \t timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);\n", "prefixes": [ "v2", "2/2" ] }