From patchwork Tue Jan 23 16:42:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10179965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD80C601D5 for ; Tue, 23 Jan 2018 11:25:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C23FE27FE4 for ; Tue, 23 Jan 2018 11:25:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B63BF26E78; Tue, 23 Jan 2018 11:25:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_03_06, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1CA6C26E78 for ; Tue, 23 Jan 2018 11:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NIgAxOSZhS4NcaoZFNHGHFTYmNO6Tum36cUbkMPCG3s=; b=cxoa8kH1E/MXbE 4XVHwH170IsiK89zmOMoTivk/5inqP7/F1Zp/A5pM2d4K34MQENcQTx255H1/9tCSKYEVoDl9hJpg gCZng7doYMxMpCO7t0qEeah9cPgT8yWrlPiZuCW1fJcPyoK6I5qDZkGJsccs8r+exatXCYLOx0yWP LNQn0g5oqky5jvs/GVV7wOOXie3NChv3LIJ7E/dpnrxC9g1XGSy4Eqn1oL5R9yOcq1DqaLfKhPa9x ipwtVqu0RhgN7Sd7mULOdOfKT2tN1X8ydDiRMxnujOG4r6000cmKWF1ZhQ8dmX2bhJRdZZ3TfBmiP v0zrnvtPP/sOC62nLkMw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1edwhn-0003tB-4g; Tue, 23 Jan 2018 11:25:31 +0000 Received: from mail-by2nam01on0057.outbound.protection.outlook.com ([104.47.34.57] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1edwhT-0002eO-Uf for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2018 11:25:13 +0000 Received: from CY1PR03CA0002.namprd03.prod.outlook.com (10.174.128.12) by BLUPR03MB472.namprd03.prod.outlook.com (10.141.78.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 11:24:55 +0000 Received: from BY2FFO11OLC006.protection.gbl (2a01:111:f400:7c0c::174) by CY1PR03CA0002.outlook.office365.com (2603:10b6:600::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Tue, 23 Jan 2018 11:24:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC006.mail.protection.outlook.com (10.1.14.199) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Tue, 23 Jan 2018 11:24:51 +0000 Received: from anson-OptiPlex-790.ap.freescale.net (anson-OptiPlex-790.ap.freescale.net [10.192.242.177]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0N94mAP015685; Tue, 23 Jan 2018 02:04:49 -0700 From: Anson Huang To: , , , , , , Subject: [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on Date: Wed, 24 Jan 2018 00:42:13 +0800 Message-ID: <1516725734-32745-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131611802942588726; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(346002)(396003)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(6666003)(16586007)(8936002)(2201001)(54906003)(47776003)(50226002)(110136005)(68736007)(86362001)(4326008)(305945005)(48376002)(97736004)(36756003)(53936002)(50466002)(104016004)(107886003)(356003)(8676002)(2906002)(81156014)(105606002)(5660300001)(81166006)(51416003)(26005)(498600001)(77096007)(106466001)(72206003)(336011)(85426001)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB472; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC006; 1:c28BhgYWaohu/9lY2CndFz4yRuNZKzmg5H62m4eY0sy2z9SctbvTpNRg4WRYGBfCON8L6O/zhw/noZgCbRCBHoSE1dj0i06n80lbt1965k4UJEF6tkRXtjscxZT5gxXw MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88b89df9-40d7-42b9-3c46-08d56253ed08 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BLUPR03MB472; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB472; 3:5hE/ePtr97q+1FX33duHt+hX1YYDmrAHbtqqxeE26bQ51Fy9BlWHlpgsUx+H12+IgLaRhzEBOtCgxpAI9Xzhb4OEW5Q3HkGHNKa+ezJ+PWgQ3KrWG/nJjvc+tm3iVwWLxlo6WIyIuf0YIRViMxBs9KkLUNMupLa93tZ1zZ1vqaXW885TF7/usGIf3m2ITruWaB5QrmjhwmYMCjeGK3n5SCzc6Z7E6pPOV59jUO7jIXQy17n0jL/LPtEjsoyCtYGb824RmdzM2frk7KD3T2vP0WcjrIV7BAjLk3cQeGo2rSWNFVmCP4Wz3wIX4nMH0AWzMp/HAfv63ydws8DHVzJEoa99L5xbFG91vuYWAotwl54=; 25:ilZ8gFroDft1nqSaCzmra0NJi+HDj0GkLfYd6HnRE8j5N6w+oiOtYGyVrHeowwRjMZbyOlD3XYUHqFwvIy4AhJ01vXuJG70F+g7x9XBcRsV9jVF3HHGbglEX9wTkKRVNEdgAxTWlVxIMxBQFHdz5WipoKw+p1F5yNRMMKewaOJ1ZubNpBIv4z1IQX0cZri9IVS/E7L4MjzehldCJCgk6vqFwvl9VWyDjy3kiS6GgzukAS1A/i5Wj9levKO9T8Ea1ybSTLeDO6lhc55uZ+O9strfegUofKM2gybBtX7GeFgs1dG12FHFqJkF3O7qFTzMYkfMiD8guBzt6yhAMV4v3Jw== X-MS-TrafficTypeDiagnostic: BLUPR03MB472: X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB472; 31:TXl3QELPTYKWtd8C8Lu6vJk8o7rEk5GcUmDWEfjcWPNa+H3w5o7alS7DuhQfd+3SFpC15cfTUgy3/1ErwOeRPYZhs08cxLW5rTxhQRccL03bv+e6naf52pdcx1IsNmPaYzYJTEfCW2TqDRdqDt9WbU8HBdOsBF3iwH9DvelbxQNc3zTowY7+sNkgwPA/zidWOoD6bcTDIyF8hASEYMNnlO7IqGL0j0fdBgRSMluuXWw=; 4:ZsKstNFhod8FD9jeLg5WdlsMXpvYr1l7D77R/TZSCwmHffVmKtpUH197e6mUv9Tu1zB8lPOMADkMszhVlk1AJz+G3smZL/HAj41jrvFhkDEiSM+A0ucMp04sfSwHeHAyQmS7hr2ycrxejfspy6LIcNgOdcgLsWPFuM4GmIwqJCOG6dbAcjuObqs/CWdyblGaejkBoIWgQXwk7pHKdriLcJYBo32CJsOYnmBggkBth4K0ZbedbfmgHxS/ZMFAMtiPre5iQPk5Xt/pe9hBiJ1AZnAKDFPbWxgksdqG8E5yGAubD3suTCw8znCkb482HJ6h X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231023)(2400081)(944501161)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123559100)(20161123565025)(20161123561025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(201708071742011); SRVR:BLUPR03MB472; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BLUPR03MB472; X-Forefront-PRVS: 05610E64EE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB472; 23:yxSPLejtindS6Pgvvvs7DqRDq5ebO57Pomwld5Tiz8?= =?us-ascii?Q?ztg8BX7Kal8YlkUhG+7L36uLIfTrBYoFHZ4Va5mGVw8Po4ydcYvcRv2Ocrjb?= =?us-ascii?Q?I4DE2d1p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C5YxwF/J37KFIIXeA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2018 11:24:51.4197 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88b89df9-40d7-42b9-3c46-08d56253ed08 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB472 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ARM power domain does NOT support runtime off, always-on flag should be set to avoid incorrect power state in pm_genpd_summary: Before: root@imx6qpdlsolox:~# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status slaves /device runtime status ---------------------------------------------------------------------- ARM off-0 After: root@imx6qpdlsolox:~# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status slaves /device runtime status ---------------------------------------------------------------------- ARM on Signed-off-by: Anson Huang Reviewed-by: Lucas Stach Acked-by: Dong Aisheng --- drivers/soc/imx/gpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 53f7275..6cafa9b 100644 --- a/drivers/soc/imx/gpc.c +++ b/drivers/soc/imx/gpc.c @@ -254,6 +254,7 @@ static struct imx_pm_domain imx_gpc_domains[] = { { .base = { .name = "ARM", + .flags = GENPD_FLAG_ALWAYS_ON, }, }, { .base = {