Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp24240ybi; Thu, 23 May 2019 22:49:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzKKjtawe1M1KchFmRX2WI544uo/YYJCjkNqhskbCy83K1gs0Tu5IWXVH/fT4/cqOJbTpa X-Received: by 2002:a65:6551:: with SMTP id a17mr9635186pgw.1.1558676997585; Thu, 23 May 2019 22:49:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558676997; cv=none; d=google.com; s=arc-20160816; b=LWgNdMGSr/lEPK/nTyD2OgcallgoRTXO8pBw/4VwzcAXA/wgp2BpvSk9+Go3GhjFg8 lXDnNJ6p3LJjrt1aIylYi4IRkChNcLjTzW7Nm+lRZOd4OY6P7lrkIoudYOmNxpYvo8nG WDAeDEHRkJf+QbCBG907jIa2+7oeCHUVxz7f2hMbeD8dzNv5TtdjSMvQbT+C273AVmnu X/qO3AJ8dE6zWfFzGYoluQoqILlPXThvamced8DD7r+/WLWJiqXecefNLNktZs7ybA6g avjKMXzLeezuUgD8loMUIaN4vZptEC2nM7PeBA/3cvOM9d9s+Ts2Pdr8M7QA8Qmn7MTg CSjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Xmpfk99Lx2IMEhkKJ45p4BEwnag3t9We6XOVS+1UTnY=; b=HVfgRWwUQ2S11GPZJgiW99G/hnX7pL99H8ao7ZJsJ8JedNrDiuZS8YLy2NWC84DqyP EH9of2a0ROODGm3LhYgsKK0LgKPI6Td6JgpiqiMPhp+M+nWgvjTA4fAGSRx/5mSoQMh/ XEEQR6gX7yK+03oro51tUF7+oGaka6HlVQgalWC+gzpGvSdLExFCYW+lUHGNmhHv0gKW mviq9bd5UTm1jkyUXSyY4ek7SZMbBHbfeRm0+JYyag8ZMHaxr2BsPNf2ZzwrGfHTWU32 zEL4o8VV0WkjIuQlK0KA4O6j0cbbpAEuOPOKFNW/qtYTWTOykjUqeUz3v8r+jKkhyqAV S+lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XSv05xAX; 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 f8si2252522pgo.380.2019.05.23.22.49.36; Thu, 23 May 2019 22:49:57 -0700 (PDT) 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=XSv05xAX; 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 S2387760AbfEXFsM (ORCPT + 99 others); Fri, 24 May 2019 01:48:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:36718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387535AbfEXFsM (ORCPT ); Fri, 24 May 2019 01:48:12 -0400 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 F3B0B2168B; Fri, 24 May 2019 05:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558676891; bh=cu3fgmZ61U1QNRF9hTI2jmlv8OcBkPCDvxz3VlIuRbU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XSv05xAXy4GZ91iYshndffZcKJ4RMlakkSmMiu4pbnGjCqW+gLCQi0C6H7ZSZNk6J NTVBzl3znH5OTnDncLVvvXJY1IcrQP/pFE+opBUi7NxEvvFBR7fMwIH4WiToZ4FH2o n11OiBJpve9x3rnIOFcKGFWn0x0veVBccaAu6mmI= Date: Fri, 24 May 2019 07:48:09 +0200 From: Greg Kroah-Hartman To: Saravana Kannan Cc: Rob Herring , Mark Rutland , "Rafael J. Wysocki" , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v1 2/5] driver core: Add device links support for pending links to suppliers Message-ID: <20190524054809.GA31664@kroah.com> References: <20190524010117.225219-1-saravanak@google.com> <20190524010117.225219-3-saravanak@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190524010117.225219-3-saravanak@google.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 23, 2019 at 06:01:13PM -0700, Saravana Kannan wrote: > When consumer devices are added, they might not have a supplier device > to link to despite needing mandatory resources/functionality from one > or more suppliers. Add a waiting_for_suppliers list to track such > consumers and add helper functions to manage the list. > > Marking/unmarking a consumer device as waiting for suppliers is > generally expected to be done by the entity that's creating the > device. > > Signed-off-by: Saravana Kannan > --- > drivers/base/core.c | 67 ++++++++++++++++++++++++++++++++++++++++++ > include/linux/device.h | 5 ++++ > 2 files changed, 72 insertions(+) This looks fine to me, I'll let the dt people argue if the new entry is valid or not :) Feel free to add: Reviewed-by: Greg Kroah-Hartman to this if the dt people want to take it through their tree. Or, I guess I should really take it through mine... thanks, greg k-h