Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2681029pxb; Sun, 8 Nov 2020 09:20:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxTG+xvVLBhU4wHKCBEboG2YlGIicph2QTVVa9XrEjaMPYrgcXJlUHN7AFgKVnL5UjpZWQ X-Received: by 2002:a50:cd51:: with SMTP id d17mr11223837edj.93.1604856007497; Sun, 08 Nov 2020 09:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604856007; cv=none; d=google.com; s=arc-20160816; b=w2MEJM6N8XD7afd43S6aKUCKVoQ6BuPh8y5N7W1nFMFIkFP6yl1hLEAxW+JNPpsiEy okKu4mHWpv9jm81Aa6911wYYI52UbsFwzBhgZpKmThXewgohP2zXarG5Iry/7I7TddJU whpofXqncbz+cbB0uHoKnYBQmC6rG1X2L6FiFhgvj1KmabIW/5/hE/LEvo1SPRzEXINl 6eBYvtOtZZGQ91chDhx9akw/Zquv4rB/JvfrL/7OlF6wqG2eH7WN3TkfHEt0IkepTsfm qp8vvTVPlWVh8VKPq76h8xEjYyy8VD28jjiWAtJTUsbJd65ci4tVSKGiodQo6erQcWiM Wspg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mVtkH932lQ7s7oK33If8lu8EbS8cfaq4FGau4qkXOnc=; b=L5gZqNlHkhGoTmkxkbCe9lDMhhTL9Gu7RZ9VFsRmLHkqz6V7/jJwqEZ9GEEpRkqOla MBulj+yv4ueQfMDaHT7XNls2nJIyyLBQewenZ1hvP88BC2kRvz1uW2gUUH0/YPh6gOSU ZfxZ/ei0z18NwTnyvzYnpWGFywrhUCAucmd4SUgmuK4EWdq13ENikmMm7A8B79ZkghYO cpWBfFSabZkN9pO/uDTWl5xEnpsiAECLNaQQVfzCGUMoGuxMm8t+s8Hfc7vEXproGS+H 0clGxE0Dbitt52ABh1ToSJcmLWSJnKP6qqT8yjjy/s+gLKRURQG0pq77chzzFz0RbsUq 5yRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=AIz5Yrc6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh19si5256318edb.148.2020.11.08.09.19.43; Sun, 08 Nov 2020 09:20:07 -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=@rere.qmqm.pl header.s=1 header.b=AIz5Yrc6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728500AbgKHRSP (ORCPT + 99 others); Sun, 8 Nov 2020 12:18:15 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:63776 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727570AbgKHRSO (ORCPT ); Sun, 8 Nov 2020 12:18:14 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4CTgnJ5d78z74; Sun, 8 Nov 2020 18:18:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1604855892; bh=Fb/1j8jAG4oPFqa4Kck8vmLQUenZTSxCgjIpAXOUgSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AIz5Yrc6x+uI2w6qjn7FirriMDrq23JMdiJUv+u9X8BVcdnAkXrTFSi10cll016fE 7oUC3Hbovs5qSO4zIkka1V01/I7cyvI4g0fMsjB6Lzpw/hfMRHhHLYk1mq3DljsSJL qU7cYImNhKxdGqq69B99FI4X282tfG7NhgRaG/Tqk/skO9iXq7dgk9vyuIvAn8u02r W8z25/DMBqtT3lPRHYNEZy8pzA2s/YaLjXhpvc58JgUOPhJrfPWfX0P+23lZtxd5Yq Za98QfRf15SOpDMd5F5qxTS0i+nRXnikRMtVyXkNrWowlTwNtcyixFoBNhRmeO88HV 6nnL6Lg6Vo52g== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at mail Date: Sun, 8 Nov 2020 18:18:11 +0100 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Qu Wenruo Cc: Linux ARM , Linux Kernel Mailing List , broonie@kernel.org Subject: Re: About regression caused by commit aea6cb99703e ("regulator: resolve supply after creating regulator") Message-ID: <20201108171811.GB10914@qmqm.qmqm.pl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 08, 2020 at 03:35:33PM +0800, Qu Wenruo wrote: > Hi Micha?, > > Recently when testing v5.10-rc2, I found my RK3399 boards failed to boot > from NVME. > > It turns out that, commit aea6cb99703e ("regulator: resolve supply after > creating regulator") seems to be the cause. > > In RK3399 board, vpcie1v8 and vpcie0v9 of the pcie controller is > provided by RK808 regulator. > With that commit, now RK808 regulator fails to register: > > [ 1.402500] rk808-regulator rk808-regulator: there is no dvs0 gpio > [ 1.403104] rk808-regulator rk808-regulator: there is no dvs1 gpio > [ 1.419856] rk808 0-001b: failed to register 12 regulator > [ 1.422801] rk808-regulator: probe of rk808-regulator failed with > error -22 Hi, This looks lika the problem fixed by commit cf1ad559a20d ("regulator: defer probe when trying to get voltage from unresolved supply") recently accepted to regulator tree [1]. Can you verify this? [1] git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Best Regards Micha??Miros?aw