Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp321983ybl; Thu, 12 Dec 2019 19:09:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyRoR77CaALsMtc/GDvGRhawn4Jz6uH5xwW7/3KaaIK4cqB8shEpC+sv7QINmooO1Vsl38J X-Received: by 2002:a05:6830:1608:: with SMTP id g8mr11521140otr.169.1576206541965; Thu, 12 Dec 2019 19:09:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576206541; cv=none; d=google.com; s=arc-20160816; b=BbSswWJTQ1csxuvd8sku0sN5L7B4it0ZhexEA8LKqsKsKlVR4vQ5REXhKOLq0pOp/p K37PR3h7UvMi38pkts/X0hfukJ79fhgdKAiPPAfcmnlW0hvekKj9COE1K7g/FwiQtmMM ZU8eOxSsZTB0PjbeSIDehFtkFYY+v8K5Q3xtYzPiTeilcKi3Ngy9xwL3z1s0Yw0eLR/I WfjWppt1gq2dw3TZw7hJ5q5ToDvvaFe40pXxFwPkwrSWcEuHMIk4auop9A3moKoKWX8J ygcWN0Nyo4s2D+4/4MlsP5in8mR+2WQEoJRub9u6nrft7DCIM5siBcR2Ziwvs8irXtW8 fIFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:cc:from:to :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=B2myVSHiBgD+tP5eA/RmKnEr2+6OAFQzagNbd6PK1yQ=; b=PimdTgrXpZQyLDSf5BtEmH9v/936eNU5u4WeJFXyYzOIVSGw77/VGM1j8nLRkbqLfx pcH9nfK+iI19gpQwzkOToiu4WUxURuQ69HMNs+77gZgH7+lKAOO+fW9+tSRB7LPIvUSu Tc33qtP8isb2/iGYy7VsgCoxQxNZ0VhE2LNioI73rzdBeMD3XetW3KcILpvwrFN8DQhc 3H7RRsQNZCI5lkMJeP2baJ2RAgUrqSpYK+M6h23L3o3xK2Ah2c3XS1QKcHVW59R7OlqQ Fay0CE5bec6haYnuH6Nxts89EYiS0Rb3Ln5RJYkVvwozvuyluK8f/aIyTdiqCvO8ln97 gIIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DnGwVAEl; 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 z23si4441345otm.284.2019.12.12.19.08.50; Thu, 12 Dec 2019 19:09:01 -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=DnGwVAEl; 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 S1731847AbfLMC7V (ORCPT + 99 others); Thu, 12 Dec 2019 21:59:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:40448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731465AbfLMC7U (ORCPT ); Thu, 12 Dec 2019 21:59:20 -0500 Received: from kernel.org (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 C83A02253D; Fri, 13 Dec 2019 02:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576205959; bh=RH3Pptee/5aoHYQ4RNVUdCSN4XCmcGNcg+JaAX4xUW0=; h=In-Reply-To:References:Subject:To:From:Cc:Date:From; b=DnGwVAEll/LFXIy4YypUwzLAccpIARE9XytX1h62/9Jv64FK7FB6m8pXi41WYF5+d 0Pq/qaEpUp8GA06zT+ttkYfl8hmLHDSME8TBxRKwb6iMCs1hghYSkJ0QjCb5ch4kXX OCK3+Qa4UslrRzfFJxViyij/DLYGq+0OyUV8c88c= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20191126153437.11808-1-georgi.djakov@linaro.org> References: <20191126153437.11808-1-georgi.djakov@linaro.org> Subject: Re: [PATCH] clk: qcom: gcc-sdm845: Add missing flag to votable GDSCs To: Georgi Djakov , bjorn.andersson@linaro.org, robdclark@gmail.com From: Stephen Boyd Cc: mturquette@baylibre.com, agross@kernel.org, tdas@codeaurora.org, anischal@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org User-Agent: alot/0.8.1 Date: Thu, 12 Dec 2019 18:59:18 -0800 Message-Id: <20191213025919.C83A02253D@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Georgi Djakov (2019-11-26 07:34:37) > On sdm845 devices, during boot we see the following warnings (unless we > have added 'pd_ignore_unused' to the kernel command line): > hlos1_vote_mmnoc_mmu_tbu_sf_gdsc status stuck at 'on' > hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc status stuck at 'on' > hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc status stuck at 'on' > hlos1_vote_aggre_noc_mmu_tbu2_gdsc status stuck at 'on' > hlos1_vote_aggre_noc_mmu_tbu1_gdsc status stuck at 'on' > hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc status stuck at 'on' > hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc status stuck at 'on' >=20 > As the name of these GDSCs suggests, they are "votable" and in downstream > DT, they all have the property "qcom,no-status-check-on-disable", which > means that we should not poll the status bit when we disable them. >=20 > Luckily the VOTABLE flag already exists and it does exactly what we need, > so let's make use of it to make the warnings disappear. >=20 > Fixes: 06391eddb60a ("clk: qcom: Add Global Clock controller (GCC) driver= for SDM845") > Reported-by: Rob Clark > Signed-off-by: Georgi Djakov Taniya, can you ack/review this change?