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


Groups > linux.kernel > #1557283

Re: [PATCH v5 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.
Date 2017-01-12 11:20 +0100
Message-ID <sYKEa-2K5-39@gated-at.bofh.it> (permalink)
References <sY0KZ-7Ue-3@gated-at.bofh.it> <sY0KZ-7Ue-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 10, 2017 at 02:37:02PM +0530, Gautham R. Shenoy wrote:
> From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com>
> 
> In the current code for powernv_add_idle_states, there is a lot of code
> duplication while initializing an idle state in powernv_states table.
> 
> Add an inline helper function to populate the powernv_states[] table
> for a given idle state. Invoke this for populating the "Nap",
> "Fastsleep" and the stop states in powernv_add_idle_states.
> 
> Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
> -- 

Acked-by: Balbir Singh <bsingharora@gmail.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v5 3/5] cpuidle:powernv: Add helper function to populate powernv idle states. "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> - 2017-01-10 10:20 +0100
  Re: [PATCH v5 3/5] cpuidle:powernv: Add helper function to populate  powernv idle states. Balbir Singh <bsingharora@gmail.com> - 2017-01-12 11:20 +0100

csiph-web