Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2139584imm; Mon, 28 May 2018 02:24:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq4MCowyjoWdrt5yUAMkZ/rtHMqwi8Ox5nDLfDr7FqIjmw+W+n7OFQCYDKrzmV/DUFMzV9w X-Received: by 2002:a17:902:5602:: with SMTP id h2-v6mr13109075pli.115.1527499469313; Mon, 28 May 2018 02:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527499469; cv=none; d=google.com; s=arc-20160816; b=DGohoYUD5IxPMPYBlHxsyLPrpgHRQIxDmjgOPMNZBuQj/pKPXUl2vA4JxVzjbSTh9u pixc6XZM69gjdd41uvFhXIK6s/2EpwMbq8b7O2SBYLO7tgLP+1qAXTuAQOnk74vaVrTB oQM2qhitb7UkHeNuHqbgNObeWQcZq9PkM46txh2i2maEu80jHDjQpWvMMVVg8rVDjtQv 1T5b1E2rdoErxgP+ZJ9xc2qmsnIp+EHeRevXKnnwcCt9Db7xtQPW5N80qfKPzZOuHYTk dpr4/HvLrOCAWXE7qB1O/VwoMgArjwUFoRjJ7oQ8MwcSyfRGmJDP9hmnlXjyZuv585GR SHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=7mOsYEVhbmi3Z1ysTiWxh5B17uwnfv7sU5DOILem+Zg=; b=uhdt9DVmNtv7eYml8oZ7PAoJadt9ij27waR5f1CHiUtDSWqHkiWVbpzkILSpJTysLw Rg7pGWXMpvwLnaeIDR9VqrYv3gT2KUOxBwhZFzjcyAdv/+Ui8Ki0Ioo3OBWufmRd4AZD bDDg7fWil8Z5iWdpZOZTyj6rOjGygmninrN2XR9rsyGlKHY/8ONCB+2eGSYGzwkI2T/g 7nQbXNdsIfW/KyZgTF4NrxbE0ZzoFBOY9RqXpjjzFaWPytTpjrD5UVWTRTHVihbxHETo j1wSyhopDamEJuCqRcV9rrhe6qnaC8fhUX0xtcFafz6AzgY8KIaiwGGjpseteVDCJisd cm8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=TZosxsp2; 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 x12-v6si29257168pln.97.2018.05.28.02.24.14; Mon, 28 May 2018 02:24:29 -0700 (PDT) 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=fail header.i=@verge.net.au header.s=mail header.b=TZosxsp2; 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 S1754194AbeE1JXi (ORCPT + 99 others); Mon, 28 May 2018 05:23:38 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:56496 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754090AbeE1JXg (ORCPT ); Mon, 28 May 2018 05:23:36 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 3A16825B7C5; Mon, 28 May 2018 19:23:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1527499414; bh=ziviG2WLW1wpKmiTvvOgQgVxCKhT2sXPo1YQlzMC9bI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TZosxsp2T5e8DvnQ3AjpQJ8AzT67FKi7pnTdTy3i7XnJr5hDfV7RC0pxHntMdGZwq 77rD9hu2mws8yQBETQHAQCIVAyR/W89GDcs5EL4qqlxpsSJtRmSQ4P0f+VRh0qWWyO 9XU4uUHf9Qc8UxZooc8GlCohzVV2FzNRZT/apEmQ= Received: by reginn.horms.nl (Postfix, from userid 7100) id 1420D94053F; Mon, 28 May 2018 11:23:32 +0200 (CEST) Date: Mon, 28 May 2018 11:23:32 +0200 From: Simon Horman To: Viresh Kumar Cc: arm@kernel.org, Magnus Damm , Rob Herring , Mark Rutland , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das Subject: Re: [PATCH 13/15] arm: dts: r8a7743: Add missing OPP properties for CPUs Message-ID: <20180528092331.3jon45nsqfdzs5ds@verge.net.au> References: <5821a6dbe413b5a217ca1e24ddf8ebfa63ba6ef0.1527244201.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5821a6dbe413b5a217ca1e24ddf8ebfa63ba6ef0.1527244201.git.viresh.kumar@linaro.org> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Cc Biju Das] On Fri, May 25, 2018 at 04:01:59PM +0530, Viresh Kumar wrote: > The OPP properties, like "operating-points", should either be present > for all the CPUs of a cluster or none. If these are present only for a > subset of CPUs of a cluster then things will start falling apart as soon > as the CPUs are brought online in a different order. For example, this > will happen because the operating system looks for such properties in > the CPU node it is trying to bring up, so that it can create an OPP > table. > > Add such missing properties. > > Fix other missing property (clock latency) as well to make it all > work. > > Signed-off-by: Viresh Kumar Thanks, this looks good to me and it looks like it should have: Fixes: 0417814ea140 ("ARM: dts: r8a7743: Add OPP table for frequency scaling") Biju, as the author of the above patch could you take a look over this fix? > --- > arch/arm/boot/dts/r8a7743.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi > index 142949d7066f..e4fb31c4f0ee 100644 > --- a/arch/arm/boot/dts/r8a7743.dtsi > +++ b/arch/arm/boot/dts/r8a7743.dtsi > @@ -98,8 +98,17 @@ > reg = <1>; > clock-frequency = <1500000000>; > clocks = <&cpg CPG_CORE R8A7743_CLK_Z>; > + clock-latency = <300000>; /* 300 us */ > power-domains = <&sysc R8A7743_PD_CA15_CPU1>; > next-level-cache = <&L2_CA15>; > + > + /* kHz - uV - OPPs unknown yet */ > + operating-points = <1500000 1000000>, > + <1312500 1000000>, > + <1125000 1000000>, > + < 937500 1000000>, > + < 750000 1000000>, > + < 375000 1000000>; > }; > > L2_CA15: cache-controller-0 { > -- > 2.15.0.194.g9af6a3dea062 >