[PATCH][v2] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-02 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to supply an _S5 object. This

[PATCH][v2] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-02 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to supply an _S5 object. This