diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-26 17:28:55 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-26 17:28:55 -0400 |
| commit | 476525004ac7e2f990b6956efcd44d0780c2ab4c (patch) | |
| tree | 158cd2bbfb232b4f4327b6c20a4e14c6b095a438 /include/acpi | |
| parent | bd22dc17e49973d3d4925970260e9e37f7580a9f (diff) | |
| parent | ec033d0a02901551346b9f43f8ff9bad51378891 (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
Pull ACPI & power management update from Len Brown:
"Re-write of the turbostat tool.
lower overhead was necessary for measuring very large system when
they are very idle.
IVB support in intel_idle
It's what I run on my IVB, others should be able to also:-)
ACPICA core update
We have found some bugs due to divergence between Linux and the
upstream ACPICA base. Most of these patches are to reduce that
divergence to reduce the risk of future bugs.
Some cpuidle updates, mostly for non-Intel
More will be coming, as they depend on this part.
Some thermal management changes needed by non-ACPI systems.
Some _OST (OS Status Indication) updates for hot ACPI hot-plug."
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (51 commits)
Thermal: Documentation update
Thermal: Add Hysteresis attributes
Thermal: Make Thermal trip points writeable
ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check
tools/power: turbostat: fix large c1% issue
tools/power: turbostat v2 - re-write for efficiency
ACPICA: Update to version 20120711
ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
ACPICA: Update header files copyrights to 2012
ACPICA: Add new ACPI table load/unload external interfaces
ACPICA: Split file: tbxface.c -> tbxfload.c
ACPICA: Add PCC address space to space ID decode function
ACPICA: Fix some comment fields
ACPICA: Table manager: deploy new firmware error/warning interfaces
ACPICA: Add new interfaces for BIOS(firmware) errors and warnings
ACPICA: Split exception code utilities to a new file, utexcep.c
ACPI: acpi_pad: tune round_robin_time
ACPICA: Update to version 20120620
ACPICA: Add support for implicit notify on multiple devices
ACPICA: Update comments; no functional change
...
Diffstat (limited to 'include/acpi')
| -rw-r--r-- | include/acpi/acexcep.h | 7 | ||||
| -rw-r--r-- | include/acpi/acnames.h | 2 | ||||
| -rw-r--r-- | include/acpi/acoutput.h | 6 | ||||
| -rw-r--r-- | include/acpi/acpi.h | 2 | ||||
| -rw-r--r-- | include/acpi/acpi_bus.h | 12 | ||||
| -rw-r--r-- | include/acpi/acpiosxf.h | 4 | ||||
| -rw-r--r-- | include/acpi/acpixf.h | 25 | ||||
| -rw-r--r-- | include/acpi/acrestyp.h | 6 | ||||
| -rw-r--r-- | include/acpi/actbl.h | 10 | ||||
| -rw-r--r-- | include/acpi/actbl1.h | 10 | ||||
| -rw-r--r-- | include/acpi/actbl2.h | 10 | ||||
| -rw-r--r-- | include/acpi/actbl3.h | 2 | ||||
| -rw-r--r-- | include/acpi/actypes.h | 13 | ||||
| -rw-r--r-- | include/acpi/platform/acenv.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/acgcc.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 2 |
16 files changed, 74 insertions, 41 deletions
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h index 92d6e1d701ff..19503449814f 100644 --- a/include/acpi/acexcep.h +++ b/include/acpi/acexcep.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (C) 2000 - 2011, Intel Corp. | 8 | * Copyright (C) 2000 - 2012, Intel Corp. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
| @@ -52,6 +52,7 @@ | |||
| 52 | #define AE_CODE_ACPI_TABLES 0x2000 | 52 | #define AE_CODE_ACPI_TABLES 0x2000 |
| 53 | #define AE_CODE_AML 0x3000 | 53 | #define AE_CODE_AML 0x3000 |
| 54 | #define AE_CODE_CONTROL 0x4000 | 54 | #define AE_CODE_CONTROL 0x4000 |
| 55 | #define AE_CODE_MAX 0x4000 | ||
| 55 | #define AE_CODE_MASK 0xF000 | 56 | #define AE_CODE_MASK 0xF000 |
| 56 | 57 | ||
| 57 | #define ACPI_SUCCESS(a) (!(a)) | 58 | #define ACPI_SUCCESS(a) (!(a)) |
| @@ -181,7 +182,7 @@ | |||
| 181 | 182 | ||
| 182 | /* Exception strings for acpi_format_exception */ | 183 | /* Exception strings for acpi_format_exception */ |
| 183 | 184 | ||
| 184 | #ifdef DEFINE_ACPI_GLOBALS | 185 | #ifdef ACPI_DEFINE_EXCEPTION_TABLE |
| 185 | 186 | ||
| 186 | /* | 187 | /* |
| 187 | * String versions of the exception codes above | 188 | * String versions of the exception codes above |
| @@ -295,6 +296,6 @@ char const *acpi_gbl_exception_names_ctrl[] = { | |||
| 295 | "AE_CTRL_PARSE_PENDING" | 296 | "AE_CTRL_PARSE_PENDING" |
| 296 | }; | 297 | }; |
| 297 | 298 | ||
| 298 | #endif /* ACPI GLOBALS */ | 299 | #endif /* EXCEPTION_TABLE */ |
| 299 | 300 | ||
| 300 | #endif /* __ACEXCEP_H__ */ | 301 | #endif /* __ACEXCEP_H__ */ |
diff --git a/include/acpi/acnames.h b/include/acpi/acnames.h index b177f97f53b6..d988ac54f41e 100644 --- a/include/acpi/acnames.h +++ b/include/acpi/acnames.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (C) 2000 - 2011, Intel Corp. | 8 | * Copyright (C) 2000 - 2012, Intel Corp. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index d7bd661bfae7..2457ac849655 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (C) 2000 - 2011, Intel Corp. | 8 | * Copyright (C) 2000 - 2012, Intel Corp. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
| @@ -213,6 +213,8 @@ | |||
| 213 | #define ACPI_WARNING(plist) acpi_warning plist | 213 | #define ACPI_WARNING(plist) acpi_warning plist |
| 214 | #define ACPI_EXCEPTION(plist) acpi_exception plist | 214 | #define ACPI_EXCEPTION(plist) acpi_exception plist |
| 215 | #define ACPI_ERROR(plist) acpi_error plist | 215 | #define ACPI_ERROR(plist) acpi_error plist |
| 216 | #define ACPI_BIOS_WARNING(plist) acpi_bios_warning plist | ||
| 217 | #define ACPI_BIOS_ERROR(plist) acpi_bios_error plist | ||
| 216 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) | 218 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) |
| 217 | 219 | ||
| 218 | #else | 220 | #else |
| @@ -223,6 +225,8 @@ | |||
| 223 | #define ACPI_WARNING(plist) | 225 | #define ACPI_WARNING(plist) |
| 224 | #define ACPI_EXCEPTION(plist) | 226 | #define ACPI_EXCEPTION(plist) |
| 225 | #define ACPI_ERROR(plist) | 227 | #define ACPI_ERROR(plist) |
| 228 | #define ACPI_BIOS_WARNING(plist) | ||
| 229 | #define ACPI_BIOS_ERROR(plist) | ||
| 226 | #define ACPI_DEBUG_OBJECT(obj,l,i) | 230 | #define ACPI_DEBUG_OBJECT(obj,l,i) |
| 227 | 231 | ||
| 228 | #endif /* ACPI_NO_ERROR_MESSAGES */ | 232 | #endif /* ACPI_NO_ERROR_MESSAGES */ |
diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h index de39915f6b7f..c433d5e27679 100644 --- a/include/acpi/acpi.h +++ b/include/acpi/acpi.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (C) 2000 - 2011, Intel Corp. | 8 | * Copyright (C) 2000 - 2012, Intel Corp. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 01e2925523ea..bde976ee068d 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
| @@ -50,6 +50,9 @@ acpi_evaluate_reference(acpi_handle handle, | |||
| 50 | acpi_string pathname, | 50 | acpi_string pathname, |
| 51 | struct acpi_object_list *arguments, | 51 | struct acpi_object_list *arguments, |
| 52 | struct acpi_handle_list *list); | 52 | struct acpi_handle_list *list); |
| 53 | acpi_status | ||
| 54 | acpi_evaluate_hotplug_ost(acpi_handle handle, u32 source_event, | ||
| 55 | u32 status_code, struct acpi_buffer *status_buf); | ||
| 53 | 56 | ||
| 54 | struct acpi_pld { | 57 | struct acpi_pld { |
| 55 | unsigned int revision:7; /* 0 */ | 58 | unsigned int revision:7; /* 0 */ |
| @@ -174,7 +177,8 @@ struct acpi_device_flags { | |||
| 174 | u32 suprise_removal_ok:1; | 177 | u32 suprise_removal_ok:1; |
| 175 | u32 power_manageable:1; | 178 | u32 power_manageable:1; |
| 176 | u32 performance_manageable:1; | 179 | u32 performance_manageable:1; |
| 177 | u32 reserved:24; | 180 | u32 eject_pending:1; |
| 181 | u32 reserved:23; | ||
| 178 | }; | 182 | }; |
| 179 | 183 | ||
| 180 | /* File System */ | 184 | /* File System */ |
| @@ -326,6 +330,11 @@ struct acpi_bus_event { | |||
| 326 | u32 data; | 330 | u32 data; |
| 327 | }; | 331 | }; |
| 328 | 332 | ||
| 333 | struct acpi_eject_event { | ||
| 334 | acpi_handle handle; | ||
| 335 | u32 event; | ||
| 336 | }; | ||
| 337 | |||
| 329 | extern struct kobject *acpi_kobj; | 338 | extern struct kobject *acpi_kobj; |
| 330 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 339 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
| 331 | void acpi_bus_private_data_handler(acpi_handle, void *); | 340 | void acpi_bus_private_data_handler(acpi_handle, void *); |
| @@ -363,6 +372,7 @@ int acpi_bus_register_driver(struct acpi_driver *driver); | |||
| 363 | void acpi_bus_unregister_driver(struct acpi_driver *driver); | 372 | void acpi_bus_unregister_driver(struct acpi_driver *driver); |
| 364 | int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, | 373 | int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, |
| 365 | acpi_handle handle, int type); | 374 | acpi_handle handle, int type); |
| 375 | void acpi_bus_hot_remove_device(void *context); | ||
| 366 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); | 376 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); |
| 367 | int acpi_bus_start(struct acpi_device *device); | 377 | int acpi_bus_start(struct acpi_device *device); |
| 368 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); | 378 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 21a5548c6686..0650f5fa7ce9 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
