Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-12-13 Thread Viresh Kumar
On 13-12-17, 10:33, Russell King - ARM Linux wrote: > On Wed, Dec 13, 2017 at 03:57:07PM +0530, Viresh Kumar wrote: > > On 13-12-17, 10:53, Greg Kroah-Hartman wrote: > > > On Sun, Oct 29, 2017 at 07:18:56PM +0530, Viresh Kumar wrote: > > > > +static void add_deferrable_of_single(struct device_node

Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-12-13 Thread Russell King - ARM Linux
On Wed, Dec 13, 2017 at 03:57:07PM +0530, Viresh Kumar wrote: > On 13-12-17, 10:53, Greg Kroah-Hartman wrote: > > On Sun, Oct 29, 2017 at 07:18:56PM +0530, Viresh Kumar wrote: > > > +static void add_deferrable_of_single(struct device_node *np, > > > + struct dev_boot_co

Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-12-13 Thread Viresh Kumar
On 13-12-17, 10:53, Greg Kroah-Hartman wrote: > On Sun, Oct 29, 2017 at 07:18:56PM +0530, Viresh Kumar wrote: > > +static void add_deferrable_of_single(struct device_node *np, > > +struct dev_boot_constraint *constraints, > > +int coun

Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-12-13 Thread Greg Kroah-Hartman
On Sun, Oct 29, 2017 at 07:18:56PM +0530, Viresh Kumar wrote: > It is possible that some of the resources aren't available at the time > constraints are getting set and the boot constraints core will return > -EPROBE_DEFER for them. In order to retry adding the constraints at a > later point of tim

Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-10-31 Thread Viresh Kumar
On 31 October 2017 at 16:20, Rob Herring wrote: > What is the effect on boot time? It's highly platform dependent, but > the worst case could be pretty bad I think. Yeah, it can increase considerably here and I have plans for that, just that i didn't wanted to get them in the first iteration to k

Re: [PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-10-31 Thread Rob Herring
On Sun, Oct 29, 2017 at 8:48 AM, Viresh Kumar wrote: > It is possible that some of the resources aren't available at the time > constraints are getting set and the boot constraints core will return > -EPROBE_DEFER for them. In order to retry adding the constraints at a > later point of time (after

[PATCH V4 08/12] boot_constraint: Manage deferrable constraints

2017-10-29 Thread Viresh Kumar
It is possible that some of the resources aren't available at the time constraints are getting set and the boot constraints core will return -EPROBE_DEFER for them. In order to retry adding the constraints at a later point of time (after the resource is added and before any of its users come up), t