Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3448916imu; Thu, 29 Nov 2018 23:59:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/WhAr4KJecutGOYyip3qJGlTpIClFAhz8GYDk6HXYYgPCsgbXRDzSDnOcpj99sAUKnWiiZ4 X-Received: by 2002:a62:442:: with SMTP id 63mr4547013pfe.156.1543564798591; Thu, 29 Nov 2018 23:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543564798; cv=none; d=google.com; s=arc-20160816; b=nuAkf42s/WEf3Dwzadd1V7Ow3+AMhQAWqyWbcjK/1a4ilAaH4nKoFsooKD0o+T0d0W REMoR1MtxDWp61AtHHgnop7Zu2U2p40cJ5wym2boUf7bucrJ5TGVmvTkrvL734ANMvC+ 8l4EfwkwqAN+857XXbi8Fcj+Aa36g8dkMBdkFUbSNuuPMq5BQeQkc9FAH2j9FhcbpIVx 1hg48slICibtRrmF7sjHHoAkqulaQS+h/LhbRwfc+W8EgSRlcYoeku9gHNFtkZknIZmX rpa7o4gM8Du3YyCbroo8IFouC3s1ifGpJ+RX9vRbte5tTjAovtFCiWveQt/0AFDnRKk5 jdZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:message-id:in-reply-to :references:to:user-agent:from:content-transfer-encoding :mime-version:dkim-signature; bh=d4zuB6bK9q8J6HeMbjSu2I2mFc+Nq0vACLZJZRCZAK8=; b=udrGrE0qb+8xBU/xPnHkfm4Fy3EPd7pYi9x/OZsrSZj/WU/XqLxwbQgjVKs0yD2Hpj TmyvAev3mVC8na71w0z6joa4ZVirk4JCMF7Ww5+WhV9jPwsMoQ0B+4u05nv8NxkQMx4z v5f0sMM288mEVW32uZDoCs+hohqu4Ent5qfc0ZRF6kqP1RDbT+CFQfpi00gMNJA0kn0p tFPx0Ff4CZgu0dewQahfTog6ZQdOe3KdwC2V0JCl5qw6xbM7papBu4Q5oUL0Bp2dD9Zm G/oouGaTIefzo2Rn6jHKe7jawW/hivHaGBFMKaGC464wY6GKahDEtBgt2OWI9DxQeLHm 4uxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eoJfzb8B; 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 x18si4459355pfm.39.2018.11.29.23.59.43; Thu, 29 Nov 2018 23:59:58 -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=eoJfzb8B; 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 S1727020AbeK3TGM (ORCPT + 99 others); Fri, 30 Nov 2018 14:06:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:35982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726572AbeK3TGM (ORCPT ); Fri, 30 Nov 2018 14:06:12 -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 267C72146D; Fri, 30 Nov 2018 07:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543564666; bh=d4zuB6bK9q8J6HeMbjSu2I2mFc+Nq0vACLZJZRCZAK8=; h=From:To:References:In-Reply-To:Subject:Date:From; b=eoJfzb8Bv0EjVgQwacNfuE/QhnFHlFiJdW1F403MSVEr1yKPfLDs142X3KjalAD8f SHII9DV9boB+fG0WZHgBdvCCq6TfrkbeVsAqkFEe3ZXUlK6xNzyKMccIzybhpTj4Oj gycc6v487u9p+jrdO4V1xeWHRX6O8ku3E2Attfmg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Stephen Boyd User-Agent: alot/0.7 To: Andreas Kemnade , Tero Kristo , 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, tony@atomide.com References: <20181110203115.13335-1-andreas@kemnade.info> <154353757335.88331.5161306764126530976@swboyd.mtv.corp.google.com> <6c450d4f-8dbf-5122-edcc-3ac17e295bbe@ti.com> In-Reply-To: <6c450d4f-8dbf-5122-edcc-3ac17e295bbe@ti.com> Message-ID: <154356466554.88331.3614998218425782290@swboyd.mtv.corp.google.com> Subject: Re: [PATCH v2 0/3] mach-omap2: handle autoidle denial Date: Thu, 29 Nov 2018 23:57:45 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Tero Kristo (2018-11-29 23:37:35) > On 30/11/2018 02:26, Stephen Boyd wrote: > > 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 desc= ribed > >> 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. > > = > = > Rest of it looks fine to me, except for the discussion under the = > CLK_IS_BASIC flag, which might trigger a bigger rework of the code. > = Is that a Reviewed-by tag?