diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-15 11:58:49 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-15 11:58:49 -0400 |
| commit | fcdec14365ec96f490cf1c8d9b618643ec88a95e (patch) | |
| tree | 2387a429593fe66a7d017f774a471c1b177184e6 /include | |
| parent | bfbfbf7368627860dd769567599d73ad8f6d8191 (diff) | |
| parent | e3e28670bb28ad52d0d0224e86ec11c3f31ff1ff (diff) | |
Merge tag 'acpi-5.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull more ACPI updates from Rafael Wysocki:
"These fix two regressions introduced during the 5.0 cycle, in ACPICA
and in device PM, cause the values returned by _ADR to be stored in 64
bits and fix two ACPI documentation issues.
Specifics:
- Update the ACPICA code in the kernel to upstream revision 20190509
including one regression fix:
* Prevent excessive ACPI debug messages from being printed by
moving the ACPI_DEBUG_DEFAULT definition to the right place
(Erik Schmauss).
- Set the enable_for_wake bits for wakeup GPEs during suspend to idle
to allow acpi_enable_all_wakeup_gpes() to enable them as
aproppriate and make wakeup devices sighaling events through ACPI
GPEs work with suspend-to-idle again (Rajat Jain).
- Use 64 bits to store the return values of _ADR which are assumed to
be 64-bit by some bus specs and may contain nonzero bits in the
upper 32 bits part for some devices (Pierre-Louis Bossart).
- Fix two minor issues with the ACPI documentation (Sakari Ailus)"
* tag 'acpi-5.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
Documentation: ACPI: Direct references are allowed to devices only
Documentation: ACPI: Use tabs for graph ASL indentation
ACPICA: Update version to 20190509
ACPICA: Linux: move ACPI_DEBUG_DEFAULT flag out of ifndef
ACPI: bus: change _ADR representation to 64 bits
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_bus.h | 2 | ||||
| -rw-r--r-- | include/acpi/acpixf.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 2a462cf4eaa9..52d4375bde9d 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
| @@ -230,7 +230,7 @@ struct acpi_device_dir { | |||
| 230 | /* Plug and Play */ | 230 | /* Plug and Play */ |
| 231 | 231 | ||
| 232 | typedef char acpi_bus_id[8]; | 232 | typedef char acpi_bus_id[8]; |
| 233 | typedef unsigned long acpi_bus_address; | 233 | typedef u64 acpi_bus_address; |
| 234 | typedef char acpi_device_name[40]; | 234 | typedef char acpi_device_name[40]; |
| 235 | typedef char acpi_device_class[20]; | 235 | typedef char acpi_device_class[20]; |
| 236 | 236 | ||
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 3b1b1d0e4c33..4a8a05401fb5 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 13 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
| 14 | 14 | ||
| 15 | #define ACPI_CA_VERSION 0x20190405 | 15 | #define ACPI_CA_VERSION 0x20190509 |
| 16 | 16 | ||
| 17 | #include <acpi/acconfig.h> | 17 | #include <acpi/acconfig.h> |
| 18 | #include <acpi/actypes.h> | 18 | #include <acpi/actypes.h> |
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 624b90b34085..310501994c02 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
| @@ -66,6 +66,11 @@ | |||
| 66 | 66 | ||
| 67 | #define ACPI_INIT_FUNCTION __init | 67 | #define ACPI_INIT_FUNCTION __init |
| 68 | 68 | ||
| 69 | /* Use a specific bugging default separate from ACPICA */ | ||
| 70 | |||
| 71 | #undef ACPI_DEBUG_DEFAULT | ||
| 72 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INFO | ACPI_LV_REPAIR) | ||
| 73 | |||
| 69 | #ifndef CONFIG_ACPI | 74 | #ifndef CONFIG_ACPI |
| 70 | 75 | ||
| 71 | /* External globals for __KERNEL__, stubs is needed */ | 76 | /* External globals for __KERNEL__, stubs is needed */ |
| @@ -82,11 +87,6 @@ | |||
| 82 | #define ACPI_NO_ERROR_MESSAGES | 87 | #define ACPI_NO_ERROR_MESSAGES |
| 83 | #undef ACPI_DEBUG_OUTPUT | 88 | #undef ACPI_DEBUG_OUTPUT |
| 84 | 89 | ||
| 85 | /* Use a specific bugging default separate from ACPICA */ | ||
| 86 | |||
| 87 | #undef ACPI_DEBUG_DEFAULT | ||
| 88 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INFO | ACPI_LV_REPAIR) | ||
| 89 | |||
| 90 | /* External interface for __KERNEL__, stub is needed */ | 90 | /* External interface for __KERNEL__, stub is needed */ |
| 91 | 91 | ||
| 92 | #define ACPI_EXTERNAL_RETURN_STATUS(prototype) \ | 92 | #define ACPI_EXTERNAL_RETURN_STATUS(prototype) \ |
