Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4714679ybf; Wed, 4 Mar 2020 09:13:41 -0800 (PST) X-Google-Smtp-Source: ADFU+vtHixe6RQnzU6ntIIq6U7DrD1F2mk6TsUXQNU9oZjCIk0fvSj6M96HNIgrlCtTBX9GZCHm8 X-Received: by 2002:a9d:906:: with SMTP id 6mr2978260otp.251.1583342021101; Wed, 04 Mar 2020 09:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583342021; cv=none; d=google.com; s=arc-20160816; b=tmRLj3xdr/k0JqtB1WUN8hxIPGfc/0exXNJwecb21A2KbBiFtoP8sTZv8MbbChSgcJ /gWe/P9ByC2Bt+gkec1V2hyDmRJB06pLnRCx74m4HkNMc5Kg+pAt6xKksewVAQH9Rs7M UGhtBq4kUD2Y4Nnz5Cn3mCDgizs1uB4/yYzQbudJvswIa6RF/DM17cNtSyu8IWYIGea0 TM37PiLnltIq+aKwcsT8pLo2HJMHfOo183YgRnPI1ioNtTOuPeYULMHPLxohRbtPo9gi emWaPT9FezcfVA3MpC/4WmsrQxFHkEk7L9wFlD/v8SxRU3I/vUPyb8sz6C0QBAfcnuMW mN9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0y/2K3KLEIGKlG/NJVsjdIKmdlxRR7E28mrHfaXgY9o=; b=nlWHag34gYeXfRGW7xqHShOc5VItzl/PqHxoZgqguz8RxlZ+4m/hf5WEA1BewQPD77 +jZe+nTccp1v4FqBVb8Dlv+eJ1S46vQjqAhN3qZTtLtj0m2uZoUpYKoGYS1uw7/UNgp3 QFJNoHvvrEw4HNVXdUUdoZi1QZZT0HXi2Hb0j4csIIo5hNJs20GrD9x13ANnrK1kahUx 1XupNPxzJeR5CpULxSpGsM0pPGH0V5W2LMTNTDmK9evSFV/hocg1LJGMcJ0muMgPKom7 BNjGU1gFK2eGGmwYpuPaRFQwOrPh+UJPJDIoockP3Seis6axPaHTeS5o9Q32xEcuw+gA knnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QGSNA6SC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si1537038oil.11.2020.03.04.09.13.28; Wed, 04 Mar 2020 09:13:41 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=QGSNA6SC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729638AbgCDRMy (ORCPT + 99 others); Wed, 4 Mar 2020 12:12:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:43584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726748AbgCDRMy (ORCPT ); Wed, 4 Mar 2020 12:12:54 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7108221775; Wed, 4 Mar 2020 17:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583341973; bh=fGZO8IiDt6IouMRYJcdwHaQ/Nli/lNDUQPVQ+t4fUJE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QGSNA6SCwIwmnoXq6unuaIbYou3KDT8LlCwlB35VykB+lCFs9M3ouwd7ho1ObbzG1 vc2rDlHbd4UG0eRfdCIbaSZIhpjLDBquwL0RNFqYK5keUyYUConYjvrxEeaIgYynhV 0tLrwmAprP16lTXMmQO0oYYSp1tAww5C173kUmMw= Date: Wed, 4 Mar 2020 18:12:52 +0100 From: Greg Kroah-Hartman To: John Stultz Cc: lkml , Rob Herring , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Pavel Machek , Len Brown , Todd Kjos , Saravana Kannan , Bjorn Andersson , Liam Girdwood , Mark Brown , Thierry Reding , Linus Walleij , linux-pm@vger.kernel.org Subject: Re: [PATCH v5 0/6] driver core: Improve and cleanup driver_deferred_probe_check_state() Message-ID: <20200304171252.GA1852336@kroah.com> References: <20200225050828.56458-1-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200225050828.56458-1-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 25, 2020 at 05:08:22AM +0000, John Stultz wrote: > This series goal is to improve and cleanup the > driver_deferred_probe_check_state() code in the driver core. > > This series is useful for being able to support modules > dependencies which may be loaded by userland, far after > late_initcall is done. For instance, this series allows us to > successfully use various clk drivers as modules on the db845c > board. And without it, those drivers have to be statically built > in to work. > > Since I first sent out this patch, Saravana suggested an > alternative approach which also works for our needs, and is a > bit simpler: > https://lore.kernel.org/lkml/20200220055250.196456-1-saravanak@google.com/T/#u > > However, while that patch provides the functionality we need, > I still suspect the driver_deferred_probe_check_state() code > could benefit from the cleanup in this patch, as the existing > logic is somewhat muddy. This looks much better, thanks for sticking with it, all now queued up. greg k-h