From patchwork Thu Aug 20 09:29:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7042981 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 360329F344 for ; Thu, 20 Aug 2015 09:29:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 519A3205B8 for ; Thu, 20 Aug 2015 09:29:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 548D6205AA for ; Thu, 20 Aug 2015 09:29:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751203AbbHTJ30 (ORCPT ); Thu, 20 Aug 2015 05:29:26 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:63838 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751023AbbHTJ3Z (ORCPT ); Thu, 20 Aug 2015 05:29:25 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 20 Aug 2015 18:29:23 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id E9EDD52273; Thu, 20 Aug 2015 18:29:23 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id DCD8A1806F; Thu, 20 Aug 2015 18:29:23 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id D84C51800A; Thu, 20 Aug 2015 18:29:23 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id UAA14500; Thu, 20 Aug 2015 18:29:23 +0900 X-IronPort-AV: E=Sophos;i="5.15,714,1432566000"; d="scan'";a="193911387" Received: from mail-sg2apc01lp0242.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.242]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 20 Aug 2015 18:29:23 +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 SG2PR06MB0604.apcprd06.prod.outlook.com (10.161.10.154) with Microsoft SMTP Server (TLS) id 15.1.243.23; Thu, 20 Aug 2015 09:29:21 +0000 Message-ID: <8737zeb9bi.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 14/17 v6][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: <87oai2b9rj.wl%kuninori.morimoto.gx@renesas.com> References: <87oai2b9rj.wl%kuninori.morimoto.gx@renesas.com> Date: Thu, 20 Aug 2015 09:29:21 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0023.jpnprd01.prod.outlook.com (25.161.24.33) To SG2PR06MB0604.apcprd06.prod.outlook.com (25.161.10.154) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0604; 2:8/pKvyE2X5qD+wqfgSj0750/RM+bp8i2ETghN4R6UZenkSjK5NDA27IIRR45qdQ73ICSzfcEkXTQ9jm5VUaXZpUyLWY5CG9l39OCWu4xQ3Wv66QDcAx0cv4sAAd7r3TwVHKHNJ+cDPP5B/CFDtwa7JyD0ZpQ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elQvTkqkJZV6+sypq2QiVzwPtI2V/E+ZVadocG1DXDYzO1IvvBfJniAj1BvQp+mUx9RuyamnObApLxok2oojF2EBebr6lnQSXuhw9ZpdoWdA8xR42VZkpaE2HHcuKXLBsFe9YQrkYLYVqKGrTGEKUIWvFd9KBKvVnze32AD82YoluzRKK21IebMwqEJV0KtWrp01PaVWGIBRXuvScKwLsq+0G1bqN/IgEgh2xAEyEWsxZyT08af0caUvL48r4ckUhdyHNfHIA0l5BWx5l8952YgrGjcxzRCCPQ0VWNeubmT78md8dkE4b6 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:SG2PR06MB0604; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0604; X-Forefront-PRVS: 0674DC6DD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(66066001)(122386002)(97736004)(83506001)(107886002)(105586002)(5001860100001)(110136002)(42186005)(189998001)(46406003)(5001960100002)(229853001)(62966003)(77156002)(106356001)(4001540100001)(69596002)(81156007)(33646002)(40100003)(46102003)(23726002)(53416004)(47776003)(19580405001)(50986999)(19580395003)(4001350100001)(87976001)(36756003)(101416001)(64706001)(68736005)(92566002)(86362001)(50466002)(77096005)(76176999)(5001830100001)(54356999)(2950100001)(5007970100001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0604; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0604; 23:PLOnY+zu4aVJ4Y7aXbfvfoPE6gNEt0aE/8cmkQd7W?= =?us-ascii?Q?EpX5dy7gu4G2TrV8q7i8q/KRXb71NtQvXRZfWA4j66uUZZHFgXUakFf7jt8Q?= =?us-ascii?Q?Hk8/EPPlUppYBdQGb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nv?= =?us-ascii?Q?wN+AVocT+WGC3iqQGuZ0mwIBQQEgJ0CrouWgBMDmOeVa0dvS/F90ZaaDG0zH?= =?us-ascii?Q?yHeh17EkS0ANa4j1gy6s4MXErJPUm8AvExKOCZxyIu9pKu7lrQnE8xekmaBR?= =?us-ascii?Q?lWmmKr0GW7kLOgEdazwiBq9mOOU/yDlOm3ZFf/5ACGHL7HP8ulgiCgyoyKbM?= =?us-ascii?Q?6EWwN6Bfs8+gC3qI/4cwaWpQszRhzERRZCYU00Ing5Vr20E2z3Tamoi5WQgq?= =?us-ascii?Q?BxpeI8UAWKKRUh+uL23i3RgCMu5MDyEmc9qutr8?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0604; 5:7niiZU/qWw3+oVu8+yw7gMMl3DYerJ4+U41T/Kg+6dL0lduIUPZJZham8FIZmk+t+TDjsfeXpCPOOmFAMEmkDgHvdy+gDUyihN9g0a9ktKr0yInfrNpaliB8WoyUjlKxgYZfEheMxkhVklHrs7WbHA==; 24:ZoTci/N1Wi3kdCMOmAehxkeVUiqw+uvan6wKNYNmc0V5XCCPVKW7fAUcGNYpo4OtNoXEglu2G0E3/o9Q2ocGEpqMGEdqcT6/yzf5RD+SEYA=; 20:1X4kamfh11/IvnB/iNxFyMmd9hMGs9c1THl/z/+Z8W0SNrjdEn5mXzc7Fyr0TWw/0fDDF7XDgdU0WgMyyXHI0uhGMC7VwNuJDwCFnyeQmCgrJecLe5FQGX9RfSn9KXHK872fDKtKWU/gTAyYmHxjwacmH/Qks/KuRpXT9yvGsWM= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2015 09:29:21.1064 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0604 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.5 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 -> v6 - 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; }