ACPI / processor: Set P_LVL{2,3} idle state descriptions
authorYazen Ghannam <yazen.ghannam@amd.com>
Mon, 18 Feb 2019 01:33:49 +0000 (01:33 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Feb 2019 10:29:13 +0000 (11:29 +0100)
commit34a62cd0df89dd7034165048c0921d1314191b66
tree3964c4d068858be67a5323144f51a225b27b233a
parent04b1d5d098491244f506c4265cc95b87210eef2f
ACPI / processor: Set P_LVL{2,3} idle state descriptions

The ACPI idle driver will fallback to using the legacy P_LVL* SystemIO
method of entering C-states if the _CST method is disabled and P_BLK is
defined. However, in this case the C2 and C3 states won't have a
description set, so the user will see "<null>" when reading the
description from sysfs.

Give each of these states a description.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c