1. 30 5月, 2014 12 次提交
  2. 27 5月, 2014 2 次提交
  3. 26 5月, 2014 2 次提交
  4. 25 5月, 2014 3 次提交
  5. 20 5月, 2014 2 次提交
  6. 17 5月, 2014 2 次提交
  7. 16 5月, 2014 5 次提交
    • T
      ACPI / processor: Fix STARTING/DYING action in acpi_cpu_soft_notify() · 8da83734
      Toshi Kani 提交于
      During CPU online/offline testing on a large system, one of the
      processors got stuck after the message "bad: scheduling from the
      idle thread!".  The problem is that acpi_cpu_soft_notify() calls
      acpi_bus_get_device() for all action types.  CPU_STARTING and
      CPU_DYING do not allow the notify handlers to sleep.  However,
      acpi_bus_get_device() can sleep in acpi_ut_acquire_mutex().
      
      Change acpi_cpu_soft_notify() to return immediately for CPU_STARTING
      and CPU_DYING as they have no action in this handler.
      Signed-off-by: NToshi Kani <toshi.kani@hp.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8da83734
    • L
      ACPI / battery: Accelerate battery resume callback · 9e50bc14
      Lan Tianyu 提交于
      Most time of battery resume callback is spent on executing AML code
      _BTP, _BIF and _BIF to get battery info, status and set alarm. These
      AML methods may access EC operation regions several times and consumes
      time.
      
      These operations are not necessary during devices resume and can run
      during POST_SUSPEND/HIBERNATION event when all processes are thawed.
      
      This also can avoid removing and adding battery sysfs nodes every system
      resume even if the battery unit is not actually changed. The original code
      updates sysfs nodes without check and this seems not reasonable.
      Signed-off-by: NLan Tianyu <tianyu.lan@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9e50bc14
    • H
      ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips · a3cffce4
      Heikki Krogerus 提交于
      These IDs are used on Baytrail boards such as Lenovo Miix 2
      and Asus Transformer Book T100TA. On lenovo Miix 2 8",
      BCM4752 is called LNV4752. All the rest of the IDs are for
      Broadcom BCM43241 module with the ID referring to different
      revision number.
      Signed-off-by: NHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a3cffce4
    • B
      ACPI / processor: Check if LAPIC is present during initialization · c401eb8e
      Baoquan He 提交于
      In acpi_processor_get_info(), ACPI processor info is initialized including
      ID, namely CPU index. Currently, on a UP system running an SMP kerenl with
      no LAPIC in the MADT, cpu0_initialized is checked to decide whether or not
      the CPU has been initialized.
      
      However, this check may not be sufficient for kdump kernels. Most of time
      only 1 CPU is supported because of known problems in kdump kernels. So say
      the multiple CPUs are present in the boot kernel and a crash happens on
      one specific CPU, say CPU2. Then it jumps into the kdump kernel with
      "nr_cpus=1" in the command line. In this situation, the kdump kernel
      will reuse the ACPI resources from the crashed kernel directly. That
      means all LAPIC instances are enabled in the MADT while only one CPU is
      in use.  In the kdump kernel, x86_cpu_to_apicid contains the correct APIC
      ID and it's related to the CPU ID. If cpu0_initialized is checked only, 0
      will be used as the CPU index instead of that APIC ID, which is not
      correct.
      
      In addition to checking cpu0_initialized, check acpi_lapic. If acpi_lapic
      is 0, then no LAPIC is available from the MADT and the system should be
      treated as a UP one without a LAPIC (that is, assign 0 to the CPU index).
      Otherwise, use the original (valid) CPU index.
      Signed-off-by: NBaoquan He <bhe@redhat.com>
      [rjw: Subject and changelog]
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c401eb8e
    • R
      ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state · 1f0b6386
      Rafael J. Wysocki 提交于
      The "freeze" sleep state suffers from the same issue that was
      addressed by commit ad07277e (ACPI / PM: Hold acpi_scan_lock over
      system PM transitions) for ACPI sleep states, that is, things break
      if ->remove() is called for devices whose system resume callbacks
      haven't been executed yet.
      
      It also can be addressed in the same way, by holding the ACPI scan
      lock over the "freeze" sleep state and PM transitions to and from
      that state, but ->begin() and ->end() platform operations for the
      "freeze" sleep state are needed for this purpose.
      
      This change has been tested on Acer Aspire S5 with Thunderbolt.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1f0b6386
  8. 13 5月, 2014 2 次提交
  9. 10 5月, 2014 2 次提交
  10. 08 5月, 2014 4 次提交
  11. 07 5月, 2014 1 次提交
  12. 06 5月, 2014 3 次提交