07 Nov, 2016

1 commit

  • Commit cc7cc02bada8 ("PCI: Query platform firmware for device power
    state") augmented struct pci_platform_pm_ops with a ->get_state hook and
    implemented it for acpi_pci_platform_pm, the only pci_platform_pm_ops
    existing till v4.7.

    However v4.8 introduced another pci_platform_pm_ops for Intel Mobile
    Internet Devices with commit 5823d0893ec2 ("x86/platform/intel-mid: Add
    Power Management Unit driver"). It is missing the ->get_state hook,
    which is fatal since pci_set_platform_pm() enforces its presence. Andy
    Shevchenko reports that without the present commit, such a device
    "crashes without even a character printed out on serial console and
    reboots (since watchdog)".

    Retrofit mid_pci_platform_pm with the missing callback to fix the
    breakage.

    Acked-and-tested-by: Andy Shevchenko
    Fixes: cc7cc02bada8 ("PCI: Query platform firmware for device power state")
    Signed-off-by: Lukas Wunner
    Acked-by: Bjorn Helgaas
    Cc: linux-pci@vger.kernel.org
    Cc: Andy Shevchenko
    Link: http://lkml.kernel.org/r/7c1567d4c49303a4aada94ba16275cbf56b8976b.1477221514.git.lukas@wunner.de
    Signed-off-by: Thomas Gleixner

    Lukas Wunner
     

08 Sep, 2016

2 commits

  • Commit:

    ca22312dc840 ("x86/platform/intel-mid: Extend PWRMU to support Penwell")

    ... enabled the PWRMU driver on platforms based on Intel Penwell, but
    unfortunately this is not enough.

    Add Intel Penwell ID to pci-mid.c driver as well. To avoid confusion in the
    future add a comment to both drivers.

    Signed-off-by: Andy Shevchenko
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Fixes: ca22312dc840 ("x86/platform/intel-mid: Extend PWRMU to support Penwell")
    Link: http://lkml.kernel.org/r/20160908103232.137587-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Ingo Molnar

    Andy Shevchenko
     
  • Merrifield2 is actually Moorefield.

    Rename it accordingly and drop tail digit from Merrifield1.

    Signed-off-by: Andy Shevchenko
    Cc: Dave Hansen
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/20160906184254.94440-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Ingo Molnar

    Andy Shevchenko
     

15 Jun, 2016

1 commit

  • Add Power Management Unit driver to handle power states of South Complex
    devices on Intel Tangier. In the future it might be expanded to cover North
    Complex devices as well.

    With this driver the power state of the host controllers such as SPI, I2C,
    UART, eMMC, and DMA would be managed.

    Signed-off-by: Andy Shevchenko
    Cc: Bjorn Helgaas
    Cc: David Cohen
    Cc: Linus Torvalds
    Cc: Mika Westerberg
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-pci@vger.kernel.org
    Link: http://lkml.kernel.org/r/1465928985-12113-1-git-send-email-andriy.shevchenko@linux.intel.com
    [ Minor readability edits. ]
    Signed-off-by: Ingo Molnar

    Andy Shevchenko