Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3139355imu; Thu, 29 Nov 2018 16:27:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/UreX/k6h/znWLVXFbs3gj3u/GzINr0i/6Yg2cvS8OOFsKAKQcFCh1FdV0z1+nh4S/nVBS5 X-Received: by 2002:a17:902:bf03:: with SMTP id bi3mr3580773plb.83.1543537642243; Thu, 29 Nov 2018 16:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543537642; cv=none; d=google.com; s=arc-20160816; b=qA57zqf0dMZVchZRtPvH9mWpezOYRaJWRE+n9Eu5upfnW4Ij1ZmQAzqeXeI1pKLTmO bJn/xrkmUYxFhxhkA4S+YXWQ+U3WwsFL1l+fzbR74mJYzInJlXN0idLIjH5c7v/zVdjz AZgsN5k8YlnzpKZmaDmncg/bUnlX6nxnWixpEuoefVwtJY0TZTsAcYSXY0SJB+9UAg5O WfLiVv7bRhcte1zyXnFUGlT2ylvQOcniO4KOHacMbD8g2L/QHlAxLTYH4dCIZxEtdq1D +tDiDXg1dEhdAiT+juf49TLj/XiJyjh5Kja2YUsXtOnxpQsFPtM0AYgcvMTYpJ/A3ffZ Hq6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=+Q7twPuT2a1YMWUiciED1ctTBmPbfRoP7E/Mt8k1r7M=; b=LkwLuhFfqiDye3v1v2igNFhCpwOCFEGGccgbR3IiOpk2l1g6YfrwxDOkJ+iR1dVTHp 1yK+uuQG+zshYCqBeLr4sqr/NDQa1JhgXVrarZTB+JEVdtaMvYujMs1OkkjVpRRPiIr8 OpHlIjUWfYfx28r0IfCWK8uAbaH2gloEOl7kDYd7el1TfvPDc2zSOQh0AhAmYSkop7aN iuVDGpg5x+dO/t5XWuX3dB7ePYxV3YoqslIjURygwBY7FucdZVscWNxE67CIN0s008EQ rjaYUBA9oQykpIVrDyDN5x0CRxTDjyswLG2tus60WWWLhwzL75Kq8RXEr24Qn5BgSaXc IPcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bCILhuB9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m188si3866452pfb.266.2018.11.29.16.27.07; Thu, 29 Nov 2018 16:27:22 -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=@kernel.org header.s=default header.b=bCILhuB9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727177AbeK3Ldg (ORCPT + 99 others); Fri, 30 Nov 2018 06:33:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:42864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeK3Ldg (ORCPT ); Fri, 30 Nov 2018 06:33:36 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E34AD20834; Fri, 30 Nov 2018 00:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543537574; bh=+Q7twPuT2a1YMWUiciED1ctTBmPbfRoP7E/Mt8k1r7M=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=bCILhuB9VzFUS2hhU8LL6drVnBr/x+XwLKWUOv5e6T+CEfmFO1tRdHCsDAon+DMLs iID2hXhbbyOsA/EVnI6StNlI75ogO67oIrUvU+sr42hbAj9Xpg5cJhKcmMi4ZDYelj F9FJSokYA28gKDMQ/TURwtYH7P2dZgZjJI9qtIv0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Andreas Kemnade , bcousson@baylibre.com, letux-kernel@openphoenux.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, mturquette@baylibre.com, paul@pwsan.com, t-kristo@ti.com, tony@atomide.com From: Stephen Boyd In-Reply-To: <20181110203115.13335-1-andreas@kemnade.info> Cc: Andreas Kemnade References: <20181110203115.13335-1-andreas@kemnade.info> Message-ID: <154353757335.88331.5161306764126530976@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v2 0/3] mach-omap2: handle autoidle denial Date: Thu, 29 Nov 2018 16:26:13 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Andreas Kemnade (2018-11-10 12:31:12) > On the gta04 with a dm3730 omap_hdq does not work properly when the > device enters lower power states. Idling uart1 and 2 is enough > to show up that problem, if there are no other things enabled. > Further research reveals that hdq iclk must not be turned off during > transfers, also according to the TRM. That fact is also correctly describ= ed > in the flags but the code to handle that is incomplete. > = > To handle multiple users of a single ick, autoidle is disabled > when a user of that ick requires that (has the OCPIF_SWSUP_IDLE)) > = > Changes since v1: > - uses spinlocks instead of mutexes > - invert counter logic > - check whether clock type is basic > = I'm expecting someone like Tero or Tony to review this.