Received: by 10.192.165.156 with SMTP id m28csp279234imm; Tue, 10 Apr 2018 21:43:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/cJT42dvHhYBTRAju6ICBGRWVmTfrzUntMW/D7+ukjJ5T/5xPH05LYfmoz//TwpjCrfkjj X-Received: by 10.101.101.66 with SMTP id a2mr2305689pgw.223.1523421825479; Tue, 10 Apr 2018 21:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523421825; cv=none; d=google.com; s=arc-20160816; b=Zm0rUREZCCtz1OsUBDhqApawL8uZR8TsJ1lCQv8F99Hy0icqths8fKhVOwYVzRsynH oLnU/1xVqPFZiRGKLQXtuME/UwUdSGz0QCF822ef8MrW9d4WrBtusPgEo3wwr706gBkF y3EIQtPMzOBmqHBypOc5nf49MPFKjycT6ZsWaTeHrM1f7BdOOvdHv+EhWWSEZ0dBefxQ kPmfjYiAxFAp1lV2u4hKCk4y/y28RTPuZQOBCrRa++yuwYfW9Js6UA2uGWnbhqH6cGLB 25zjGxpUy1dZZY1LS6PmKDXZVbebaqIj7NjymKzckvmEHI6CCedAO9ylhPz8ObklZfA5 UzxQ== 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:arc-authentication-results; bh=t6YoIdwz7Dfs+WoxB0hPXXS6JlViqjTV98HPpiYXECE=; b=S24H0TAT6F7p7Ru92dOAbjFjuwtH0ZXx8eIrgJBhutFH3LWloWvHp5amCIcRCacTk6 JUq6+94lUWFEfViD3JBR3rDNML2M3PXGcyJqTf18ek+ZmpUa8EpFqQmjNB45hMrjLPVY HeLBiQmdMinPT8qFMnC5Jv5Q31ds6MHWb/7g7ywtL7t79MiQpO4XdFodLKunQ9/Fmt0S /2tuEzprOpuYTIcdZtbQxiEqfVrW8s9ggMW0Ca1NumwlmgB8Tq5SyQz1NrqWuvAOMX98 ckdoozbE80/KnbMnsMp44KFD2+ZsKHUkDUbdP8JZR76YJe4jXjftH8DppToRIPrnMN3B ocYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gez99dqI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7-v6si294081plt.660.2018.04.10.21.43.09; Tue, 10 Apr 2018 21:43:45 -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=@linaro.org header.s=google header.b=gez99dqI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751889AbeDKEjw (ORCPT + 99 others); Wed, 11 Apr 2018 00:39:52 -0400 Received: from mail-pl0-f54.google.com ([209.85.160.54]:32855 "EHLO mail-pl0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675AbeDKEju (ORCPT ); Wed, 11 Apr 2018 00:39:50 -0400 Received: by mail-pl0-f54.google.com with SMTP id s10-v6so469430plp.0 for ; Tue, 10 Apr 2018 21:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t6YoIdwz7Dfs+WoxB0hPXXS6JlViqjTV98HPpiYXECE=; b=gez99dqIG8r6dQHnnioESq0vhC8DGM9W5L18lgBOhPnCdjEg8aQcavwS/bNWYSC+oy Du8DpkzbSdmrhYwO8u7DsBJJHkMVMjPDXbiCgqsb1SwtLVS6havXbbFMimDio6rxdvy3 WfACmXmc9qgjqFXNWVnVvaprVYf+/Ijef2XE8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t6YoIdwz7Dfs+WoxB0hPXXS6JlViqjTV98HPpiYXECE=; b=ti8LmMybbF1rkPhN4QXNx6G79okS0yH1CxhFiEkf52F2k8wUY/meyXHmGdVDrLxaGb INVZl1G0JnwRvGy/qxIsBM8ZCB358Zk2QUFU/bjJT2QVLmqbiPbIoaoS9vJK37H1eP5x mdQd+yGsQ6YWVBNc3tswXOMU7ysYX0+eXao65rRA0PQfr+J/XR4O2NWP9IU/cGvpFE4n ELr6pCGNjsvfVi7BJ4iDf2J2sLvsAv4RvmTu34RcZU5iI0Tl7NKMVp/SAd+aTSjnN2UP vEQhrptmCoxGqAZW1Um9RusGB7psaMGYR9k7uEUwRWlV9DAfaSrWqMxoSN+xt0FCMHD4 xg9Q== X-Gm-Message-State: ALQs6tAyZID4/jaie9fLvA4VvflPcVpTsvLf4LvdsHNFzjD+5XizXhwC e9d6kNkLiI+1Ee+YUib+BTodiw== X-Received: by 2002:a17:902:9893:: with SMTP id s19-v6mr3292806plp.304.1523421590323; Tue, 10 Apr 2018 21:39:50 -0700 (PDT) Received: from localhost ([122.171.228.188]) by smtp.gmail.com with ESMTPSA id l90sm613439pfb.96.2018.04.10.21.39.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 21:39:49 -0700 (PDT) Date: Wed, 11 Apr 2018 10:09:47 +0530 From: Viresh Kumar To: Lucas Stach Cc: Georgi Djakov , Greg Kroah-Hartman , Vincent Guittot , Stephen Boyd , Rajendra Nayak , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robdclark@gmail.com, s.hauer@pengutronix.de, shawnguo@kernel.org, fabio.estevam@nxp.com, nm@ti.com, xuwei5@hisilicon.com, robh+dt@kernel.org, olof@lixom.net Subject: Re: [PATCH V7 00/13] drivers: Boot Constraint core Message-ID: <20180411043947.GK7671@vireshk-i7> References: <20180322012606.vuaemu3pvpeojtwr@vireshk-mac-ubuntu> <20180323150420.GA21152@kroah.com> <1523367652.4981.9.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1523367652.4981.9.camel@pengutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-04-18, 15:40, Lucas Stach wrote: > Can you please describe how this bootconstraints core integration is > simpler than a "run things at max performance until late kernel init", > which could be triggered by a simple initcall similar to what is done > for clocks and regulators? > > To me the bootcontraints stuff looks like a fairly complex solution and > your use-case doesn't even sound like you strictly want to keep a > bootloader configuration, but rather run things at max performance > until you are reasonably sure that you got all the necessary bandwidth > requests. What about this case where drivers of some of the devices used during boot are built as modules, like display, HDMI, etc., and would be available only after userspace is up. We need to take care of their bandwidth requirements as well, until the time their driver comes up. -- viresh