Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2728906rwi; Fri, 28 Oct 2022 10:27:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71ZbV9s7EvAQoxU/rFLfV/HNrcuC2oVSjuS9o2Gly2zWNlgoUl1kDe6upVXcvUjCooGDIq X-Received: by 2002:a65:63ce:0:b0:43a:2103:b7b8 with SMTP id n14-20020a6563ce000000b0043a2103b7b8mr519365pgv.59.1666978047466; Fri, 28 Oct 2022 10:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666978047; cv=none; d=google.com; s=arc-20160816; b=IGQLQeGXa1NEbPI4JbsG79uPP3qQMLsE/MJ/NbVVmWhcT23KQi202yGNnmygi4pt41 N0xtL3kFXJzoM0brVKss9fHMuqzSqPsIX1o1ki5av7H5o/lw48uz1jFiQsKA2WvX2tYb C1YrOq8snty4BqNgGctNt5Rivk2N6go8+zmYYRmMLEVB2sv3bUf4KVke4lyo/gcCITxd 3B3jbAiTxcwRGRtejsJDxY/lKB7Pv3sPSdcB1JkupaKpkhKF5LPS6yHPsuqp89Ru4WZx TbmsvR8JiNjHZphDMu4AHuu1Qc5nJQqFagjQjs4/nEf3a+Vl6b8OgSaCv7nMeCOHbchf A3Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=LdBYaH8Vkz/OFpcUliUNXSUHa5224PBWc/8NFz84BpI=; b=NEaLS44f01WiUIlgKbQaolmyjvKIhPn+L/MQ7CDvV2Ygk5n3eTlIA/4xNuSvbngO6a pch75DyN5uCmWRAOAcDJCrSWeVydfzrhPHVK35d9/NFDn+isI5BQDIbLjkmMyzJMEJbI rM49RdYW19B5rQ5CfwBiHsGtuQ0/LdqpLHIpOA8P+Y4REfPrqE9dMWdpdPXS88QJkRUT esbGVc3AngXonJjpn14I5yF5e8PisLyx+HO8rFK+A4XuGupOthbDkWsJ+ZrsJ/sKGyPY QIzoMFdoA6Yb3x4SOFT5c0yo5cPVr4rWCmggCT7758rSGqKVnAFnSS3Rc8mPFR/U7rga iYrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kohlschutter-com.20210112.gappssmtp.com header.s=20210112 header.b=UYFDgpwh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j70-20020a638049000000b004600f27528fsi5848982pgd.175.2022.10.28.10.27.16; Fri, 28 Oct 2022 10:27:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kohlschutter-com.20210112.gappssmtp.com header.s=20210112 header.b=UYFDgpwh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbiJ1RBM (ORCPT + 99 others); Fri, 28 Oct 2022 13:01:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbiJ1RAC (ORCPT ); Fri, 28 Oct 2022 13:00:02 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5259B186F1 for ; Fri, 28 Oct 2022 09:59:41 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id ud5so14389106ejc.4 for ; Fri, 28 Oct 2022 09:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kohlschutter-com.20210112.gappssmtp.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LdBYaH8Vkz/OFpcUliUNXSUHa5224PBWc/8NFz84BpI=; b=UYFDgpwh4gQXASm0ajaOXIPSZAnokFKGRz3i8tZtZbSWWnZolu06tgNOMllG7MRETN Tm4lTLSVv7CzCYX+BzbeoW4IwwOM8E6/x5qA7mq65SVAL2oHVUeyUul5Xr+eOeqg2f7B QsTh2p1iAaL01/r/mfd3lrKoSa0L0Ta20tWgNpIp/Dg5kwRTi+pt+q12GtnLc98XSJsC RX8Qrw7tDZ1DirvKxw/yjeXtx7rfncdWpDcvZBYHhMVQGNh8UjOEpiZaUW7i4W37dzhf wCtxsU6WA1SP9LV0GcnBarIow754Qsz7AS2uYmTUFRlxLcgKdSvGX13UhPutYURKcwxl wHOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LdBYaH8Vkz/OFpcUliUNXSUHa5224PBWc/8NFz84BpI=; b=Xd5J5U5qMvCD7x+WGfcZWs44Bm1OojXYGB7JqTW3PB3QY4PvrB07a/Wy4pKGeLukBf 7JzO78oHUrkK9DTk8f6POJ8UpaKEfD7xM10mnlLO9fitiaKMuOEUB7fkU2qLh2cOgOkp oGVUIyRZwB53PMRmzq/oMGwW0kQwDSYmVTuS2RChE82KHyx5ePz7XnUH+rtH6ALCZ/3g yI53Hc8be33ogEUA9G4vma1FXhGgOJgkfdqyqwq/DAohiqqabOQi2xjdDLtgTDMyT7O/ o6ZPKHE1VKQsnMij6k01OxMceqrLFMX97cm9Q9fxFM3D6donZ/bo3cCXfpdcGOTZv+zP Hniw== X-Gm-Message-State: ACrzQf1fPUE4t7mhvX3GuVfEMY28Bmqbci1vYOkQYzHdI3DO091mwUNo jkMbS0WpGFnmFCUmuPRmGfoa6Q== X-Received: by 2002:a17:907:31c7:b0:740:e3e5:c025 with SMTP id xf7-20020a17090731c700b00740e3e5c025mr249555ejb.341.1666976379411; Fri, 28 Oct 2022 09:59:39 -0700 (PDT) Received: from smtpclient.apple (ip5b434222.dynamic.kabel-deutschland.de. [91.67.66.34]) by smtp.gmail.com with ESMTPSA id t17-20020a170906065100b0072f112a6ad2sm2387793ejb.97.2022.10.28.09.59.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2022 09:59:38 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [PATCH v2] regulator: core: Resolve supply name earlier to prevent double-init From: =?utf-8?Q?Christian_Kohlsch=C3=BCtter?= In-Reply-To: <166083617547.142744.6260121456450934801.b4-ty@kernel.org> Date: Fri, 28 Oct 2022 18:59:36 +0200 Cc: wens@kernel.org, =?utf-8?Q?Heiko_St=C3=BCbner?= , "open list:ARM/Rockchip SoC..." , Linux MMC List , Markus Reichl , Liam Girdwood , linux-arm-kernel , linux-kernel Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B4AE882-0C28-41E3-9466-F8E301567627@kohlschutter.com> <166083617547.142744.6260121456450934801.b4-ty@kernel.org> To: Mark Brown , Robin Murphy X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 18. Aug 2022, at 17:22, Mark Brown wrote: >=20 > On Fri, 22 Jul 2022 19:42:27 +0200, Christian Kohlsch=C3=BCtter wrote: >> Previously, an unresolved regulator supply reference upon calling >> regulator_register on an always-on or boot-on regulator caused >> set_machine_constraints to be called twice. >>=20 >> This in turn may initialize the regulator twice, leading to voltage >> glitches that are timing-dependent. A simple, unrelated configuration >> change may be enough to hide this problem, only to be surfaced by >> chance. >>=20 >> [...] >=20 > Applied to >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git = for-next >=20 > Thanks! >=20 > [1/1] regulator: core: Resolve supply name earlier to prevent = double-init > commit: 8a866d527ac0441c0eb14a991fa11358b476b11d >=20 > All being well this means that it will be integrated into the = linux-next > tree (usually sometime in the next 24 hours) and sent to Linus during > the next merge window (or sooner if it is a bug fix), however if > problems are discovered then the patch may be dropped or reverted. >=20 > You may get further e-mails resulting from automated or manual testing > and review of the tree, please engage with people reporting problems = and > send followup patches addressing any issues that are reported if = needed. >=20 > If any updates are required or you are submitting further changes they > should be sent as incremental updates against current git, existing > patches will not be replaced. >=20 > Please add any relevant lists and maintainers to the CCs when replying > to this mail. >=20 > Thanks, > Mark I've finally managed to publish a blog post about this journey into = regulator land; I hope you find it worthwhile. https://kohlschuetter.github.io/blog/posts/2022/10/28/linux-nanopi-r4s/ Thanks to everybody involved for getting this far! Special thanks go to Robin Murphy for pulling out the oscillator, and = Mark Brown for helping that these changes get into 6.1. Best, Christian