PCI/ACPI: Decode _OSC bitmasks symbolically
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2013 21:07:45 +0000 (15:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 23 Sep 2013 23:40:47 +0000 (17:40 -0600)
commit955f14b4ed0648da12f0a7011f94150b8982a5c2
tree4d14526d61ff258d0613fb5f93994228a13bfff0
parentde18966228ed4b42393ecbe83ba20ff3db78bfdc
PCI/ACPI: Decode _OSC bitmasks symbolically

This updates _OSC-related messages to be more human-readable.  We now always
show the features we declare support for (this was previously invisible) as
well as the features we are granted control of.

Typical changes:

  -acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
  -acpi PNP0A08:00: ACPI _OSC control (0x1d) granted
  +acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
  +acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c