Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2401537ybp; Thu, 10 Oct 2019 06:57:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg0zQuOMPGQBBAm3fK7ZRB+RKOzfIDWYH24g2s5TatgK0A4/ry6xN7Ms0lbeRQ3GYt9fZY X-Received: by 2002:a17:906:70c7:: with SMTP id g7mr8478055ejk.9.1570715867304; Thu, 10 Oct 2019 06:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570715867; cv=none; d=google.com; s=arc-20160816; b=lNL+lK5nDwU4ZRVl57d9a3KjDOcmf9m2H8bcZ+UTMoX+dJTisuc+DUPlAu16PNMTCc qe6VgydxMQNSVb5K3275+/8u1Nw2ehKU7kwk82Q+ObNNNeEOCshWXqixkjeWwZZm78bm GW8sV0UcCkT0RERDrcr0vgUXAIVKXRXjM2KNPEkOeig1E5KB5x/Gx2exh+4m8p6ZIXdm I9KAH9HpMn9mFmRb+zHppa2exG/p9KV7SIp48ATgjZD8tCMW+aSyL7DB/KZU49eEqKvs 3hVg4yfb6Y2Wlk9i6Q1B1TUNwRUm+9rTU9FP+4778L2koYrOZkIRwwSJgZEuEcvnObJC 2JZw== 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:dkim-signature; bh=pLQj4V3i63vFUYd0g5ePUI+/Ipp4Xi+oTg6pYl6S8c8=; b=mpQn7oGmFIW617k7sp8LcmrWQepmisMbXQI6T+/YjuDAymLdgOmXD4VFw3gkWdw1Hq cAM2impYtV/BhLOa8yEN0BWKbAQI+cqSU3zpWm+p4hvj2UA49Lgu514wKvEMDIDq+n/n vuM1h9vLOe2XLi6xwHMKFFW8K0NA6uJQ8ooJgXypwsEpjCU2OIvVHql4+lY5wSv2fik2 bl4KoVMCr9mz0kkm5jDUxW+9KGhNMeguau1JW3Ak7uMsVR2EQnIRoa0lrmY8b/VAmLoC vvtKXnqV//oAB0fn7clA7aa3s0KQDXSAJ5qgLD6twTev2TPqIstff38lYRuV//uqYrF8 SyDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DbKkj97y; 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=fail (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 s21si3132972ejm.122.2019.10.10.06.57.23; Thu, 10 Oct 2019 06:57:47 -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=@sirena.org.uk header.s=20170815-heliosphere header.b=DbKkj97y; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726101AbfJJNzP (ORCPT + 99 others); Thu, 10 Oct 2019 09:55:15 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:54786 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbfJJNzP (ORCPT ); Thu, 10 Oct 2019 09:55:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pLQj4V3i63vFUYd0g5ePUI+/Ipp4Xi+oTg6pYl6S8c8=; b=DbKkj97yxH1WOlu4FqZ00/kBc 6avPtx+noy7lr7yBDs0bM+B8502RI4Q6khSJL4sWkbCDeL5sJIgPiFTTTf/1L3bKK/2I9DvBE4zDQ i91t0R4KxxlAizdAguwuOpfGsmzR8ZIfLKwnAosipeNYxbSKgLDC8NY8dqJaeO2DN75ZY=; Received: from fw-tnat-cam3.arm.com ([217.140.106.51] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iIYuK-0001TV-Jl; Thu, 10 Oct 2019 13:55:08 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 8E981D0003A; Thu, 10 Oct 2019 14:55:07 +0100 (BST) Date: Thu, 10 Oct 2019 14:55:07 +0100 From: Mark Brown To: Marek Szyprowski Cc: Dmitry Osipenko , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, Liam Girdwood , Lucas Stach , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Viresh Kumar , Kamil Konieczny Subject: Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable() Message-ID: <20191010135507.GS2036@sirena.org.uk> References: <20191008161535.GN4382@sirena.co.uk> <4ad890b7-705e-94f9-2e61-1f3a60984c91@gmail.com> <20191008171747.GS4382@sirena.co.uk> <439154a4-1502-40af-7086-d4e3eb24025f@gmail.com> <20191008180750.GT4382@sirena.co.uk> <20191009141352.GC3929@sirena.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m2KU9Mr9JJKQaAoQ" Content-Disposition: inline In-Reply-To: X-Cookie: Be careful! UGLY strikes 9 out of 10! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --m2KU9Mr9JJKQaAoQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 10, 2019 at 12:19:55PM +0200, Marek Szyprowski wrote: > On 09.10.2019 16:13, Mark Brown wrote: > > We should revert the enable call, it shouldn't be required, and ideally > > the default balancer could be updated to only make configuration changes > > if they're actually required which would help avoid triggering any such > > things in future if we don't absolutely have to. > Okay, Then in case of regulator core - do you accept the initial patch=20 > as it indeed forces the default balancer to avoid unnecessary changes,=20 > or do you want me to rewrite it to assume min_uV =3D current_uV for the= =20 > already enabled regulators during the initial balancing, like suggested= =20 > by Dmitry? Neither, I'm suggesting you make the change above. --m2KU9Mr9JJKQaAoQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl2fODoACgkQJNaLcl1U h9CH9Af/a7DbnGwYMp29eLd4J6U14L9PHlZEslj/46R5/OmCgxVycQejbXAZRHwg CLPcrsFx/1JnedK9CoxYw2Qo1WJvE5K0pxwnZ5zJLFfT4MZFofI468OHQcYqHAXX ZyJw5iZAqJ9ATGInZoCvaBL3Tde2uXqazxPAOZRull7BdSgmc5noRIOOdqV8a1mv n+tGJNiauaP7qAa7ZJtEdsJzPHjbNdtOWruKQxgPSE9KRLbq2fIQRG2ZtUo7fds7 +YzwfQtXOoX1XVD7aoqbWYyNAkl6taMDRzy7UhUbUiol7/knCoG4elvuMRRPAKrK V7mXpb9I4a9jtCf5FW4akaeiqqkOmg== =e3x+ -----END PGP SIGNATURE----- --m2KU9Mr9JJKQaAoQ--