Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1334479rwj; Fri, 23 Dec 2022 17:24:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsdiArENNnACOE/P5vWmEjMAjjqrV45ENhkeUNXl3ZvJhnqjFnD6lGAOLwt3eY5+XLc40TH X-Received: by 2002:aa7:d689:0:b0:461:7ae:c244 with SMTP id d9-20020aa7d689000000b0046107aec244mr9311915edr.35.1671845066116; Fri, 23 Dec 2022 17:24:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671845066; cv=none; d=google.com; s=arc-20160816; b=pd1qC3HcIGHaguegxT0sr0vufMajd1jMWd0iCg1DE0rD9bRvq/iqwsPjLouvB0vKUA 8nHDJb5xOLEdUpt0ZSgtZPCC5P+gibu6gZHUB2nOMdCAAZkrHPknBNpJjhX0bK8r3jM9 L7TVdRKAk3AfMRy1y0A0bnU+AYe4/cj4PS77cn1qt5xLqVRXtbc+v7hr12Ymr8CJd1Ac aGjq9DlDscOE7T6MXTyZv+JH/KlyFjYeO/y3JCV9yjehTLfd8jSSKQu/h77d1tSWNmMa 7OAUhpU1yM0smI70NltnmEZk9yFkfJ+hXBABk9pleL9iCsRs3+7nyNqddzWmm5tXlazp hsZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TgKMJXwseoGpjAV/9MH5k5KZ0k9vGzxazdOfN0HWSLI=; b=Icj9xN6Kaj3AzAtnYin/ceNpNlWagCRXJyVvIX5759dnOa71TCVvZSnWU0xFb+pNzI VK+S/hr8gMm81+Zo2Znl1+eH3bNXXEkJFb70vlK2NluCn3+edFlOsTAd0lYifKzJjHWH Pg6q5IVJvnelhFa9OYbnEgKvcx+PMTesTYMNcpBWJZr1scOTHb/bSlQNzltpHmdxWCs+ YCTIHv3IBVcTqzB8Q1yCHEdJ+jz7z8/z/5Vm/OoDL+2/kf2V3IGel2/NqKfkttZ9Gjh6 m0L9ehEcHVFrH6vdgVX/gykJ5ql7ahpvx0vGTs8L+KjfFaKE9uVRMrI2yXjYcYXeVAKh p6nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jSbHXPTi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a50ab0d000000b0046125ddf5easi4029858edc.185.2022.12.23.17.24.05; Fri, 23 Dec 2022 17:24:26 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=jSbHXPTi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbiLXAfd (ORCPT + 65 others); Fri, 23 Dec 2022 19:35:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbiLXAfa (ORCPT ); Fri, 23 Dec 2022 19:35:30 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B87F21B9D3; Fri, 23 Dec 2022 16:35:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3F56EB821B4; Sat, 24 Dec 2022 00:35:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9D04C433EF; Sat, 24 Dec 2022 00:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671842126; bh=LLpp2PZGZ3P0jsNiT1jPH0C8VaOxHKoP9r3oMSLo0UI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jSbHXPTiElo1NJ6miNJKdAE8sMAVnHpWLd4GYXOeyP5OpxT0c9oTR0lS16/W2czmd zmZo8NfSvM8hcBWVWa+rglOsD+2QwrQ3yrtCeOQ3+aChhjfqj4b1kH3/UVA37zLfUV SUTA++yRFAc9yYQsi9jQ6DqpnpbrFV0BXqSjH9vAJ2+r4TjncZLZg23UiKXQWnoxKs mcdYg9MLfz7U5L7z6Jt3vu//BXWS4qlN7IvIgBdWz8Q9q+i0Yy9tInKed8Qjtu/me7 EAuPLXWx4Q8QkE7uAoPziijjcLEOEtF9MDPijOd5R79hOeNIFj6x0I+l2WvxpkrbEe n5rlHZWvgoyDA== Date: Fri, 23 Dec 2022 19:35:25 -0500 From: Sasha Levin To: ChiYuan Huang Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, ChiYuan Huang , Yang Yingliang , Mark Brown , djrscally@gmail.com, hdegoede@redhat.com, markgross@kernel.org, lgirdwood@gmail.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, platform-driver-x86@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 6.0 70/73] regulator: core: Use different devices for resource allocation and DT lookup Message-ID: References: <20221218160741.927862-1-sashal@kernel.org> <20221218160741.927862-70-sashal@kernel.org> <20221219010656.GA6977@cyhuang-hp-elitebook-840-g3.rt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20221219010656.GA6977@cyhuang-hp-elitebook-840-g3.rt> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, Dec 19, 2022 at 09:07:01AM +0800, ChiYuan Huang wrote: >On Sun, Dec 18, 2022 at 11:07:38AM -0500, Sasha Levin wrote: >Hi, > Thanks, but there's one more case not considered. > It may cause a unexpected regulator shutdown by regulator core. > > Here's the discussion link that reported from Marek Szyprowski. > https://lore.kernel.org/lkml/dd329b51-f11a-2af6-9549-c8a014fd5a71@samsung.com/ > > I have post a patch to fix it. > You may need to cherry-pick the below patch also. > 0debed5b117d ("regulator: core: Fix resolve supply lookup issue") I'll take it too, thanks! -- Thanks, Sasha