Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1012718ybl; Thu, 12 Dec 2019 08:21:01 -0800 (PST) X-Google-Smtp-Source: APXvYqyUiuSyo4+w+YWcvfkD6AaBUV1JOlZBVgoM0g+oQDYCBa89x9ygUOZb8AjbrcqZA5PB2cKX X-Received: by 2002:a05:6808:14d:: with SMTP id h13mr5737824oie.58.1576167661417; Thu, 12 Dec 2019 08:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576167661; cv=none; d=google.com; s=arc-20160816; b=rNExmKFUGmswaPBBsqsGz7E/hG/sAxi8qfNfEYBvkV+vQT+cBNvMrvoHFhjGoOXdxM oOy9MRCgRkPsCv1u2qgPlE7VDynGhzwchZbpKqg0VVLO5efYINz4OJFo9fRrJ0JQgrRl 4ENUOrvVCRkj5Yz9/DRzLS5+HR1x5S4m3+aMYbaXSWcKgMKTlwbd9+3MMHMYyKiyYtd+ m5fC9eV8AM/AVN2AhYsBzs7dmHueMaL8/j69KfnkJ7lzQM3cj2G9KHkLs4cr5hAOw0ed UFrXj+zCwEit5lxmnNaOlhr36tbCfZ91QDyi6ijFaEJiajJtwI33STMLjrPOYzP4QM+B Bnmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=V6mXcyFHURt7wNS5bFeTnPVdoJMNw0zAfh1vJmQ26lM=; b=un+JFvHIjmQMlpu9kb+PNgXFW8PUfR1Cy8GWCWcHdnf+RP8H9ItQgH6IP/rSE9gvvF kVB0ytRFjvi6EFG3PnJEvWF4rGlaTBZJ+SeG1BTxQgD9JPSwT9eEdN9527G+cdp59a4y xhqrQBVWkG4t+vAC4wBDy2XtGztXpgk8sUCPVZ+y13HF0FiIRDsWvCAJr+FX/Nf+Jr6n QnB28wpVv0om3/g1jBm0BdPJy6Km7OU0s9ILzD/1WyiezjBQ0cQFtbtBBB1SWeJ8bc79 mVGMJoxSSM2wqzZDUFaMZ9UrUS2io8Ji11xfZsE+KWAR8V/XEypINbmEMaP4SunAuCng XbDw== ARC-Authentication-Results: i=1; mx.google.com; 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 x137si3229657oif.42.2019.12.12.08.20.48; Thu, 12 Dec 2019 08:21:01 -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; 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 S1729864AbfLLQTH (ORCPT + 99 others); Thu, 12 Dec 2019 11:19:07 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39791 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbfLLQTG (ORCPT ); Thu, 12 Dec 2019 11:19:06 -0500 Received: by mail-oi1-f196.google.com with SMTP id a67so847318oib.6; Thu, 12 Dec 2019 08:19:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=V6mXcyFHURt7wNS5bFeTnPVdoJMNw0zAfh1vJmQ26lM=; b=gZPI4r5eaw9K7dJo/rh6CpP5ZavRYztoU/VocsvdaKGJgXyTo1zk+MaXz4lZzrfpYS n3ma/civuduJcONoJ9UcMECOGRKoCtWs+pV9zxidxKmP9j8998i+GuyJdWKJVvVhMXY6 kl+0Vv9D5Sg5WOLLhNC7kdbHSAuR/CKgoKyPVJX5NR3rq/1gjBi86efGZ5S2AwP28ZdO 7BMQ2djTiewKMjRrx23MtIB1NhnwHXLy2Iv6lNLim85JaZBtmoriNe0sZD/dyRzwFAn5 eDwhroAwY3+kppSaRDVua5wMHaCNAuDIMB8xaG2KccaNqXjArJQ2AWn4VN0SbU9So0W4 FpJw== X-Gm-Message-State: APjAAAWYF4/yRoCiGZNn29FsWAkIszTgwTjpVJ2t9ZV/AgbiTOWA81A2 TuoXnxKJif7fJ6nY+noNJGSudh2qmP8b5dqkb9E= X-Received: by 2002:aca:48cd:: with SMTP id v196mr5637847oia.102.1576167545247; Thu, 12 Dec 2019 08:19:05 -0800 (PST) MIME-Version: 1.0 References: <23236201-a387-7257-35a4-ee4ed2f6bfd0@ideasonboard.com> <20191209163755.GF5483@sirena.org.uk> <20191212155656.GE4310@sirena.org.uk> In-Reply-To: <20191212155656.GE4310@sirena.org.uk> From: Geert Uytterhoeven Date: Thu, 12 Dec 2019 17:18:43 +0100 Message-ID: Subject: Re: Regulator probe on demand (or circular dependencies) To: Mark Brown Cc: Kieran Bingham , Linux-Renesas , Liam Girdwood , Linux Kernel Mailing List , Laurent Pinchart , Jacopo Mondi , =?UTF-8?Q?Niklas_S=C3=B6derlund?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On Thu, Dec 12, 2019 at 4:57 PM Mark Brown wrote: > On Wed, Dec 11, 2019 at 10:42:43PM +0000, Kieran Bingham wrote: sort of wondering if something like this could optimise away some > > of the -EPROBE_DEFER iterations at a more global level, but I don't know > > how or if that would work anyway. > > In theory someone could try to do some sort of sorting with the DT > graph, people keep talking about it but nobody's done anything that I'm > aware of. "of_devlink" has landed in v5.5-rc1, cfr. commit a3e1d1a7f5fcccaf ("of: property: Add functional dependency link from DT bindings"). I gave it a try on some boards lately. It improved the deferral situation on Koelsch, but made it worse on Salvator-XS. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds