1. 07 7月, 2015 1 次提交
  2. 15 6月, 2015 1 次提交
  3. 10 3月, 2015 1 次提交
  4. 19 2月, 2015 2 次提交
    • M
      ACPI / LPSS: Deassert resets for SPI host controllers on Braswell · 3095794a
      Mika Westerberg 提交于
      On some Braswell systems BIOS leaves resets for SPI host controllers
      active. This prevents the SPI driver from transferring messages on wire.
      
      Fix this in similar way that we do for I2C already by deasserting resets
      for the SPI host controllers.
      Reported-by: NYang A Fang <yang.a.fang@intel.com>
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3095794a
    • M
      ACPI / LPSS: Always disable I2C host controllers · 3293c7b8
      Mika Westerberg 提交于
      On Baytrail and Braswell the BIOS might leave the I2C host controllers
      enabled, probably because it uses them for its own purposes. This is fine
      in normal cases because the I2C driver will disable the hardware when it
      is probed anyway.
      
      However, in case of suspend to disk it is different story. If the driver
      happens to be compiled as a module the boot kernel never loads the driver
      thus leaving host controllers enabled upon loading the hibernation image.
      
      The I2C host controller interrupt mask register has default value of 0x8ff,
      in other words it has most of the interrupts unmasked. When combined with
      the fact that the host controller is enabled, the driver immediately starts
      getting interrupts even before its resume hook is called (once IO-APIC is
      resumed). Since the driver is not prepared for this it will crash the
      kernel due to NULL pointer derefence because dev->msgs is NULL.
      
      Unfortunately we were not able to get full backtrace to from the console
      which could be reproduced here.
      
      In order to fix this even when the driver is compiled as module, we disable
      the I2C host controllers in byt_i2c_setup() before devices are created.
      Reported-by: NYu Chen <yu.c.chen@intel.com>
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3293c7b8
  5. 18 2月, 2015 1 次提交
  6. 05 2月, 2015 1 次提交
  7. 03 2月, 2015 1 次提交
  8. 24 1月, 2015 1 次提交
  9. 22 1月, 2015 1 次提交
  10. 04 12月, 2014 1 次提交
  11. 12 11月, 2014 3 次提交
  12. 25 9月, 2014 2 次提交
  13. 09 9月, 2014 1 次提交
  14. 03 9月, 2014 4 次提交
  15. 26 8月, 2014 1 次提交
  16. 01 8月, 2014 1 次提交
  17. 17 6月, 2014 1 次提交
  18. 30 5月, 2014 1 次提交
  19. 25 5月, 2014 3 次提交
  20. 23 5月, 2014 1 次提交
  21. 19 2月, 2014 1 次提交
  22. 11 2月, 2014 1 次提交
    • R
      ACPI / LPSS: Support for device latency tolerance PM QoS · 1a8f8351
      Rafael J. Wysocki 提交于
      Add a new routine, acpi_lpss_set_ltr(), for setting latency tolerance
      values for LPSS devices having LTR (Latency Tolerance Reporting)
      registers.  Add .bind()/.unbind() callbacks to lpss_handler to set
      the LPSS devices' power.set_latency_tolerance callback pointers to
      acpi_lpss_set_ltr() during device addition and to clear them on
      device removal, respectively.
      
      That will cause the device latency tolerance PM QoS to work for
      the devices in question as documented.
      
      This changeset includes a fix from Mika Westerberg.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1a8f8351
  23. 18 1月, 2014 1 次提交
  24. 30 11月, 2013 1 次提交
  25. 13 11月, 2013 1 次提交
  26. 11 10月, 2013 1 次提交
  27. 02 9月, 2013 1 次提交
  28. 20 6月, 2013 1 次提交
    • R
      ACPI / LPSS: Power up LPSS devices during enumeration · b9e95fc6
      Rafael J. Wysocki 提交于
      Commit 7cd8407d (ACPI / PM: Do not execute _PS0 for devices without
      _PSC during initialization) introduced a regression on some systems
      with Intel Lynxpoint Low-Power Subsystem (LPSS) where some devices
      need to be powered up during initialization, but their device objects
      in the ACPI namespace have _PS0 and _PS3 only (without _PSC or power
      resources).
      
      To work around this problem, make the ACPI LPSS driver power up
      devices it knows about by using a new helper function
      acpi_device_fix_up_power() that does all of the necessary
      sanity checks and calls acpi_dev_pm_explicit_set() to put the
      device into D0.
      Reported-and-tested-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b9e95fc6
  29. 19 6月, 2013 3 次提交