Received: by 10.213.65.68 with SMTP id h4csp242859imn; Fri, 23 Mar 2018 03:45:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELsge5bi3jxn8EP4S7La871XlYQEsat8Dd8/N0rN8S5PDNygbnm3Coq1XQu1o7WgU3+gIhTk X-Received: by 2002:a17:902:6bc3:: with SMTP id m3-v6mr21745033plt.363.1521801908790; Fri, 23 Mar 2018 03:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521801908; cv=none; d=google.com; s=arc-20160816; b=E8DlA6fcelmV1pvCH8JvgPixDo+U+eoeV7jHmalplO9LfdKP8sm9Q2fFOUzDAoBuss 3MF/jD2FP3le+OWhzH/AkStRMSGCf7iyDbvpWIK5pUQ7JsKanAiycH1CUNg9jS6LH/Hm 28JM4FAoH2tWR4ztHqNy/6cbnpNuPIajghtz0DmHeDyA5hw1id8vg5SYrKxRceVh8ISU FC1p4+/d4q7mWvOFRJbsA4PUfw0SbFjR67R/LCCzw4hpqYYsnfyeTfsaKtPmHu9iRGcg c5tGPe3032J8k66NrWPVaJiluuqMuHmU/0khbQlaVFNEKtale547LL3/NHuD5T1wzpST qCPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=I+SJ8UOrn9sFA/AIaUEExHUMr1poAMZE8mPdHei18Xg=; b=Ojp0T5ZK2ZZWwayIbQWlzwsY7XVlPOCoHlfgGfWxyjPmN52p6rjfSHVFpk9mu/Laqe WTOMrnXeaHx/Vx207pSKQ9KZBgjIa/HeLqpeX467HFK0hInFkcevCV9kcUxj0bDjYTnD O/kx4YIJxD8YFQJljTDlCUeh1UboBLpwCu07WpdIGbgK8NDMH8E6uZfM07SmcpPpVPwe uzZC4PmleGYtUbHIeWUtV1e7KJleASxHbi8DjVZdOr1IlrLbfaBNVhnXj3/o3u02T6IE X98V3yiuazJ83rLPSsH8hXoG2r1yR9HsPver7oevuwHlNT5YfgVlYWCdF5bTXwOzrbM0 lArA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12-v6si8125696pls.74.2018.03.23.03.44.54; Fri, 23 Mar 2018 03:45:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbeCWKoF (ORCPT + 99 others); Fri, 23 Mar 2018 06:44:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46526 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933564AbeCWKP6 (ORCPT ); Fri, 23 Mar 2018 06:15:58 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 76D7ABFF; Fri, 23 Mar 2018 10:15:57 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tony Lindgren , Kishon Vijay Abraham I , Bjorn Helgaas , Sasha Levin Subject: [PATCH 4.4 56/97] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP Date: Fri, 23 Mar 2018 10:54:43 +0100 Message-Id: <20180323094200.787374788@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180323094157.535925724@linuxfoundation.org> References: <20180323094157.535925724@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kishon Vijay Abraham I [ Upstream commit 2c949ce38f4e81d7487f165fa3b8f77d74a2a6c4 ] The PCIe programming sequence in TRM suggests CLKSTCTRL of PCIe should be set to SW_WKUP. There are no issues when CLKSTCTRL is set to HW_AUTO in RC mode. However in EP mode, the host system is not able to access the MEMSPACE and setting the CLKSTCTRL to SW_WKUP fixes it. Acked-by: Tony Lindgren Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Bjorn Helgaas Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-omap2/clockdomains7xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/mach-omap2/clockdomains7xx_data.c +++ b/arch/arm/mach-omap2/clockdomains7xx_data.c @@ -524,7 +524,7 @@ static struct clockdomain pcie_7xx_clkdm .dep_bit = DRA7XX_PCIE_STATDEP_SHIFT, .wkdep_srcs = pcie_wkup_sleep_deps, .sleepdep_srcs = pcie_wkup_sleep_deps, - .flags = CLKDM_CAN_HWSUP_SWSUP, + .flags = CLKDM_CAN_SWSUP, }; static struct clockdomain atl_7xx_clkdm = {