1. 01 Sep, 2015 24 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-tools' and 'powercap' · e625ccec
      Rafael J. Wysocki authored
      * pm-tools:
        tools: cpupower: Fix error when running cpupower monitor
        tools/power turbostat: fix typo on DRAM column in Joules-mode
        cpupower: Do not change the frequency of offline cpu
        tools/power turbostat: fix parameter passing for forked command
        tools/power turbostat: dump CONFIG_TDP
        tools/power turbostat: cpu0 is no longer hard-coded, so  update output
        tools/power turbostat: update turbostat(8)
      
      * powercap:
        powercap / RAPL: disable the 2nd power limit properly
        powercap / RAPL: Add support for Broadwell-H
        powercap / RAPL: Add support for Skylake H/S
      e625ccec
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-sleep', 'pm-domains' and 'pm-avs' · 56963d99
      Rafael J. Wysocki authored
      * pm-sleep:
        PM / suspend: make sync() on suspend-to-RAM build-time optional
        PM / sleep: Allow devices without runtime PM to do direct-complete
        PM / autosleep: Use workqueue for user space wakeup sources garbage collector
      
      * pm-domains:
        PM / Domains: Fix typo in description of genpd_dev_pm_detach()
        PM / Domains: Remove unusable governor dummies
        PM / Domains: Make pm_genpd_init() available to modules
        PM / domains: Align column headers and data in pm_genpd_summary output
        PM / Domains: Return -EPROBE_DEFER if we fail to init or turn-on domain
        PM / Domains: Correct unit address in power-controller example
        PM / Domains: Remove intermediate states from the power off sequence
      
      * pm-avs:
        PM / AVS: rockchip-io: add io selectors and supplies for rk3368
        PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS
      56963d99
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle', 'pm-devfreq' and 'pm-clk' · 5cf896b3
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle/coupled: Remove redundant 'dev' argument of cpuidle_state_is_coupled()
        cpuidle/coupled: Remove cpuidle_device::safe_state_index
        intel_idle: Skylake Client Support
        intel_idle: allow idle states to be freeze-mode specific
      
      * pm-devfreq:
        PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2
        PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433
        PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding
      
      * pm-clk:
        PM / clk: don't return int on __pm_clk_enable()
      5cf896b3
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-opp' · ac2a29c8
      Rafael J. Wysocki authored
      * pm-opp:
        PM / OPP: Drop unlikely before IS_ERR(_OR_NULL)
        PM / OPP: Fix static checker warning (broken 64bit big endian systems)
        PM / OPP: Free resources and properly return error on failure
        cpufreq-dt: make scaling_boost_freqs sysfs attr available when boost is enabled
        cpufreq: dt: Add support for turbo/boost mode
        cpufreq: dt: Add support for operating-points-v2 bindings
        cpufreq: Allow drivers to enable boost support after registering driver
        cpufreq: Update boost flag while initializing freq table from OPPs
        PM / OPP: add dev_pm_opp_is_turbo() helper
        PM / OPP: Add helpers for initializing CPU OPPs
        PM / OPP: Add support for opp-suspend
        PM / OPP: Add OPP sharing information to OPP library
        PM / OPP: Add clock-latency-ns support
        PM / OPP: Add support to parse "operating-points-v2" bindings
        PM / OPP: Break _opp_add_dynamic() into smaller functions
        PM / OPP: Allocate dev_opp from _add_device_opp()
        PM / OPP: Create _remove_device_opp() for freeing dev_opp
        PM / OPP: Relocate few routines
        PM / OPP: Create a directory for opp bindings
        PM / OPP: Update bindings to make opp-hz a 64 bit value
      ac2a29c8
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 4ffe18c2
      Rafael J. Wysocki authored
      * pm-cpufreq: (53 commits)
        cpufreq: speedstep-lib: Use monotonic clock
        cpufreq: powernv: Increase the verbosity of OCC console messages
        cpufreq: sfi: use kmemdup rather than duplicating its implementation
        cpufreq: drop !cpufreq_driver check from cpufreq_parse_governor()
        cpufreq: rename cpufreq_real_policy as cpufreq_user_policy
        cpufreq: remove redundant 'policy' field from user_policy
        cpufreq: remove redundant 'governor' field from user_policy
        cpufreq: update user_policy.* on success
        cpufreq: use memcpy() to copy policy
        cpufreq: remove redundant CPUFREQ_INCOMPATIBLE notifier event
        cpufreq: mediatek: Add MT8173 cpufreq driver
        dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
        intel_pstate: append more Oracle OEM table id to vendor bypass list
        intel_pstate: Add SKY-S support
        intel_pstate: Fix possible overflow complained by Coverity
        cpufreq: Correct a freq check in cpufreq_set_policy()
        cpufreq: Lock CPU online/offline in cpufreq_register_driver()
        cpufreq: Replace recover_policy with new_policy in cpufreq_online()
        cpufreq: Separate CPU device registration from CPU online
        cpufreq: powernv: Restore cpu frequency to policy->cur on unthrottling
        ...
      4ffe18c2
    • Abhilash Jindal's avatar
      cpufreq: speedstep-lib: Use monotonic clock · 72e624de
      Abhilash Jindal authored
      Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
      user setting the time or due to NTP.
      
      Monotonic time is constantly increasing time better suited for comparing two
      timestamps.
      Signed-off-by: default avatarAbhilash Jindal <klock.android@gmail.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      72e624de
    • Shilpasri G Bhat's avatar
      cpufreq: powernv: Increase the verbosity of OCC console messages · 309d0631
      Shilpasri G Bhat authored
      Modify the OCC reset/load/active event message to make it clearer for
      the user to understand the event and effect of the event.
      Suggested-by: default avatarStewart Smith <stewart@linux.vnet.ibm.com>
      Signed-off-by: default avatarShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      309d0631
    • Andrzej Hajda's avatar
      cpufreq: sfi: use kmemdup rather than duplicating its implementation · a482e556
      Andrzej Hajda authored
      The patch was generated using fixed coccinelle semantic patch
      scripts/coccinelle/api/memdup.cocci [1].
      
      [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a482e556
    • Viresh Kumar's avatar
      cpufreq: drop !cpufreq_driver check from cpufreq_parse_governor() · 36dfef23
      Viresh Kumar authored
      Driver is guaranteed to be present on a call to cpufreq_parse_governor()
      and there is no need to check for !cpufreq_driver. Drop it.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      36dfef23
    • Viresh Kumar's avatar
      cpufreq: rename cpufreq_real_policy as cpufreq_user_policy · c7a7b418
      Viresh Kumar authored
      Its all about caching min/max freq requested by userspace, and
      the name 'cpufreq_real_policy' doesn't fit that well. Rename it to
      cpufreq_user_policy.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c7a7b418
    • Viresh Kumar's avatar
      cpufreq: remove redundant 'policy' field from user_policy · 88dc4384
      Viresh Kumar authored
      Its always same as policy->policy, and there is no need to keep another
      copy of it. Remove it.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      88dc4384
    • Viresh Kumar's avatar
      cpufreq: remove redundant 'governor' field from user_policy · e27f8bd2
      Viresh Kumar authored
      Its always same as policy->governor, and there is no need to keep
      another copy of it. Remove it.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      e27f8bd2
    • Viresh Kumar's avatar
      cpufreq: update user_policy.* on success · 14ca0bdf
      Viresh Kumar authored
      'user_policy' caches properties of a policy that are set by userspace.
      And these must be updated only if cpufreq core was successful in
      updating them based on request from user space.
      
      In store_scaling_governor(), we are updating user_policy.policy and
      user_policy.governor even if cpufreq_set_policy() failed. That's
      incorrect.
      
      Fix this by updating user_policy.* only if we were successful in
      updating the properties.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      14ca0bdf
    • Viresh Kumar's avatar
      cpufreq: use memcpy() to copy policy · 8fa5b631
      Viresh Kumar authored
      cpufreq_get_policy() is useful if the pointer to policy isn't available
      in advance. But if it is available, then there is no need to call
      cpufreq_get_policy(). Directly use memcpy() to copy the policy.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8fa5b631
    • Viresh Kumar's avatar
      cpufreq: remove redundant CPUFREQ_INCOMPATIBLE notifier event · 6bfb7c74
      Viresh Kumar authored
      What's being done from CPUFREQ_INCOMPATIBLE, can also be done with
      CPUFREQ_ADJUST. There is nothing special with CPUFREQ_INCOMPATIBLE
      notifier.
      
      Kill CPUFREQ_INCOMPATIBLE and fix its usage sites.
      
      This also updates the numbering of notifier events to remove holes.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6bfb7c74
    • Pi-Cheng Chen's avatar
      cpufreq: mediatek: Add MT8173 cpufreq driver · 1453863f
      Pi-Cheng Chen authored
      Mediatek MT8173 is an ARMv8 based quad-core (2*Cortex-A53 and
      2*Cortex-A72) SoC with duall clusters. For each cluster, two voltage
      inputs, Vproc and Vsram are supplied by two regulators. For the big
      cluster, two regulators come from different PMICs. In this case, when
      scaling voltage inputs of the cluster, the voltages of two regulator
      inputs need to be controlled by software explicitly under the SoC
      specific limitation:
      
      	100mV < Vsram - Vproc < 200mV
      
      which is called 'voltage tracking' mechanism. And when scaling the
      frequency of cluster clock input, the input MUX need to be parented to
      another "intermediate" stable PLL first and reparented to the original
      PLL once the original PLL is stable at the target frequency. This patch
      implements those mechanisms to enable CPU DVFS support for Mediatek
      MT8173 SoC.
      Signed-off-by: default avatarPi-Cheng Chen <pi-cheng.chen@linaro.org>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1453863f
    • Pi-Cheng Chen's avatar
      dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings · c9c96ae2
      Pi-Cheng Chen authored
      This patch adds the clock and regulator consumer properties part of
      document for CPU DVFS clocks on Mediatek MT8173 SoC.
      Signed-off-by: default avatarPi-Cheng Chen <pi-cheng.chen@linaro.org>
      Acked-by: default avatarMichael Turquette <mturquette@baylibre.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c9c96ae2
    • Rafael J. Wysocki's avatar
      Merge branch 'device-properties' · 49801251
      Rafael J. Wysocki authored
      * device-properties:
        device property: check fwnode type in to_of_node()
        device property: attach 'else if' to the proper 'if'
        device property: fallback to pset when gettng one string
        device property: fix potential NULL pointer dereference
      49801251
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pci', 'acpi-soc', 'acpi-ec' and 'acpi-osl' · 5d2a1a92
      Rafael J. Wysocki authored
      * acpi-pci:
        ACPI, PCI: Penalize legacy IRQ used by ACPI SCI
      
      * acpi-soc:
        ACPI / LPSS: Ignore 10ms delay for Braswell
      
      * acpi-ec:
        ACPI / EC: Fix an issue caused by the serialized _Qxx evaluations
      
      * acpi-osl:
        ACPI / osl: replace custom implementation of readq / writeq
      5d2a1a92
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-pm' · ef5f5de0
      Rafael J. Wysocki authored
      * acpi-pm:
        ACPI / bus: Move duplicate code to a separate new function
        mfd: Add support for Intel Sunrisepoint LPSS devices
        dmaengine: add a driver for Intel integrated DMA 64-bit
        mfd: make mfd_remove_devices() iterate in reverse order
        driver core: implement device_for_each_child_reverse()
        klist: implement klist_prev()
        Driver core: wakeup the parent device before trying probe
        ACPI / PM: Attach ACPI power domain only once
        PM / QoS: Make it possible to expose device latency tolerance to userspace
        ACPI / PM: Update the copyright notice and description of power.c
      ef5f5de0
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-processor' and 'acpi-assorted' · 73990fc8
      Rafael J. Wysocki authored
      * acpi-scan:
        ACPI / bus: Move ACPI bus type registration
        ACPI / scan: Move bus operations and notification routines to bus.c
        ACPI / scan: Move device matching code to bus.c
        ACPI / scan: Move sysfs-related device code to a separate file
      
      * acpi-processor:
        PCC: Disable compilation by default
        ACPI: Decouple ACPI idle and ACPI processor drivers
        ACPI: Split out ACPI PSS from ACPI Processor driver
        PCC: Initialize PCC Mailbox earlier at boot
        ACPI / processor: remove leftover __refdata annotations
      
      * acpi-assorted:
        ACPI: fix acpi_debugfs_init prototype
        ACPI: Remove FSF mailing addresses
      73990fc8
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-trace' · 94f2bb9b
      Rafael J. Wysocki authored
      * acpi-trace:
        ACPI / Documentation: Update method tracing documentation.
        ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name.
        ACPI / sysfs: Update method tracing facility.
        ACPI / sysfs: Add ACPI_LV_REPAIR debug level.
      94f2bb9b
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-tools' · 20a20008
      Rafael J. Wysocki authored
      * acpi-tools:
        tools/power/acpi: Enable build for EC userspace tool
        tools/power/acpi: Add descend support in ACPI tools Makefile
      20a20008
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · c91c5b27
      Rafael J. Wysocki authored
      * acpica: (42 commits)
        ACPICA: Update version to 20150818
        ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores
        ACPICA: Disassembler: Cleanup acpi_gbl_db_opt_verbose acpiexec usage
        ACPICA: Disassembler: Cleanup acpi_gbl_db_opt_disasm
        ACPICA: Debugger: Split debugger initialization/termination APIs
        ACPICA: Header support to improve compatibility with MSVC
        ACPICA: Make the max-number-of-loops runtime configurable
        ACPICA: Debugger: Add option to display namespace summary/counts
        ACPICA: Add additional debug info/statements
        ACPICA: Table handling: Cleanup and update debug output for tools
        ACPICA: acpiexec/acpinames: Support very large number of ACPI tables
        ACPICA: acpinames: Add new options and wildcard support
        ACPICA: Headers: Fix some comments, no functional change
        ACPICA: Tables: Cleanup to reduce FACS globals
        ACPICA: Tables: Fix global table list issues by removing fixed table indexes
        ACPICA: Update info messages during ACPICA init
        ACPICA: Disassembler: Update for new listing mode
        ACPICA: Update parameter validation for data_table_region and load_table
        ACPICA: Disassembler: Remove duplicate code in _PLD processing.
        ACPICA: Correctly cleanup after a ACPI table load failure
        ...
      c91c5b27
  2. 30 Aug, 2015 1 commit
  3. 29 Aug, 2015 1 commit
  4. 28 Aug, 2015 14 commits