1. Nov 08, 2013
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-hotplug' · 63ff4d07
      Rafael J. Wysocki authored
      * acpi-hotplug:
        ACPI / hotplug: Consolidate deferred execution of ACPI hotplug routines
        ACPI / hotplug: Do not execute "insert in progress" _OST
        ACPI / hotplug: Carry out PCI root eject directly
        ACPI / hotplug: Merge device hot-removal routines
        ACPI / hotplug: Make acpi_bus_hot_remove_device() internal
        ACPI / hotplug: Simplify device ejection routines
        ACPI / hotplug: Fix handle_root_bridge_removal()
        ACPI / hotplug: Refuse to hot-remove all objects with disabled hotplug
        ACPI / scan: Start matching drivers after trying scan handlers
        ACPI: Remove acpi_pci_slot_init() headers from internal.h
      
      Conflicts:
      	include/acpi/acpiosxf.h (with the 'acpica' branch)
      63ff4d07
    • Rafael J. Wysocki's avatar
      ACPI / hotplug: Consolidate deferred execution of ACPI hotplug routines · 7b98118a
      Rafael J. Wysocki authored
      
      
      There are two different interfaces for queuing up work items on the
      ACPI hotplug workqueue, alloc_acpi_hp_work() used by PCI and PCI host
      bridge hotplug code and acpi_os_hotplug_execute() used by the common
      ACPI hotplug code and docking stations.  They both are somewhat
      cumbersome to use and work slightly differently.
      
      The users of alloc_acpi_hp_work() have to submit a work function that
      will extract the necessary data items from a struct acpi_hp_work
      object allocated by alloc_acpi_hp_work() and then will free that
      object, while it would be more straightforward to simply use a work
      function with one more argument and let the interface take care of
      the execution details.
      
      The users of acpi_os_hotplug_execute() also have to deal with the
      fact that it takes only one argument in addition to the work function
      pointer, although acpi_os_execute_deferred() actually takes care of
      the allocation and freeing of memory, so it would have been able to
      pass more arguments to the work function if it hadn't been
      constrained by the connection with acpi_os_execute().
      
      Moreover, while alloc_acpi_hp_work() makes GFP_KERNEL memory
      allocations, which is correct, because hotplug work items are
      always queued up from process context, acpi_os_hotplug_execute()
      uses GFP_ATOMIC, as that is needed by acpi_os_execute().  Also,
      acpi_os_execute_deferred() queued up by it waits for the ACPI event
      workqueues to flush before executing the work function, whereas
      alloc_acpi_hp_work() can't do anything similar.  That leads to
      somewhat arbitrary differences in behavior between various ACPI
      hotplug code paths and has to be straightened up.
      
      For this reason, replace both alloc_acpi_hp_work() and
      acpi_os_hotplug_execute() with a single interface,
      acpi_hotplug_execute(), combining their behavior and being more
      friendly to its users than any of the two.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Tested-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      7b98118a
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-runtime' · 679d9980
      Rafael J. Wysocki authored
      * pm-runtime:
        PM / runtime: Use pm_runtime_put_sync() in __device_release_driver()
      679d9980
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-sleep' · feba070d
      Rafael J. Wysocki authored
      * pm-sleep:
        PM / hibernate: Avoid overflow in hibernate_preallocate_memory()
      feba070d
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 15d4cb90
      Rafael J. Wysocki authored
      * pm-cpufreq:
        intel_pstate: skip the driver if ACPI has power mgmt option
        cpufreq: ondemand: Remove redundant return statement
        cpufreq: move freq change notifications to cpufreq core
        cpufreq: distinguish drivers that do asynchronous notifications
        cpufreq/intel_pstate: Add static declarations to internal functions
        cpufreq: arm_big_little: reconfigure switcher behavior at run time
        cpufreq: arm_big_little: add in-kernel switching (IKS) support
        ARM: vexpress/TC2: register vexpress-spc cpufreq device
        cpufreq: arm_big_little: add vexpress SPC interface driver
        ARM: vexpress/TC2: add cpu clock support
        ARM: vexpress/TC2: add support for CPU DVFS
      15d4cb90
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' · adf96845
      Rafael J. Wysocki authored
      * pm-cpuidle:
        ARM: EXYNOS: Remove incorrect __init annotation from cpuidle driver
        ARM: EXYNOS: Use dev_err() instead of printk() for cpuidle driver
        intel_idle: use CPU_TASKS_FROZEN instead of a numeric constant
        cpuidle: remove cpuidle_unregister_governor()
        cpuidle: don't call poll_idle_init() for every cpu
        cpuidle: use drv instead of cpuidle_driver in show_current_driver()
        cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock
        cpuidle: replace multiline statements with single line in cpuidle_idle_call()
        cpuidle: reduce code duplication inside cpuidle_idle_call()
        cpuidle: merge two if() statements for checking error cases
        cpuidle: rearrange __cpuidle_register_device() to keep minimal exit points
        cpuidle: rearrange code in __cpuidle_driver_init()
        cpuidle: make __cpuidle_driver_init() return void
        cpuidle: make __cpuidle_device_init() return void
        cpuidle: Fix comments in cpuidle core
        cpuidle: fix indentation of cpumask
      adf96845
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-devfreq' · 230b4b37
      Rafael J. Wysocki authored
      * pm-devfreq:
        PM / devfreq: create_freezable_workqueue() doesn't return an ERR_PTR
        PM / devfreq: Remove duplicate header file inclusion in exynos5_bus.c
        PM / devfreq: Use devm_* APIs in exynos5_bus.c
        PM / devfreq: Remove redundant platform_set_drvdata() in exynos5_bus.c
        PM / devfreq: Fix incorrect usage of IS_ERR_OR_NULL in exynos5_bus.c
      230b4b37
    • Rafael J. Wysocki's avatar
      Merge branch 'powercap' · a4aaf2e0
      Rafael J. Wysocki authored
      * powercap:
        PowerCap: Fix build error with option -Werror=format-security
      a4aaf2e0
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-video' · cf8a1af8
      Rafael J. Wysocki authored
      * acpi-video:
        Revert "ACPI / video: Ignore BIOS initial backlight value for HP 250 G1"
        ACPI / video: Quirk initial backlight level 0
        ACPI / video: Fix initial level validity test
        ACPI / blacklist: fix name of ThinkPad Edge E530
      cf8a1af8
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · 0faf996f
      Rafael J. Wysocki authored
      * acpica: (35 commits)
        ACPICA: Add __init for ACPICA initializers/finalizers.
        ACPICA: Cleanup asmlinkage for ACPICA APIs.
        ACPICA: Update acpidump related header file changes.
        ACPICA: Update compilation environment settings.
        ACPICA: Fix cached object deletion code.
        ACPICA: Remove dead AOPOBJ_INVALID check.
        ACPICA: Cleanup useless memset invocations.
        ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal.
        ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size().
        ACPICA: Add new statistics interface.
        ACPICA: Update DMAR table definitions.
        ACPICA: Update RSDP table definitions.
        ACPICA: Update namespace dump code.
        ACPICA: Update check for setting the ANOBJ_IS_EXTERNAL flag.
        ACPICA: Update default space handlers.
        ACPICA: Update version to 20130927.
        ACPICA: Update aclinux.h for new OSL override mechanism.
        ACPICA: Add support to allow host OS to redefine individual OSL prototypes.
        ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro.
        ACPICA: Fix indentation issues for macro invocations.
        ...
      0faf996f
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-assorted' · ee360d68
      Rafael J. Wysocki authored
      * acpi-assorted:
        ACPI / event: remove unneeded NULL pointer check
        ACPI: Fix spelling mistake in error messages
      ee360d68
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-processor' · 8dbb8d54
      Rafael J. Wysocki authored
      * acpi-processor:
        ACPI / processor: Do not request ACPI cpufreq module directly
      8dbb8d54
    • Rafael J. Wysocki's avatar
      PM / runtime: Use pm_runtime_put_sync() in __device_release_driver() · baab52de
      Rafael J. Wysocki authored
      Commit fa180eb4 (PM / Runtime: Idle devices asynchronously after
      probe|release) modified __device_release_driver() to call
      pm_runtime_put(dev) instead of pm_runtime_put_sync(dev) before
      detaching the driver from the device.  However, that was a mistake,
      because pm_runtime_put(dev) causes rpm_idle() to be queued up and
      the driver may be gone already when that function is executed.
      That breaks the assumptions the drivers have the right to make
      about the core's behavior on the basis of the existing documentation
      and actually causes problems to happen, so revert that part of
      commit fa180eb4
      
       and restore the previous behavior of
      __device_release_driver().
      
      Reported-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Fixes: fa180eb4
      
       (PM / Runtime: Idle devices asynchronously after probe|release)
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: default avatarKevin Hilman <khilman@linaro.org>
      Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
      baab52de
  2. Nov 07, 2013
  3. Nov 06, 2013
  4. Nov 05, 2013
  5. Nov 01, 2013
  6. Oct 31, 2013