1. 06 1月, 2016 3 次提交
  2. 30 12月, 2015 2 次提交
  3. 29 12月, 2015 6 次提交
  4. 25 12月, 2015 3 次提交
  5. 24 12月, 2015 3 次提交
  6. 23 12月, 2015 9 次提交
  7. 22 12月, 2015 12 次提交
  8. 21 12月, 2015 2 次提交
    • S
      ACPI / processor: Fix thermal cooling device regression · ce360db7
      Srinivas Pandruvada 提交于
      The processor cooling device is no longer present for passive thermal
      control.
      
      Commit 239708a3 ("ACPI: Split out ACPI PSS from ACPI Processor driver")
      moved the processing to a new function acpi_pss_perf_init(), but
      missed "return 0" after successful creation.  This causes the error
      handling functions to be called, which will delete the previously
      created processor cooling device.
      
      Fixes: 239708a3 (ACPI: Split out ACPI PSS from ACPI Processor driver)
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Cc: 4.3+ <stable@vger.kernel.org> # 4.3+
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ce360db7
    • N
      md: remove check for MD_RECOVERY_NEEDED in action_store. · 312045ee
      NeilBrown 提交于
      md currently doesn't allow a 'sync_action' such as 'reshape' to be set
      while MD_RECOVERY_NEEDED is set.
      
      This s a problem, particularly since commit 738a2738 as that can
      cause ->check_shape to call mddev_resume() which sets
      MD_RECOVERY_NEEDED.  So by the time we come to start 'reshape' it is
      very likely that MD_RECOVERY_NEEDED is still set.
      
      Testing for this flag is not really needed and is in any case very
      racy as it can be set at any moment - asynchronously.  Any race
      between setting a sync_action and setting MD_RECOVERY_NEEDED must
      already be handled properly in some locked code, probably
      md_check_recovery(), so remove the test here.
      
      The test on MD_RECOVERY_RUNNING is also racy in the 'reshape' case
      so we should test it again after getting mddev_lock().
      
      As this fixes a race and a regression which can cause 'reshape' to
      fail, it is suitable for -stable kernels since 4.1
      Reported-by: NXiao Ni <xni@redhat.com>
      Fixes: 738a2738 ("md/raid5: fix allocation of 'scribble' array.")
      Cc: stable@vger.kernel.org (v4.1+)
      Signed-off-by: NNeilBrown <neilb@suse.com>
      312045ee