Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1410796

Re: [PATCH v4 09/10] cpuidle/powernv: Add support for POWER ISA v3 idle states

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH v4 09/10] cpuidle/powernv: Add support for POWER ISA v3 idle states
Date 2016-06-01 05:20 +0200
Message-ID <rF4Rj-2Wb-1@gated-at.bofh.it> (permalink)
References <rCkpz-3IP-3@gated-at.bofh.it> <rCkpA-3IP-21@gated-at.bofh.it> <rEwmB-5kR-3@gated-at.bofh.it> <rF4Rj-2Wb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2016-05-31 at 19:20 +0530, Shreyas B Prabhu wrote:
> On 05/30/2016 07:56 PM, Daniel Lezcano wrote:
> > On 05/24/2016 03:15 PM, Shreyas B. Prabhu wrote:
> > > +        psscr_val = kcalloc(dt_idle_states, sizeof(*psscr_val),
> > > +                    GFP_KERNEL);
> > > +        rc = of_property_read_u64_array(power_mgt,
> > > +            "ibm,cpu-idle-state-psscr", psscr_val, dt_idle_states);
> > 
> > [cc'ed Lorenzo and Rob ]
> > 
> > I don't see the documentation for the binding. Wouldn't make sense to
> > add the value per idle state instead of an index based array ?


The binding *should* be documented here AFAIK:

  https://github.com/open-power/skiboot/blob/master/doc/device-tree/ibm%2Copal/power-mgt.txt

cheers

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4 09/10] cpuidle/powernv: Add support for POWER ISA v3  idle states Michael Ellerman <mpe@ellerman.id.au> - 2016-06-01 05:20 +0200

csiph-web