From patchwork Mon Aug 24 02:32:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7059931 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 84D6B9F344 for ; Mon, 24 Aug 2015 02:32:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8012E206A5 for ; Mon, 24 Aug 2015 02:32:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A33C5206A1 for ; Mon, 24 Aug 2015 02:32:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753622AbbHXCch (ORCPT ); Sun, 23 Aug 2015 22:32:37 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:59802 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753416AbbHXCcg (ORCPT ); Sun, 23 Aug 2015 22:32:36 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 24 Aug 2015 11:32:35 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 6C5D541035; Mon, 24 Aug 2015 11:32:35 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 5C64D2806E; Mon, 24 Aug 2015 11:32:35 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 563BB2806D; Mon, 24 Aug 2015 11:32:35 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id MAF20532; Mon, 24 Aug 2015 11:32:35 +0900 X-IronPort-AV: E=Sophos;i="5.15,735,1432566000"; d="scan'";a="192933259" Received: from mail-hk2apc01lp0209.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.209]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 Aug 2015 11:32:34 +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 HKXPR06MB0600.apcprd06.prod.outlook.com (10.161.181.149) with Microsoft SMTP Server (TLS) id 15.1.231.21; Mon, 24 Aug 2015 02:32:32 +0000 Message-ID: <87vbc55siq.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 23/25 v7][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 CC: Magnus , , YOSHIYUKI ITO , Hisao Munakata , Yusuke Goda , Yoshihiro Shimoda , TOSHIAKI KOMATSU , Gaku Inami In-Reply-To: <87si7977g4.wl%kuninori.morimoto.gx@renesas.com> References: <87si7977g4.wl%kuninori.morimoto.gx@renesas.com> Date: Mon, 24 Aug 2015 02:32:32 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0009.jpnprd01.prod.outlook.com (25.161.131.147) To HKXPR06MB0600.apcprd06.prod.outlook.com (25.161.181.149) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0600; 2:NJ/NYlXqzbUBGjVYDufaHZaNNICBHVlu35n3nwqT8Ql4uZhQltun5jngX4kW3RjpMVTxrCzJO9GV8KwDcm/YagKWht7hAfZ84Uin6wmfDwaZ3nJx2k/iIOwQhL6Ds1li1L2LRKC9VhGJgrgkWP5vOFulsR0OF/eb9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sf63620cT1lkb/aK4P6QH4b/AEK/C9J2lZrOdvo6sPJRfAVmbMaLZhp78M5cj+Eh/p7ch7FGhx7G/0SiO+oiOEpLnzpgvrawo4auvNvDsgkWzw5x7IE1p4KDJ8WteynCi+Oqr6yn3gUFTtX2PO4Upj5mony+0HkGgtgY5tpauOyJb3VgViEm4AMe1rVi+KRrY6lWy0TdaxCwSLHbMHfa4nfmulopwtFUmbL0+Cj0ElrzskwkB2Ghkqn2Rfz7K2lTw0dVOJGRYkLxgQWI7uXU2Plc+fXIdv1GAySxfgvlrs X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:HKXPR06MB0600; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0600; X-Forefront-PRVS: 06780E24F8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(86362001)(19580395003)(19580405001)(33646002)(229853001)(5004730100002)(23726002)(106356001)(5001960100002)(69596002)(105586002)(5007970100001)(83506001)(92566002)(77156002)(62966003)(46406003)(2950100001)(42186005)(46102003)(76176999)(40100003)(54356999)(50986999)(53416004)(68736005)(50466002)(4001540100001)(77096005)(101416001)(81156007)(110136002)(47776003)(107886002)(189998001)(122386002)(5001830100001)(5001860100001)(97736004)(4001350100001)(64706001)(87976001)(36756003)(66066001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0600; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB0600; 23:kUfSqMeNVzdG8S9DTV46pl39dzFH5ROpNx7t0ixwB?= =?us-ascii?Q?u0hrrpnmXunmT+Tbpzn9thzTtO1+zyR22d4Z/dbopacsdfLwXcitE3s+sdfu?= =?us-ascii?Q?4slyPu7AfftpfWk/PQ8fbbnEQ0ezzxAmVQ1TLQVNeuiW4SgPF+noRsFVgKai?= =?us-ascii?Q?D829wE/8omBSymS319wJZMgW0MbMpmnp9HBViu90sRHi4n63lD1z26eUUvde?= =?us-ascii?Q?n0bQlGJnGdcDmCKlica7GJMExXHd7fwTm38U21goC735Nd//AYqcIao/P288?= =?us-ascii?Q?G9YbDiT0dXJU1TEoHAFw8EZGT5CmThOfe6vOiBwhK8q6Fzg145oBiVCo3Owz?= =?us-ascii?Q?iUcJF5qJf1rTYbvENAiOWe8akab7BFkj0iLeEychvy+CfJFBQv8P3/uu2hgl?= =?us-ascii?Q?38q55QXY2j1f3hR94M5YVMhnyLAaFlmhgkAwA912gpNgHGfTMHWDHfGozIGx?= =?us-ascii?Q?4lUEK4vmZMmht2kV6zF0fihsveXW18DuNVoTT++FIC+rv0dteF1EFuamRVYs?= =?us-ascii?Q?BA9k4qzhiUAAzJk7A6TRbSZBI8JL6n28ibdOhqUwZRn2kmrytkOVg7KvEB71?= =?us-ascii?Q?l5Iok/5VgF4n7Xd/Gxotk7+1oVO5d3Z68yHchRr7gGRZUfye3U1ICtn3B2NA?= =?us-ascii?Q?G5gMyp0Dv9tRT7vClP5i0Lraja1U2LkJQEHzBPba50X0KliFdMfxN7Kzafz/?= =?us-ascii?Q?JcBaUdB27sJyM42+eIWwDQVvjwGAaqwKdfa4OsfwilhEbjwUAqNLjNlRuE1v?= =?us-ascii?Q?59e/fh8UDHmVl5vub2Nh8H9bE4QLtynzQYZsMJQnwHSac6NfNqisibHs5f/9?= =?us-ascii?Q?po/drg7CcYT3j368LZs12KOtvcCwyfPl2PYg7pduea9XWEpokB8ldAKJ9Oh8?= =?us-ascii?Q?TcEl7+4BWv/SY+5Zbz535ekc7JllQS+yEWfwTO6IYmjS0ri0TIV7K2AKpoa8?= =?us-ascii?Q?DaLQg7UfDBq9Ibwya1hbZWqFmw8nnzfCMk53xtwXc0DTJO0WeaV/4N2gk3NC?= =?us-ascii?Q?bkepbC4hZBWoJf5tLGI8L8iHcbmdtS8JajoW5tehakSPfnfSC09c0IGmPK/M?= =?us-ascii?Q?72U6Cs/Nf26DD/Q43yt7B/Q0TRZwBq11PY6LhNj6OcYtxl9EZiSo+fEek1jO?= =?us-ascii?Q?ci9JJuYDGYe8hLwdXnZfkbvLkaj9mY6TXp7J/HkI8l8EtjGhdpTqel3nTm4E?= =?us-ascii?Q?WiJJqdtHEdVkPPjPb8bZY0C5nl5WtMw2O3D0YH0ptiV167m4cY9swE2INCE5?= =?us-ascii?Q?cX9+KGk1mj1+oC1Z3PFWsvz4j0qgbWhKNWwpYyy+0oIfliKkR+I0MAgUSIBv?= =?us-ascii?B?QT09?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0600; 5:KOmb34Lw27xWkMIbjfDogeCpfH//pBD3V624xb9xxyCDCfaIFsQDinqx67i18GlQY4fi4j4irSjkvkUW76aJEIMp/p1Zr1n1yVcmhH3zIPYj7B3dgXj/CiO9zppWYGQDDDPbGjyRhfhe22Lmz1j0xg==; 24:h1CuCQPPutJEdAYqzPLdy2c4o5pFmH7cfgu0m+7OYgUKil3tqtVEKmji75Tdmwqutr6ZRT1enKer2h7UiWFqVjNghi86BkJ7mAp7HyBOg8A=; 20:srZ+LUZxxplqKJp14gCvyjDuDsuCjaYZ2W/gA3Cqzn8FnL3y2Yvo9GqEuGPicc1g7c5/HioePRS7vatQW0A5M2sWuwhLQS+jZSTRF5eMHkNDTsTf0Fpjpg5lPduwhzWLLKMAkm++OXYWtSdMkIMJJwzMTo7hWRxsDf5X2prFOwM= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2015 02:32:32.5459 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0600 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.1 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 --- v5 -> v7 - 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; }