aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/processor.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2008-01-28 00:53:42 -0500
committerLen Brown <len.brown@intel.com>2008-02-02 02:30:11 -0500
commit1180509f6b3ec3ac2505375a78ccd72d270f2169 (patch)
treef26bcf07eedae91cb43a84fb617d62beb2a3d123 /include/acpi/processor.h
parent87654273ef63213f90c4243913987436495824f0 (diff)
ACPI : Update T-state coordination after getting _TSD info
Accordint to ACPI spec, the _TSD object provides T-state control cross logical processor dependency information to OSPM. After the _TSD data for all cpus are obtained, OSPM will set up the T-state coordination between CPUs. Of course if the _TSD doesn't exist or _TSD data is incorrect , it is assumed that there is no T-state coordination and T-state is changed independently. Now there is no proper solution to update T-state coordination after one cpu is hotplugged. So this patch won't support hotplugged cpu very well. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r--include/acpi/processor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 76411b1fc4fd..d90ad0d63c24 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -176,6 +176,8 @@ struct acpi_processor_throttling {
176 u32 address; 176 u32 address;
177 u8 duty_offset; 177 u8 duty_offset;
178 u8 duty_width; 178 u8 duty_width;
179 u8 tsd_valid_flag;
180 unsigned int shared_type;
179 struct acpi_processor_tx states[ACPI_PROCESSOR_MAX_THROTTLING]; 181 struct acpi_processor_tx states[ACPI_PROCESSOR_MAX_THROTTLING];
180}; 182};
181 183
@@ -316,7 +318,7 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr)
316int acpi_processor_get_throttling_info(struct acpi_processor *pr); 318int acpi_processor_get_throttling_info(struct acpi_processor *pr);
317extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state); 319extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
318extern struct file_operations acpi_processor_throttling_fops; 320extern struct file_operations acpi_processor_throttling_fops;
319 321extern void acpi_processor_throttling_init(void);
320/* in processor_idle.c */ 322/* in processor_idle.c */
321int acpi_processor_power_init(struct acpi_processor *pr, 323int acpi_processor_power_init(struct acpi_processor *pr,
322 struct acpi_device *device); 324 struct acpi_device *device);