Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2392975pxb; Mon, 11 Jan 2021 08:32:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpKJU89YUuabgzRLcwN5Wetet4ltjKW4NzCrTW+3PzwbIvSaCrf9fZPRxKYQBPvd4dfhMx X-Received: by 2002:a17:906:9613:: with SMTP id s19mr185653ejx.351.1610382737947; Mon, 11 Jan 2021 08:32:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610382737; cv=none; d=google.com; s=arc-20160816; b=qNB3LkYUHZ0RvpyoFMlGyVbcRi0qnbRj5Y9hi269sRIrt2c3WO74pudPfoOOCRiNi4 ALIq3HLntAOIVwzxRvmIaL0PlVDZbg+09CWGqOfrg+0uoD3ZTXgSHZfRFPoZZrZ8BLDy +5oO25LqGmDrDzcixOP3fVwRIbR2fCMAoIdbCpjSOnV4cU9SytsqIrSGcCcx6QWxnzdC +387hVJkTe2tYA2ph1P4PDeofyhgr/8Ir14v5ahKYqoRkvY/CjzZ10z7GJhd5Z/MUitt AIeJDLeiF8erlbEy0usElmPw/yKJ5peOZYIjEwTCzR7pGR7SwA7ctL962XQhjOEyMYCu ci2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=zSM54OxA6Zdk7Blxz6lXw4pVUKbPIdfNgLAc83L30vI=; b=fevUPkc/pws8z4RuM1vPzZDTZdlN1osF2+E5O65TtiWy6c/eZ3YbDA2tlUYbQbrT9S 2Rg8aw0z/yWVYJb4SyfBsuF/zVcOcXrjGR4iIK5q3xInj1fCXjECSx41t8T/Lsy6e1Qu tvYCnDIeeEznTCT4UUm3R0rbj1qyFF76o24L09BHjSZkHqTbHroWQFIIk5uKRAcuwUpp 04eHdFDa4S/euzF5tiw6e7XknP2Vr8GSWB4U58kORn2QXqvpQYEb/tzNbwJDIe9fKQlC 4lReIqHxGuNUSJGpRGcLwZaEce87ZqMJTt9pfgbJNGSRZI8V4UvamC7ZBR88KUdgu6/c NX4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zh6vUG1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o24si6748099ejm.674.2021.01.11.08.31.52; Mon, 11 Jan 2021 08:32:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zh6vUG1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2387884AbhAKQaI (ORCPT + 99 others); Mon, 11 Jan 2021 11:30:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:37920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728949AbhAKQaI (ORCPT ); Mon, 11 Jan 2021 11:30:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 651C6221FE; Mon, 11 Jan 2021 16:29:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610382566; bh=fxnw7/lfYiILcbmwfVtG7wR3OePe2w21x200A6Facfo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Zh6vUG1HcUUHM4SRIo/3DaxXGMCUgpbZWu9q8VRkCNyKNrK6tmbzXmLBes+SS0Y9U DzN10v4FDOBH9501jWh7jRYxg7VLsrg7YcSOtd/TTPcU02QkGj0rJbhlHYPPhl6XrE zw5CG7KOkt09XFcCY9Yxy20USmJE2n1DesZZgOx9ikuwG0WakdA3E3xJWrt2KGFIkm IaHLPSiw2+0zHfMAaeYudMpdV6ilwPK+V+WFNAzfVHhWlLHu2ajzED3YWzLQg7RCWg wgN5GvBkpFCKbquVQALZ8npPjKduR9ztPlnMsqdqlBobXFwl9rV/bOFM1eCTSGsH3N X5Pto1DYZnZDQ== From: Mark Brown To: David Collins , Liam Girdwood Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1610068562-4410-1-git-send-email-collinsd@codeaurora.org> References: <1610068562-4410-1-git-send-email-collinsd@codeaurora.org> Subject: Re: [PATCH] regulator: core: avoid regulator_resolve_supply() race condition Message-Id: <161038253465.32830.8002222438288106508.b4-ty@kernel.org> Date: Mon, 11 Jan 2021 16:28:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Jan 2021 17:16:02 -0800, David Collins wrote: > The final step in regulator_register() is to call > regulator_resolve_supply() for each registered regulator > (including the one in the process of being registered). The > regulator_resolve_supply() function first checks if rdev->supply > is NULL, then it performs various steps to try to find the supply. > If successful, rdev->supply is set inside of set_supply(). > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: core: avoid regulator_resolve_supply() race condition commit: eaa7995c529b54d68d97a30f6344cc6ca2f214a7 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. 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. 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. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark