<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [SNB BAT IGT] pm_rpm fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93123#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [SNB BAT IGT] pm_rpm fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93123">bug 93123</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>Can you please apply

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 602eb4223510..916acdd18b15 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -594,8 +594,14 @@ static int pci_raw_set_power_state(struct pci_dev *dev,
pci_power_t state)
        if (dev->current_state == state)
                return 0;

-       if (!dev->pm_cap)
+       dev_info(&dev->dev, "changing power state, from %s [%d] to %s [%d]\n",
+                pci_power_name(dev->current_state) dev->current_state,
+                pci_power_name(state), state);
+
+       if (!dev->pm_cap) {
+               dev_err(&dev->dev, "unable to change power levels (no
pm_cap)\n");
                return -EIO;
+       }

        if (state < PCI_D0 || state > PCI_D3hot)
                return -EINVAL;

and let's confirm that we do get the PCI power change request.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>