From patchwork Thu Mar 8 04:59:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 130947 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp6080880lja; Wed, 7 Mar 2018 22:06:15 -0800 (PST) X-Google-Smtp-Source: AG47ELt9igQuBhFrvYznnGCgE8XytQVtbiv1eHHg30/cDSFo/ycjT6XcrYNmF5B7ppWmpFHAwopc X-Received: by 2002:a17:902:14e:: with SMTP id 72-v6mr23187146plb.280.1520489175055; Wed, 07 Mar 2018 22:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520489175; cv=none; d=google.com; s=arc-20160816; b=ffhaw0fq2wPKKi+m/zAT9QqSySZlvAEoOv+dFldcinLWrNi7k35rV49qvQ6XRHIZS8 kfUgIj5OBRpDp0wpvVvMKAbVVtFivlLV51OAjBAXULGqpakUDVOtyvCy0eCYxeW71ylL 4bMnEETytIMWxhH+jhhlYuNyIKCB1rMq/O45riq447dZERUbMEvs8bnO8ApvaV9SFtYO JflcL1fsmVmCzGAZsMwT7Ts1lJIfdrlZRRyynsMsceHGGd7E5Qt6kJRETGQxmZTw/JiO wwHUzKqRtpMFNvoglh7G4vAoMak3Rc+rRKH7FcgcbPQI4ZltyxSVR6RgyjVo3USGJcc3 iR7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticoutput:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=AsnLLMMAAJ2LALJIl6ONIg9MpW25rnCw9O9nWT9ShN4=; b=DNeoqUf83gsL5f/w5R8YE7kG/JMF1Dw6WWhx1Hi9Q+beoYwa5wTEg1kJRyHbdIskFx vBWfNaRJ8/orGZ3eE0pWoeudpaO0J0ZY1C4pdDW/qPyd5gZkOidgH9DkgPyrvBz1zC08 iCL+oHNayhC0E9ugqCKJQYi3V0fc+VQx0LBoNptk4bRUk45C1f2sxEHH3Igna3aIwxlA q3SbGAP5K1v65OdHIJGlaCRNL4XwDEuSvDj1zuWA5LYMoC09tmCfv9vENErNUsc1Y7EU vvtAiVZPU9z+5EBKXRtuuooOxpvRCYhyM0f0kNtSYtPn3Q2DOrTbxB7hs7qc4TmgBrty ddMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=OUEnEhgo; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v20si12627397pgc.137.2018.03.07.22.06.14; Wed, 07 Mar 2018 22:06:15 -0800 (PST) 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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=OUEnEhgo; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935547AbeCHGF5 (ORCPT + 28 others); Thu, 8 Mar 2018 01:05:57 -0500 Received: from mail-by2nam03hn0237.outbound.protection.outlook.com ([104.47.42.237]:45201 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965828AbeCHFCS (ORCPT ); Thu, 8 Mar 2018 00:02:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AsnLLMMAAJ2LALJIl6ONIg9MpW25rnCw9O9nWT9ShN4=; b=OUEnEhgoKjJ1jZVsFjqsYFliXc14Ag4pxPQPVVe6qAXwRRiu2KN0p49iteK19d1RJAk5rav2FVFjD727GF8auj4kolJ6qln0miBi6kpFKMFZ5+w+RBVE8lfl81OgDxtPWvZ5pznaCoMb+YNabtZX0PCPTomJfBa/9VnLjx+Nrdk= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0997.namprd21.prod.outlook.com (52.132.133.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.7; Thu, 8 Mar 2018 05:02:16 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446%2]) with mapi id 15.20.0588.008; Thu, 8 Mar 2018 05:02:15 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Kishon Vijay Abraham I , Bjorn Helgaas , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 111/190] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP Thread-Topic: [PATCH AUTOSEL for 4.9 111/190] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP Thread-Index: AQHTtppEYDzD7KyG40yBwQfQAY5T+Q== Date: Thu, 8 Mar 2018 04:59:40 +0000 Message-ID: <20180308045810.8041-111-alexander.levin@microsoft.com> References: <20180308045810.8041-1-alexander.levin@microsoft.com> In-Reply-To: <20180308045810.8041-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0997; 7:57QNsdslNw0cGjQaBD2hELAgEnfRFuLWOvuqvjTfEUPlVnNC2istbtwnndl7q5XiZgxn/9AqSRGYRI5qaoBLMThLQ94VWp9FznGWLRS5ihAN3Z0vbaMMG+vpTgtCNaR9PEf3UbDwxMg3hffEBfiuYEQyKD2bKW5L8rRl62RuPkRoUbM5w38HiQmWKkYwtOTmObwM6wJWSQNVNaZRgg6aPjkh+EoWXRtltQ0MtYvPFqrjiAWkTtej7TxIB6R7xfLE; 20:PL8tar37q3HxSNt/0T/nDyXoSFSc6UF+iZmmTC5nxdxlJV8vqDjOgsCACh9JlUn2m8zfX+7+Ao4FP8+m49/3jB6TzOgUsLZd8TCZaydLMrPzJH9bIBg06phZSLZeIi2dEJZQDJXVn8jIW8ie9z9Hltr7ms4DGP+aUA2rMEqNkdA= x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c69f0322-ba22-4190-eda3-08d584b1c317 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:DM5PR2101MB0997; x-ms-traffictypediagnostic: DM5PR2101MB0997: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(31051911155226)(89211679590171)(211936372134217)(153496737603132); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231220)(944501244)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:DM5PR2101MB0997; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0997; x-forefront-prvs: 060503E79B x-forefront-antispam-report: SFV:SPM; SFS:(10019020)(396003)(39380400002)(39860400002)(376002)(366004)(346002)(189003)(199004)(97736004)(54906003)(76176011)(2900100001)(106356001)(99286004)(110136005)(316002)(3280700002)(22452003)(10290500003)(105586002)(36756003)(25786009)(72206003)(66066001)(3846002)(6116002)(3660700001)(4326008)(14454004)(1076002)(478600001)(2906002)(10090500001)(5250100002)(6486002)(86362001)(5660300001)(186003)(305945005)(8936002)(81166006)(2501003)(26005)(2950100002)(107886003)(81156014)(6512007)(86612001)(6666003)(8676002)(102836004)(6506007)(53936002)(59450400001)(68736007)(7736002)(6436002)(22906009)(121003001)(133343001)(217873001); DIR:OUT; SFP:1501; SCL:5; SRVR:DM5PR2101MB0997; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: w14kWnyrppQEuBvedCekL+h6CeCWiap1B+w2Tg6D4DhEA86NZsIv4fmfVB3bMP4R3xlIx/g2U26TdRlpzPNE2R6CG+8P+GT6xklZaRAVmDmVJ6vLBIrDVluCEud1ykdXCMMy6cb7do3+WBBbtgwfB/+7xOazG3yhbuF4rmumkDFWV8u+vaOaz+7OsotMuvpvXNX0mNnu267zyDqX+gX0Hyt4ZFsfQIyQDzUzMU9LO8DkzZPKlmi8Wr16xcZBNIachanEqBQ4LP07IFpfn0Tm5s4gM9icekSNRAW7eTf92+AGUqUJgAMqhk0Szu+n1paVTkG7TUFbZrpv4oDt1usTFvqzAAyupdwdOAncQleKPFP4MzlgX4JIpEI+cH35VnHWalgQmAFBS7k5gTbsykHCIw== spamdiagnosticoutput: 1:22 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: c69f0322-ba22-4190-eda3-08d584b1c317 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2018 04:59:40.8128 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0997 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/mach-omap2/clockdomains7xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 diff --git a/arch/arm/mach-omap2/clockdomains7xx_data.c b/arch/arm/mach-omap2/clockdomains7xx_data.c index ef9ed36e8a61..e3416b40e82b 100644 --- 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 = {