Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3283616imu; Fri, 18 Jan 2019 07:50:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN5z9xRXQrai+kI2rohlqSuhlFz+3lGi0QcfiEJBZ0m0hqmau8lMvBIr3DurifS6A3duWdAN X-Received: by 2002:a63:d252:: with SMTP id t18mr18293365pgi.133.1547826642748; Fri, 18 Jan 2019 07:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547826642; cv=none; d=google.com; s=arc-20160816; b=ned5nadSTJn5TPcRfM0rlYGU2A7Y28ENGsIJz4da0iTOXdeGo18OaDiB7eWIbC1VBK 1Lfy288+a+7VHSVIuy9fCwxucjiDnbqB26vO0Bcyz58LoTZbYxkzdL+ortqB3OhZTH11 9S/DGZU62p5A5G5rdxYqjsVyjJZ80beWjR5W2Xg34XtziyM90EXMAsLFhkWCoDM2WT7W xVBgD3Y8KAXxcyzsMBYl/rEaZsGfxvZxUmrQEO98rCCq7FOR1zlfmnm+8VBJgHyqBfoa MAYJvF/GhHJqZbzC63xAWvvscPlzM7RIqaN9jFFZnm9y3PnyksSB8dHQFxE6F2wpTBht BnpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AwgOzDZGhh/tTS/W5P0fXvvsLR3wYf7WPi4vgnWbFdM=; b=PWgx+nbpCZDlgkysEFr8C9227mKuF19Hp1vUlJclUQuNGmNoN96jgA+OP/lkSAWE0l 6NQLRxkjvdAzTKekHHQHd+0t3W4FCU++WVwFrm0jMhd/5ffg8q2e0uuMASOUwliu+mnf Yc7p0fEXusrCm3jfcrH7mBo1lXZGRZY1rBDLeJOS92YO/sLHSGZFwUVmdsqywKOMVucV yQ/YJc9Ek7mCC5NHWGXkjxZ/35ZSB6HcARq8ByoSX9rJX1xJoeG3Nr1RFVALUnZywyxk 2qOsUJgn0JzOipcB4+KefDkL6v7DSFEHU4eT5lYLNyFUxJj0cxKs1/5V9q/TDwIlsmTz N72w== 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 d14si3009436pgi.158.2019.01.18.07.50.27; Fri, 18 Jan 2019 07:50:42 -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; 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 S1727686AbfARPsL (ORCPT + 99 others); Fri, 18 Jan 2019 10:48:11 -0500 Received: from muru.com ([72.249.23.125]:34200 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbfARPsL (ORCPT ); Fri, 18 Jan 2019 10:48:11 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 725648047; Fri, 18 Jan 2019 15:48:17 +0000 (UTC) Date: Fri, 18 Jan 2019 07:48:07 -0800 From: Tony Lindgren To: Andreas Kemnade Cc: t-kristo@ti.com, mturquette@baylibre.com, sboyd@kernel.org, linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, bcousson@baylibre.com, paul@pwsan.com, letux-kernel@openphoenux.org Subject: Re: [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that Message-ID: <20190118154807.GV5544@atomide.com> References: <20190116220429.9136-1-andreas@kemnade.info> <20190116220429.9136-4-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190116220429.9136-4-andreas@kemnade.info> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Andreas Kemnade [190116 22:04]: > Deny autoidle for hwmods with the OCPIF_SWSUP_IDLE flag, > that makes hwmods working properly which cannot handle > autoidle properly in lower power states. Sorry if I'm still missing something :) But doesn't this now block autoidle for all modules with OCPIF_SWSUP_IDLE even if they work just fine with autoidle? I think what you want to do is keep clocks enabled while in use? If so, how about using HWMOD_CLKDM_NOAUTO: "HWMOD_CLKDM_NOAUTO: Allows the hwmod's clockdomain to be prevented from entering HW_AUTO while hwmod is active." > Affected is e. g. the omap_hdq. Have you already tried what happens if you just tag omap_hdq with HWMOD_CLKDM_NOAUTO? Regards, Tony