From patchwork Fri Aug 7 03:18:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6964831 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 036BA9F38B for ; Fri, 7 Aug 2015 03:18:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E657E206D5 for ; Fri, 7 Aug 2015 03:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1669E206B2 for ; Fri, 7 Aug 2015 03:18:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545AbbHGDSs (ORCPT ); Thu, 6 Aug 2015 23:18:48 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:14876 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752118AbbHGDSs (ORCPT ); Thu, 6 Aug 2015 23:18:48 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 07 Aug 2015 12:18:46 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id EC0D84902B; Fri, 7 Aug 2015 12:18:46 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id E1A392806D; Fri, 7 Aug 2015 12:18:46 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id CD40B28070; Fri, 7 Aug 2015 12:18:46 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id NAE19653; Fri, 7 Aug 2015 12:18:46 +0900 X-IronPort-AV: E=Sophos;i="5.15,626,1432566000"; d="scan'";a="191978581" Received: from mail-hk1lp0123.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.123]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Aug 2015 12:18:46 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB0593.apcprd06.prod.outlook.com (10.161.187.144) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 7 Aug 2015 03:18:44 +0000 Message-ID: <87r3nfdc1j.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 12/16 v5][RFC] Local: Hack: remove pm_sysrq_init User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Simon , Geert Uytterhoeven CC: YOSHIYUKI ITO , Magnus , Linux-SH , Gaku Inami , shimoda , munakata , komatsu , goda Date: Fri, 7 Aug 2015 03:18:44 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0039.jpnprd01.prod.outlook.com (25.164.161.149) To HK2PR06MB0593.apcprd06.prod.outlook.com (25.161.187.144) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0593; 2:I6O2xL20zmLA9J9NEK28waMz9oW17tsIOH/radYA5GnTnT18RlppcRySLZWkg56lamKcm1NUFV+xXoGFG4TIDjwWK6oLM8YripaIJ516WrAYWUu9ZAucWqxw/5QGxgeF8qiycFtMrzlA/9sn4BbgrKpgpjaaNFeB1tv2gwqEqi8=; 3:qj4EYU6AdTruhIxLh2R+Y7CxgMNg0jG2iuzGv1CcVyW2br7cFagH9geUvdW0tD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XlL8DhJ/Bo0+0B86QU8AuQNHlrFShwHIlMrSvf/4HM6LvIGQ0tMr5N3SZU8AWtlH99SIn3bif9/Nz7uwOGF4TjxLyOSC+2YCS9cGrEGBJUsguq2aKaQy/uqopcEdYl0RW5SARMj1G3kySeH42IdenNSZIgyIbXvhMFubi8Os6IjzCjgqa8U7229PEwnjNKBm/ONcxqHP+eEIE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:HK2PR06MB0593; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0593; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(46406003)(53416004)(189998001)(105586002)(36756003)(19580405001)(66066001)(46102003)(106356001)(19580395003)(47776003)(77096005)(64706001)(42186005)(23726002)(229853001)(122386002)(92566002)(4001540100001)(40100003)(50466002)(69596002)(5001770100001)(101416001)(81156007)(83506001)(68736005)(4001350100001)(107886002)(77156002)(62966003)(5001960100002)(86362001)(50986999)(54356999)(87976001)(33646002)(97736004)(5001920100001)(5001830100001)(5001860100001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0593; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0593; 23:E5OdhIftWna6o9O4EKAXbIiBNo+GvjwgrhvfK+DDf?= =?us-ascii?Q?AuNA1483sj3iX+h5tLnO2a92iNe6YJPHSCtvLo5rciIOr9JT+eKccbTULjvq?= =?us-ascii?Q?N41TJN4L5Si+rar+laJdwkapsU3tatTtJHsZCYUKZ4m4erCcnirubPP3RcmR?= =?us-ascii?Q?651+N1+Vfw69tcwRE5c95ZzWy/dvSsjcVXYCBrmjwRyO3qJYee6hLrJwiJOI?= =?us-ascii?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zZHiRBS8y?= =?us-ascii?Q?ZfYKdmppa2Gvr/Or4pAgQdW+1Xz24NNPGV8X3R2o2RWpJr+7ahvGw9BgDjK2?= =?us-ascii?Q?OAKPG5mgznS7JvykKQmLjvZiPwagXfj4UhN?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0593; 5:Cs9uaJ3TkMOVZYKCTkZZU2XfNQezakEeE4ISJbep4wcKZ0okiI2ZlZmK2lgPzTVMa5JY0cWUSgIwjLUZm0JGZCTPEBIBkftvU4Sf13pCedp+//dNpKQVa7GmnIfgoKAM3TSfo3sAy0bdECq2XQ+0Kw==; 24:7ZqozFE5F1DCsogP5MhESkLpg5MEL9crw5o1oUaDXNdbFHcY/WlD3RapuHEJ3qrXToY4M40gcuV6kcQakQhu7EzFweaO4sVT6wVmJahxBrU=; 20:fCMXhY2Vh1/CLafhBbK51wSHQgpH96kvD0RXFjp9RhUeF4AJYRZgzk9YLX3oMiifSTOsRX9+r62Q4y1C7+x30ax8SD+RmnEg0aE0/+O0EAbfpHReSgGWwLQKojQXyk0nWBWPDQxOoBNA9WttajoxMQ3iDoiOCoVnK7yWmcBbu7Y= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2015 03:18:44.6238 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0593 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yoshifumi Hosoya In initial H3 environment, psci/pm/suspend is not supported. When primary cpu was booted, pm_sysrq_init() is not initialized. So remove this function as temporary fix. Signed-off-by: Yoshifumi Hosoya Signed-off-by: Gaku Inami Signed-off-by: Takeshi Kihara --- v4 -> v5 - no change kernel/power/poweroff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/poweroff.c b/kernel/power/poweroff.c index 7ef6866..3f7ba43 100644 --- a/kernel/power/poweroff.c +++ b/kernel/power/poweroff.c @@ -39,7 +39,7 @@ static struct sysrq_key_op sysrq_poweroff_op = { static int __init pm_sysrq_init(void) { - register_sysrq_key('o', &sysrq_poweroff_op); +// register_sysrq_key('o', &sysrq_poweroff_op); return 0; }