/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel_idle.rst | 28 processor's functional blocks into low-power states. That instruction takes two 42 .. _intel-idle-enumeration-of-states: 44 Enumeration of Idle States 50 as C-states (in the ACPI terminology) or idle states. The list of meaningful 51 ``MWAIT`` hint values and idle states (i.e. low-power configurations of the 55 In order to create a list of available idle states required by the ``CPUIdle`` 56 subsystem (see :ref:`idle-states-representation` in 58 ``intel_idle`` can use two sources of information: static tables of idle states 69 states, ``intel_idle`` first looks for a ``_CST`` object under one of the ACPI 72 ``CPUIdle`` subsystem expects that the list of idle states supplied by the [all …]
|
H A D | strategies.rst | 15 One of them is based on using global low-power states of the whole system in 17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The 18 kernel puts the system into one of these states when requested by user space 21 user space code can run. Because sleep states are global and the whole system 26 <working-state>`, is based on adjusting the power states of individual hardware 30 a metastate covering a range of different power states of the system in which 32 ``inactive`` (idle). If they are active, they have to be in power states 34 are inactive, ideally, they should be in low-power states in which they may not 43 for the same system in a sleep state. However, transitions from sleep states 47 sleep states than when they are runtime idle most of the time.
|
H A D | intel_pstate.rst | 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 69 hardware-managed P-states (HWP) support. If it works in this mode, the 89 depends on whether or not the hardware-managed P-states (HWP) feature has been 106 select P-states by itself, but still it can give hints to the processor's 130 Also, in this configuration the range of P-states available to the processor's 182 registers of the CPU. It generally selects P-states proportional to the 199 hardware-managed P-states (HWP) support. It is always used if the 223 the entire range of available P-states is exposed by ``intel_pstate`` to the 232 Turbo P-states Support [all …]
|
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | 4.json | 15 "states": [1, 2] array 40 "states": [1, 2] array 59 "states": [1, 2] array 78 "states": [1, 2] array 97 "states": [1, 2] array 116 "states": [1, 2] array 135 "states": [1, 2] array 154 "states": [1, 2] array 173 "states": [1, 2] array 192 "states": [1, 2] array [all …]
|
H A D | 11.json | 15 "states": [1, 2] array 34 "states": [1, 2] array 53 "states": [1, 2] array 72 "states": [1, 2] array 91 "states": [1, 2] array 110 "states": [1, 2] array 129 "states": [1, 2] array 148 "states": [1, 2] array 167 "states": [1, 2] array 186 "states": [1, 2] array [all …]
|
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | 4.json | 15 "states": [1, 2] array 40 "states": [1, 2] array 59 "states": [1, 2] array 78 "states": [1, 2] array 97 "states": [1, 2] array 116 "states": [1, 2] array 135 "states": [1, 2] array 154 "states": [1, 2] array 173 "states": [1, 2] array 192 "states": [1, 2] array [all …]
|
H A D | 11.json | 15 "states": [1, 2] array 34 "states": [1, 2] array 53 "states": [1, 2] array 72 "states": [1, 2] array 91 "states": [1, 2] array 110 "states": [1, 2] array 129 "states": [1, 2] array 148 "states": [1, 2] array 167 "states": [1, 2] array 186 "states": [1, 2] array [all …]
|
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | 4.json | 15 "states": [1, 2] array 40 "states": [1, 2] array 59 "states": [1, 2] array 78 "states": [1, 2] array 97 "states": [1, 2] array 116 "states": [1, 2] array 135 "states": [1, 2] array 154 "states": [1, 2] array 173 "states": [1, 2] array 192 "states": [1, 2] array [all …]
|
H A D | 11.json | 15 "states": [1, 2] array 34 "states": [1, 2] array 53 "states": [1, 2] array 72 "states": [1, 2] array 91 "states": [1, 2] array 110 "states": [1, 2] array 129 "states": [1, 2] array 148 "states": [1, 2] array 167 "states": [1, 2] array 186 "states": [1, 2] array [all …]
|
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | 4.json | 15 "states": [1, 2] array 40 "states": [1, 2] array 59 "states": [1, 2] array 78 "states": [1, 2] array 97 "states": [1, 2] array 116 "states": [1, 2] array 135 "states": [1, 2] array 154 "states": [1, 2] array 173 "states": [1, 2] array 192 "states": [1, 2] array [all …]
|
H A D | 11.json | 15 "states": [1, 2] array 34 "states": [1, 2] array 53 "states": [1, 2] array 72 "states": [1, 2] array 91 "states": [1, 2] array 110 "states": [1, 2] array 129 "states": [1, 2] array 148 "states": [1, 2] array 167 "states": [1, 2] array 186 "states": [1, 2] array [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | dt_idle_genpd.c | 26 struct genpd_power_state *states, int state_count) in pd_parse_state_nodes() argument 32 ret = parse_state(to_of_node(states[i].fwnode), &state); in pd_parse_state_nodes() 42 states[i].data = state_buf; in pd_parse_state_nodes() 50 kfree(states[i].data); in pd_parse_state_nodes() 56 struct genpd_power_state **states, in pd_parse_states() argument 61 /* Parse the domain idle states. */ in pd_parse_states() 62 ret = of_genpd_parse_idle_states(np, states, state_count); in pd_parse_states() 67 ret = pd_parse_state_nodes(parse_state, *states, *state_count); in pd_parse_states() 69 kfree(*states); in pd_parse_states() 74 static void pd_free_states(struct genpd_power_state *states, in pd_free_states() argument [all …]
|
H A D | cpuidle-riscv-sbi.c | 33 u32 *states; member 100 u32 *states = __this_cpu_read(sbi_cpuidle_data.states); in sbi_cpuidle_enter_state() local 101 u32 state = states[idx]; in sbi_cpuidle_enter_state() 115 u32 *states = data->states; in __sbi_enter_domain_idle_state() local 135 state = states[idx]; in __sbi_enter_domain_idle_state() 252 * of a shared state for the domain, assumes the domain states are all in sbi_dt_cpu_init_topology() 253 * deeper states. in sbi_dt_cpu_init_topology() 255 drv->states[state_count - 1].flags |= CPUIDLE_FLAG_RCU_IDLE; in sbi_dt_cpu_init_topology() 256 drv->states[state_count - 1].enter = sbi_enter_domain_idle_state; in sbi_dt_cpu_init_topology() 257 drv->states[state_count - 1].enter_s2idle = in sbi_dt_cpu_init_topology() [all …]
|
H A D | dt_idle_states.c | 3 * DT idle states parsing code. 9 #define pr_fmt(fmt) "DT idle-states: " fmt 62 * latencies as defined in idle states bindings in init_state_node() 127 * dt_init_idle_driver() - Parse the DT idle states and initialize the 128 * idle driver states array 142 * If DT idle states are detected and are valid the state count and states 146 * Return: number of valid DT idle states parsed, <0 on failure 162 * We get the idle states for the first logical cpu in the in dt_init_idle_driver() 194 pr_warn("State index reached static CPU idle driver states array size\n"); in dt_init_idle_driver() 198 idle_state = &drv->states[state_idx++]; in dt_init_idle_driver() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 7 title: Idle states 19 dynamically, where cores can be put in different low-power states (ranging 20 from simple wfi to power gating) according to OS PM policies. The CPU states 21 representing the range of dynamic idle states that a processor can enter at 23 parameters required to enter/exit specific idle states on a given processor. 26 2 - ARM idle states 30 power states an ARM CPU can be put into are identified by the following list: 38 The power states described in the SBSA document define the basic CPU states on 40 PM implementation to put the processor in different idle states (which include [all …]
|
/openbmc/linux/tools/power/cpupower/man/ |
H A D | cpupower-idle-set.1 | 12 sleep states. This can be handy for power vs performance tuning. 23 Disable all idle states with a equal or higher latency than <LATENCY>. 25 Enable all idle states with a latency lower than <LATENCY>. 28 Enable all idle states if not enabled already. 32 Cpuidle Governors Policy on Disabling Sleep States 36 how to choose sleep states, subsequent sleep states on this core, might get 46 then all deeper states are disabled as well. Likewise, if one enables a 53 If criteria are not met to enter deeper sleep states and the lightest sleep 63 By default processor sleep states of all CPU cores are set. Please refer 65 C-states of specific cores.
|
/openbmc/linux/drivers/regulator/ |
H A D | gpio-regulator.c | 39 struct gpio_regulator_state *states; member 51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value() 52 return data->states[ptr].value; in gpio_regulator_get_value() 65 if (data->states[ptr].value < best_val && in gpio_regulator_set_voltage() 66 data->states[ptr].value >= min_uV && in gpio_regulator_set_voltage() 67 data->states[ptr].value <= max_uV) { in gpio_regulator_set_voltage() 68 target = data->states[ptr].gpios; in gpio_regulator_set_voltage() 69 best_val = data->states[ptr].value; in gpio_regulator_set_voltage() 94 return data->states[selector].value; in gpio_regulator_list_voltage() 104 if (data->states[ptr].value > best_val && in gpio_regulator_set_current_limit() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | platform_state_effecter.hpp | 9 #include <libpldm/states.h> 32 * @param[in] stateField - The state field data for each of the states, 34 * @return - Success or failure in setting the states. Returns failure in 46 state_effecter_possible_states* states = nullptr; in setStateEffecterStatesHandler() local 79 states = reinterpret_cast<state_effecter_possible_states*>( in setStateEffecterStatesHandler() 119 if (states->possible_states_size < bitfieldIndex || in setStateEffecterStatesHandler() 120 !(states->states[bitfieldIndex].byte & (1 << bit))) in setStateEffecterStatesHandler() 154 reinterpret_cast<uint8_t*>(states) + in setStateEffecterStatesHandler() 156 sizeof(states->states) + in setStateEffecterStatesHandler() 157 (states->possible_states_size * sizeof(states->states)); in setStateEffecterStatesHandler() [all …]
|
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/ |
H A D | 11.json | 15 "states": [1, 2] array 34 "states": [1, 2] array 53 "states": [1, 2] array 72 "states": [1, 2] array 91 "states": [1, 2] array 110 "states": [1, 2] array 129 "states": [1, 2] array 148 "states": [1, 2] array 169 "states": [1, 2] array 188 "states": [1, 2] array [all …]
|
H A D | 4.json | 15 "states": [1, 2] array 40 "states": [1, 2] array 59 "states": [1, 2] array 78 "states": [1, 2] array 97 "states": [1, 2] array 116 "states": [1, 2] array 135 "states": [1, 2] array 154 "states": [1, 2] array 173 "states": [1, 2] array 194 "states": [1, 2] array [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/powerpc/opal/ |
H A D | power-mgt.txt | 5 idle states. The description of these idle states is exposed via the 14 - flags: indicating some aspects of this idle states such as the 16 idle states and so on. The flag bits are as follows: 27 The following properties provide details about the idle states. These 32 If idle-states are defined, then the properties 38 Array of strings containing the names of the idle states. 42 flags associated with the aforementioned idle-states. The 62 exit-latencies (in ns) for the idle states in 67 target-residency (in ns) for the idle states in 75 PSSCR for each of the idle states in ibm,cpu-idle-state-names. [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_pdr_effecter_test.cpp | 64 state_effecter_possible_states* states = in TEST() local 66 ASSERT_EQ(states->state_set_id, 196); in TEST() 67 ASSERT_EQ(states->possible_states_size, 1); in TEST() 70 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST() 96 states = in TEST() 98 ASSERT_EQ(states->state_set_id, 197); in TEST() 99 ASSERT_EQ(states->possible_states_size, 1); in TEST() 101 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST() 102 states = reinterpret_cast<state_effecter_possible_states*>( in TEST() 104 ASSERT_EQ(states->state_set_id, 198); in TEST() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 15 from sleep states, such as the memory sleep state (suspend to 33 be enabled to wake up the system from sleep states. 87 the system from sleep states, this attribute is not present. 89 states, this attribute is empty. 99 system from sleep states, this attribute is not present. If 101 states, this attribute is empty. 111 is not capable to wake up the system from sleep states, this 113 up the system from sleep states, this attribute is empty. 123 from sleep states, this attribute is not present. If the 124 device is not enabled to wake up the system from sleep states, [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | state_set.h | 138 /* @brief List of states for the Health State state set (ID 1). 153 /* @brief List of states for the State Set Availability (ID 2), 159 /* @brief List of states for the Operational Stress status (ID 9). 165 /* @brief List of states for Operational Fault status (ID 10). 173 /* @brief List of states for the Operational Running Status state set (ID 11). 184 /* @brief List of states for the Set Identify state (ID 17). 191 /* @brief List of states for the Set Thermal Trip state set (ID 21). 198 /* @brief List of states for the Set Link state (ID 33). 205 /* @brief List of states for the Software-related state set (ID 129). 218 /* @brief List of states for the Boot Restart Cause state set (ID 192). [all …]
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_oem_platform_test.cpp | 270 state_effecter_possible_states* states = in TEST() local 272 ASSERT_EQ(states->state_set_id, 32769); in TEST() 273 ASSERT_EQ(states->possible_states_size, 2); in TEST() 276 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST() 297 states = in TEST() 299 ASSERT_EQ(states->state_set_id, 32769); in TEST() 300 ASSERT_EQ(states->possible_states_size, 2); in TEST() 303 ASSERT_EQ(states->states[0].byte, bf2.byte); in TEST() 324 states = in TEST() 326 ASSERT_EQ(states->state_set_id, 32768); in TEST() [all …]
|