ACPI / bus: Add INT0002 to list of always-present devices
authorHans de Goede <hdegoede@redhat.com>
Fri, 21 Apr 2017 10:47:41 +0000 (12:47 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Apr 2017 22:02:44 +0000 (00:02 +0200)
The INT0002 device is necessary to clear wakeup interrupt sources
on Cherry Trail devices, without it we get nobody cared IRQ msgs
and some systems don't properly resume at all without it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c

index c8e90ef..bd86b80 100644 (file)
@@ -49,6 +49,11 @@ static const struct always_present_id always_present_ids[] = {
         */
        ENTRY("80860F09", "1", ICPU(INTEL_FAM6_ATOM_SILVERMONT1)),
        ENTRY("80862288", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT)),
+       /*
+        * The INT0002 device is necessary to clear wakeup interrupt sources
+        * on Cherry Trail devices, without it we get nobody cared IRQ msgs.
+        */
+       ENTRY("INT0002", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT)),
 };
 
 bool acpi_device_always_present(struct acpi_device *adev)