Received: by 10.223.176.5 with SMTP id f5csp2698602wra; Thu, 1 Feb 2018 04:47:53 -0800 (PST) X-Google-Smtp-Source: AH8x224FKtoGj3jJxGNidnTQ38A+SalCGogdjITqt08nkw0+w7LmFseBntrbVi8E7HU5JJkVRFDJ X-Received: by 10.98.147.29 with SMTP id b29mr32474014pfe.229.1517489273547; Thu, 01 Feb 2018 04:47:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517489273; cv=none; d=google.com; s=arc-20160816; b=OMfR/D3qQ/ESnPdZnfCDgeKcOMAf+o2FN16n3fevPf9jXu9D47Baqd6b6rh/ETUKe3 N4sMcJ4uF82B6JNfQd1yaCGsFPByNRNFxcJSfD2vXzB/LjtMBL385biafJ0G1B8Zhpjy fuHI+t2YAKPCkJfwJkm8n2fqz0IERY8M6VEfg2XgDC+8pu1LTUbOzldoGcnttRvry/r/ md740/GX/x1UIbwyIKivYLsSwoKDo3wp5LUrWqAv2B0fNSrdVskNYN0qVQGQEyb3bDTB IjNY0SFjdmxdiYgh2ZRIW9jpzDWvZ613/QbeX0ZxiYwL2jlsgfYg+b8IlCZOzeAQ6PgL 0ADA== 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:arc-authentication-results; bh=eg3xqBpHwQJxNnt0YhUGhs2g5Ga6P0WvJArrzq0hIqM=; b=SiL5SFI/Xw5jco4ToU9zWZWSOtWOgYbcJoSKorhvZuCpV2I3dqPMas8Nq9ggnuv5Dr Eo03pmuu0t3k4jPRPxB6zrrZJ94LbTYGd93eUqI3W/tZFFfoGsyl/FnVSYxuKsxbKznT 442N2wi/SC3NKQov4QWfYZoRIUyBNYxxlSPpYJUwcTeXLGtztSe01J0GUSCFGpF3Z56S 7RGMOpraP8Nhej9J6Ml3EDzZerqJ983BSJu82H0AGCP8qVd7WgkhT4YLoBC/5edXygpi PX3LcnFNRZoHN6xnAhkNULtzpENegH/gBebM4XaCR/5c8om9rF+I2pWRwhP7uDaZTxN0 uoeA== 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 y22-v6si3343765pll.53.2018.02.01.04.47.38; Thu, 01 Feb 2018 04:47:53 -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 S1752675AbeBAMqG (ORCPT + 99 others); Thu, 1 Feb 2018 07:46:06 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:47862 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257AbeBAMqD (ORCPT ); Thu, 1 Feb 2018 07:46:03 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 53C0A21A2F; Thu, 1 Feb 2018 13:46:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 1C0E92061A; Thu, 1 Feb 2018 13:45:51 +0100 (CET) Date: Thu, 1 Feb 2018 13:45:51 +0100 From: Maxime Ripard To: Giulio Benetti Cc: Chen-Yu Tsai , Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: sunxi-ng: ccu-sun4i-a10: Fix mali changing dclk frequency Message-ID: <20180201124551.kfyz6frx4lcx4wbz@flea.lan> References: <1517354639-92978-1-git-send-email-giulio.benetti@micronovasrl.com> <20180131084349.du2ijvhh5rxa5vvt@flea.lan> <7be1e297-4fac-a7a2-a8cc-54061d4e2fde@micronovasrl.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2bmercrj53gfillq" Content-Disposition: inline In-Reply-To: <7be1e297-4fac-a7a2-a8cc-54061d4e2fde@micronovasrl.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2bmercrj53gfillq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2018 at 01:05:38PM +0100, Giulio Benetti wrote: > Hi, >=20 > Il 31/01/2018 09:43, Maxime Ripard ha scritto: > > Hi, > >=20 > > On Wed, Jan 31, 2018 at 12:23:59AM +0100, Giulio Benetti wrote: > > > When mali.ko is inserted, it set default clocks and call all parent > > > clocks to stay into range, causing pll-video0 to change and > > > subsequently to change dclk to wrong frequencies. > >=20 > > This is what you should fix. >=20 > Ok, so it must be patch title(shrinked of course), right? >=20 > >=20 > > > "gpu" clock has lot of parent plls inside driver, but on sun7i > > > pll8-gpu does not depend on pll-video0, pll-ve, pll-video1. > > >=20 > > > It only depends on 24Mhz main clock. > >=20 > > I don't really know why you are mentionning that. The GPU clock has > > all the parents described in the driver. And the parents' parents are > > irrelevant to this particular issue. > >=20 > > > Remove all pll parents from gpu_parents_sun7i except "pll-gpu". > >=20 > > However, this is not a proper fix for your issue. >=20 > Yes, you're right, now I understand. >=20 > It is more complex than I thought. > I need to dig more and study better A20 CCU. >=20 > So this patch can be dropped. >=20 > >=20 > > What kernel version did you use? >=20 > Latest mainline. I guess this patch could fix it: http://code.bulix.org/1kitrq-268936?raw Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --2bmercrj53gfillq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlpzC/4ACgkQ0rTAlCFN r3Rqhg/9EZ2j/qkexuIr2SeaN9UY9MJR5owF0HL7IxqRaf+qgtfG1noTyCBmbUkq ngs1XtccrNgbYJc8ARGQqAn+HnA2lL4wUYL4S85WYUKTzDadpVwoUjB1IexXDyqk aCwarI8wfNhSTp9fpW6JiVyDYL8qrnhKq6AEFN1gevcjXb7DK0OfVgtNzBybwYwT boAVswtw7bKAq9PCf22OzxHoMU3VDRXiNPtwx81L28UFIeJvYaAVhQ9hV+/vOKHj /T5c8e2DuGfkan1Cx8OlTrY8Xm+MWyKwbBKY+5K2Al7DX16QdXoXQSOu+Zdp2Kzn LCbr2RkNroEtS7atFk8Z4YBqwb6E9H5ZEf2L3gCg1HMqvdE7IqQAvupBQ4psisNI NkekHjRdR8PhKNdXEhShornzPh3Jd36CKYZg5wu0mDqN5aeKL+mZdkwvEah0MTe6 C5M1astxuMPp8tWLbtpR6bWSiGQFBqGWAaN0rKzNY4cT9Amm3NXQQNOlu5e+rgTN wL21PKlQ84bEYouOHzeEZiq1zKFS4jE9Xrojit5MkzpEoEfhjEG1U/CXY5VgiZ8Z 25vrY2AOK8y/oIfpYgKj2guuDU1CeO+Ao/Ojw90RPGiM+oX5CFVK/5fz0XAnL12I BshUi+yjkmnYLCZ06WlaRHdD6Ixb9RV9ZPISwLrzx8LQU3phcqY= =1Lpv -----END PGP SIGNATURE----- --2bmercrj53gfillq--