From patchwork Thu May 29 07:24:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 4262481 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C867CBF90B for ; Thu, 29 May 2014 07:24:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EE20220320 for ; Thu, 29 May 2014 07:24:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BBAA20138 for ; Thu, 29 May 2014 07:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933557AbaE2HY5 (ORCPT ); Thu, 29 May 2014 03:24:57 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:16950 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932592AbaE2HY5 (ORCPT ); Thu, 29 May 2014 03:24:57 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 29 May 2014 16:24:56 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id B3AF948AF8; Thu, 29 May 2014 16:24:56 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id AAA4D80195; Thu, 29 May 2014 16:24:56 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id A2AEF80193; Thu, 29 May 2014 16:24:56 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id SAL17906; Thu, 29 May 2014 16:24:56 +0900 X-IronPort-AV: E=Sophos;i="4.98,932,1392130800"; d="scan'208";a="161917728" Received: from mail-hk1lp0123.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.123]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES128-SHA; 29 May 2014 16:24:56 +0900 Received: from [10.161.20.223] (211.11.155.147) by HKXPR06MB118.apcprd06.prod.outlook.com (10.242.122.144) with Microsoft SMTP Server (TLS) id 15.0.954.9; Thu, 29 May 2014 07:24:55 +0000 Message-ID: <5386E0C4.1090208@renesas.com> Date: Thu, 29 May 2014 16:24:52 +0900 From: keita kobayashi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: CC: , Subject: [PATCH 3/3] ARM: shmobile: r8a7791: Support Core-Standby for Suspend to RAM X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKNPR04CA015.apcprd04.prod.outlook.com (10.141.16.35) To HKXPR06MB118.apcprd06.prod.outlook.com (10.242.122.144) X-Forefront-PRVS: 022649CC2C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6009001)(6049001)(428001)(199002)(189002)(42186004)(76482001)(92566001)(47776003)(20776003)(64706001)(66066001)(80022001)(65956001)(86152002)(81542001)(65806001)(87976001)(85852003)(83072002)(74502001)(92726001)(23736002)(33656002)(81342001)(46102001)(79102001)(64126003)(54356999)(65816999)(87266999)(50986999)(83506001)(101416001)(21056001)(99396002)(102836001)(19580405001)(19580395003)(31966008)(83322001)(74662001)(4396001)(50466002)(36756003)(86362001)(77982001)(59896001); DIR:OUT; SFP:; SCL:1; SRVR:HKXPR06MB118; H:[10.161.20.223]; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=keita.kobayashi.ym@renesas.com; X-OriginatorOrg: renesas.com 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 Add r8a7791 Core-Standby state for Suspend to RAM support. Signed-off-by: Keita Kobayashi --- arch/arm/mach-shmobile/smp-r8a7791.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/smp-r8a7791.c b/arch/arm/mach-shmobile/smp-r8a7791.c index ddccef6..6b42c16 100644 --- a/arch/arm/mach-shmobile/smp-r8a7791.c +++ b/arch/arm/mach-shmobile/smp-r8a7791.c @@ -52,6 +52,7 @@ static void __init r8a7791_smp_prepare_cpus(unsigned int max_cpus) iounmap(p); r8a7791_pm_init(); + shmobile_smp_apmu_suspend_init(); } static int r8a7791_smp_boot_secondary(unsigned int cpu,