Merge branch 'pm-cpufreq'
* pm-cpufreq: (53 commits) cpufreq: speedstep-lib: Use monotonic clock cpufreq: powernv: Increase the verbosity of OCC console messages cpufreq: sfi: use kmemdup rather than duplicating its implementation cpufreq: drop !cpufreq_driver check from cpufreq_parse_governor() cpufreq: rename cpufreq_real_policy as cpufreq_user_policy cpufreq: remove redundant 'policy' field from user_policy cpufreq: remove redundant 'governor' field from user_policy cpufreq: update user_policy.* on success cpufreq: use memcpy() to copy policy cpufreq: remove redundant CPUFREQ_INCOMPATIBLE notifier event cpufreq: mediatek: Add MT8173 cpufreq driver dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings intel_pstate: append more Oracle OEM table id to vendor bypass list intel_pstate: Add SKY-S support intel_pstate: Fix possible overflow complained by Coverity cpufreq: Correct a freq check in cpufreq_set_policy() cpufreq: Lock CPU online/offline in cpufreq_register_driver() cpufreq: Replace recover_policy with new_policy in cpufreq_online() cpufreq: Separate CPU device registration from CPU online cpufreq: powernv: Restore cpu frequency to policy->cur on unthrottling ...
This commit is contained in:
@@ -361,6 +361,7 @@ enum opal_msg_type {
|
||||
OPAL_MSG_HMI_EVT,
|
||||
OPAL_MSG_DPO,
|
||||
OPAL_MSG_PRD,
|
||||
OPAL_MSG_OCC,
|
||||
OPAL_MSG_TYPE_MAX,
|
||||
};
|
||||
|
||||
@@ -700,6 +701,17 @@ struct opal_prd_msg_header {
|
||||
|
||||
struct opal_prd_msg;
|
||||
|
||||
#define OCC_RESET 0
|
||||
#define OCC_LOAD 1
|
||||
#define OCC_THROTTLE 2
|
||||
#define OCC_MAX_THROTTLE_STATUS 5
|
||||
|
||||
struct opal_occ_msg {
|
||||
__be64 type;
|
||||
__be64 chip;
|
||||
__be64 throttle_status;
|
||||
};
|
||||
|
||||
/*
|
||||
* SG entries
|
||||
*
|
||||
|
Reference in New Issue
Block a user