1. 14 Oct, 2016 1 commit
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq' and 'pm-devfreq' · 383731d9
      Rafael J. Wysocki authored
      * pm-cpufreq:
        cpufreq: CPPC: Correct desired_perf calculation
        cpufreq: conservative: Fix next frequency selection
        cpufreq: skip invalid entries when searching the frequency
        cpufreq: intel_pstate: Fix struct pstate_adjust_policy kerneldoc
        cpufreq: intel_pstate: Proportional algorithm for Atom
        cpufreq: intel_pstate: Clarify comment in get_target_pstate_use_performance()
        cpufreq: intel_pstate: Fix unsafe HWP MSR access
      
      * pm-devfreq:
        PM / devfreq: Skip status update on uninitialized previous_freq
        PM / devfreq: Add proper locking around list_del()
        PM / devfreq: exynos-nocp: Remove redundant code
        PM / devfreq: exynos-nocp: Select REGMAP_MMIO
      383731d9
  2. 13 Oct, 2016 2 commits
  3. 12 Oct, 2016 3 commits
  4. 10 Oct, 2016 4 commits
  5. 09 Oct, 2016 2 commits
    • Rafael J. Wysocki's avatar
      cpufreq: intel_pstate: Clarify comment in get_target_pstate_use_performance() · f00593a4
      Rafael J. Wysocki authored
      Make the comment explaining the meaning of the perf_scaled variable
      in get_target_pstate_use_performance() more straightforward.
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      f00593a4
    • Srinivas Pandruvada's avatar
      cpufreq: intel_pstate: Fix unsafe HWP MSR access · f9f4872d
      Srinivas Pandruvada authored
      This is a requirement that MSR MSR_PM_ENABLE must be set to 0x01 before
      reading MSR_HWP_CAPABILITIES on a given CPU. If cpufreq init() is
      scheduled on a CPU which is not same as policy->cpu or migrates to a
      different CPU before calling msr read for MSR_HWP_CAPABILITIES, it
      is possible that MSR_PM_ENABLE was not to set to 0x01 on that CPU.
      This will cause GP fault. So like other places in this path
      rdmsrl_on_cpu should be used instead of rdmsrl.
      
      Moreover the scope of MSR_HWP_CAPABILITIES is on per thread basis, so it
      should be read from the same CPU, for which MSR MSR_HWP_REQUEST is
      getting set.
      
      dmesg dump or warning:
      
      [   22.014488] WARNING: CPU: 139 PID: 1 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe+0x68/0x70
      [   22.014492] unchecked MSR access error: RDMSR from 0x771
      [   22.014493] Modules linked in:
      [   22.014507] CPU: 139 PID: 1 Comm: swapper/0 Not tainted 4.7.5+ #1
      ...
      ...
      [   22.014516] Call Trace:
      [   22.014542]  [<ffffffff813d7dd1>] dump_stack+0x63/0x82
      [   22.014558]  [<ffffffff8107bc8b>] __warn+0xcb/0xf0
      [   22.014561]  [<ffffffff8107bcff>] warn_slowpath_fmt+0x4f/0x60
      [   22.014563]  [<ffffffff810676f8>] ex_handler_rdmsr_unsafe+0x68/0x70
      [   22.014564]  [<ffffffff810677d9>] fixup_exception+0x39/0x50
      [   22.014604]  [<ffffffff8102e400>] do_general_protection+0x80/0x150
      [   22.014610]  [<ffffffff817f9ec8>] general_protection+0x28/0x30
      [   22.014635]  [<ffffffff81687940>] ? get_target_pstate_use_performance+0xb0/0xb0
      [   22.014642]  [<ffffffff810600c7>] ? native_read_msr+0x7/0x40
      [   22.014657]  [<ffffffff81688123>] intel_pstate_hwp_set+0x23/0x130
      [   22.014660]  [<ffffffff81688406>] intel_pstate_set_policy+0x1b6/0x340
      [   22.014662]  [<ffffffff816829bb>] cpufreq_set_policy+0xeb/0x2c0
      [   22.014664]  [<ffffffff81682f39>] cpufreq_init_policy+0x79/0xe0
      [   22.014666]  [<ffffffff81682cb0>] ? cpufreq_update_policy+0x120/0x120
      [   22.014669]  [<ffffffff816833a6>] cpufreq_online+0x406/0x820
      [   22.014671]  [<ffffffff8168381f>] cpufreq_add_dev+0x5f/0x90
      [   22.014717]  [<ffffffff81530ac8>] subsys_interface_register+0xb8/0x100
      [   22.014719]  [<ffffffff816821bc>] cpufreq_register_driver+0x14c/0x210
      [   22.014749]  [<ffffffff81fe1d90>] intel_pstate_init+0x39d/0x4d5
      [   22.014751]  [<ffffffff81fe13f2>] ? cpufreq_gov_dbs_init+0x12/0x12
      
      Cc: 4.3+ <stable@vger.kernel.org> # 4.3+
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      f9f4872d
  6. 03 Oct, 2016 2 commits
    • Linus Torvalds's avatar
      Merge tag 'pm-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 72ec9456
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "Traditionally, cpufreq is the area with the greatest number of
        changes, but there are fewer of them than last time. There also is
        some activity in the generic power domains and the devfreq frameworks,
        a couple of system suspend and hibernation fixes and some assorted
        changes in other places.
      
        One new feature is the cpufreq change to allow the scheduler to pass
        hints to the governors' utilization update callbacks and some code
        rework based on that. Another one is the support for domain removal in
        the generic power domains framework. Also it is now possible to use
        hibernation with PAGE_POISONING_ZERO enabled and devfreq supports the
        RockChip DFI controller and the rk3399 DMC.
      
        The rest of the changes is mostly fixes and cleanups in a number of
        places.
      
        Specifics:
      
         - Add a mechanism for passing hints from the scheduler to cpufreq
           governors via their utilization update callbacks and use it to
           introduce "IOwait boosting" into the schedutil governor and
           intel_pstate that will make them boost performance if the enqueued
           task was previously waiting on I/O (Rafael Wysocki).
      
         - Fix a schedutil governor problem that causes it to overestimate
           utilization if SMT is in use (Steve Muckle).
      
         - Update defconfigs trying to use the schedutil governor as a module
           which is not possible any more (Javier Martinez Canillas).
      
         - Update the intel_pstate's pstate_sample tracepoint to take "IOwait
           boosting" into account (Srinivas Pandruvada).
      
         - Fix a problem in the cpufreq core causing it to mishandle the
           initialization of CPUs registered after the cpufreq driver (Viresh
           Kumar, Rafael Wysocki).
      
         - Make the cpufreq-dt driver support per-policy governor tunables,
           clean it up and update its Kconfig description (Viresh Kumar).
      
         - Add support for more ARM platforms to the cpufreq-dt driver
           (Chanwoo Choi, Dave Gerlach, Geert Uytterhoeven).
      
         - Make the cpufreq CPPC driver report frequencies in KHz to avoid
           user space compatiblility issues (Al Stone, Hoan Tran).
      
         - Clean up a few cpufreq drivers (st, kirkwood, SCPI) a bit (Colin
           Ian King, Markus Elfring).
      
         - Constify some local structures in the intel_pstate driver (Julia
           Lawall).
      
         - Add a Documentation/cpu-freq/ entry to MAINTAINERS (Jean Delvare).
      
         - Add support for PM domain removal to the generic power domains
           (genpd) framework, add new DT helper functions to it and make it
           always enable debugfs support if available (Jon Hunter, Tomeu
           Vizoso).
      
         - Clean up the generic power domains (genpd) framework and make it
           avoid measuring power-on and power-off latencies during system-wide
           PM transitions (Ulf Hansson).
      
         - Add support for the RockChip DFI controller and the rk3399 DMC to
           the devfreq framework (Lin Huang, Axel Lin, Arnd Bergmann).
      
         - Add COMPILE_TEST to the devfreq framework (Krzysztof Kozlowski,
           Stephen Rothwell).
      
         - Fix a minor issue in the exynos-ppmu devfreq driver and fix up
           devfreq Kconfig indentation style (Wei Yongjun, Jisheng Zhang).
      
         - Fix the system suspend interface to make suspend-to-idle work if
           platform suspend operations have not been registered (Sudeep
           Holla).
      
         - Make it possible to use hibernation with PAGE_POISONING_ZERO
           enabled (Anisse Astier).
      
         - Increas the default timeout of the system suspend/resume watchdog
           and make it depend on EXPERT (Chen Yu).
      
         - Make the operating performance points (OPP) framework avoid using
           OPPs that aren't supported by the platform and fix a build warning
           in it (Dave Gerlach, Arnd Bergmann).
      
         - Fix the ARM cpuidle driver's return value (Christophe Jaillet).
      
         - Make the SmartReflex AVS (Adaptive Voltage Scaling) driver use more
           common logging style (Joe Perches)"
      
      * tag 'pm-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (58 commits)
        PM / OPP: Don't support OPP if it provides supported-hw but platform does not
        cpufreq: st: add missing \n to end of dev_err message
        cpufreq: kirkwood: add missing \n to end of dev_err messages
        PM / Domains: Rename pm_genpd_sync_poweron|poweroff()
        PM / Domains: Don't measure latency of ->power_on|off() during system PM
        PM / Domains: Remove redundant system PM callbacks
        PM / Domains: Simplify detaching a device from its genpd
        PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove
        PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency
        PM / OPP: avoid maybe-uninitialized warning
        PM / Domains: Allow holes in genpd_data.domains array
        cpufreq: CPPC: Avoid overflow when calculating desired_perf
        cpufreq: ti: Use generic platdev driver
        cpufreq: intel_pstate: Add io_boost trace
        partial revert of "PM / devfreq: Add COMPILE_TEST for build coverage"
        cpufreq: intel_pstate: Use IOWAIT flag in Atom algorithm
        cpufreq: schedutil: Add iowait boosting
        cpufreq / sched: SCHED_CPUFREQ_IOWAIT flag to indicate iowait condition
        PM / Domains: Add support for removing nested PM domains by provider
        PM / Domains: Add support for removing PM domains
        ...
      72ec9456
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 7af8a0f8
      Linus Torvalds authored
      Pull arm64 updates from Will Deacon:
       "It's a bit all over the place this time with no "killer feature" to
        speak of.  Support for mismatched cache line sizes should help people
        seeing whacky JIT failures on some SoCs, and the big.LITTLE perf
        updates have been a long time coming, but a lot of the changes here
        are cleanups.
      
        We stray outside arch/arm64 in a few areas: the arch/arm/ arch_timer
        workaround is acked by Russell, the DT/OF bits are acked by Rob, the
        arch_timer clocksource changes acked by Marc, CPU hotplug by tglx and
        jump_label by Peter (all CC'd).
      
        Summary:
      
         - Support for execute-only page permissions
         - Support for hibernate and DEBUG_PAGEALLOC
         - Support for heterogeneous systems with mismatches cache line sizes
         - Errata workarounds (A53 843419 update and QorIQ A-008585 timer bug)
         - arm64 PMU perf updates, including cpumasks for heterogeneous systems
         - Set UTS_MACHINE for building rpm packages
         - Yet another head.S tidy-up
         - Some cleanups and refactoring, particularly in the NUMA code
         - Lots of random, non-critical fixes across the board"
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (100 commits)
        arm64: tlbflush.h: add __tlbi() macro
        arm64: Kconfig: remove SMP dependence for NUMA
        arm64: Kconfig: select OF/ACPI_NUMA under NUMA config
        arm64: fix dump_backtrace/unwind_frame with NULL tsk
        arm/arm64: arch_timer: Use archdata to indicate vdso suitability
        arm64: arch_timer: Work around QorIQ Erratum A-008585
        arm64: arch_timer: Add device tree binding for A-008585 erratum
        arm64: Correctly bounds check virt_addr_valid
        arm64: migrate exception table users off module.h and onto extable.h
        arm64: pmu: Hoist pmu platform device name
        arm64: pmu: Probe default hw/cache counters
        arm64: pmu: add fallback probe table
        MAINTAINERS: Update ARM PMU PROFILING AND DEBUGGING entry
        arm64: Improve kprobes test for atomic sequence
        arm64/kvm: use alternative auto-nop
        arm64: use alternative auto-nop
        arm64: alternative: add auto-nop infrastructure
        arm64: lse: convert lse alternatives NOP padding to use __nops
        arm64: barriers: introduce nops and __nops macros for NOP sequences
        arm64: sysreg: replace open-coded mrs_s/msr_s with {read,write}_sysreg_s
        ...
      7af8a0f8
  7. 02 Oct, 2016 7 commits
    • Linus Torvalds's avatar
      Linux 4.8 · c8d2bc9b
      Linus Torvalds authored
      c8d2bc9b
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm · f76d9c61
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
       "Three relatively small fixes for ARM:
      
         - Roger noticed that dma_max_pfn() was calculating the upper limit
           wrongly, by adding the PFN offset of memory twice.
      
         - A fix from Robin to correct parsing of MPIDR values when the
           address size is larger than one BE32 unit.
      
         - A fix from Srinivas to ensure that we do not rely on the boot
           loader (or previous Linux kernel) setting the translation table
           base register a certain way in the decompressor, which can lead to
           crashes"
      
      * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7
        ARM: 8617/1: dma: fix dma_max_pfn()
        ARM: 8616/1: dt: Respect property size when parsing CPUs
      f76d9c61
    • Srinivas Ramana's avatar
      ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7 · 117e5e9c
      Srinivas Ramana authored
      If the bootloader uses the long descriptor format and jumps to
      kernel decompressor code, TTBCR may not be in a right state.
      Before enabling the MMU, it is required to clear the TTBCR.PD0
      field to use TTBR0 for translation table walks.
      
      The commit dbece458 ("ARM: 7501/1: decompressor:
      reset ttbcr for VMSA ARMv7 cores") does the reset of TTBCR.N, but
      doesn't consider all the bits for the size of TTBCR.N.
      
      Clear TTBCR.PD0 field and reset all the three bits of TTBCR.N to
      indicate the use of TTBR0 and the correct base address width.
      
      Fixes: dbece458 ("ARM: 7501/1: decompressor: reset ttbcr for VMSA ARMv7 cores")
      Acked-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      117e5e9c
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · be67d60b
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "The last regression fixes for 4.8 final:
      
         - Two patches addressing the fallout of the CR4 optimizations which
           caused CR4-less machines to fail.
      
         - Fix the VDSO build on big endian machines
      
         - Take care of FPU initialization if no CPUID is available otherwise
           task struct size ends up being zero
      
         - Fix up context tracking in case load_gs_index fails"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/entry/64: Fix context tracking state warning when load_gs_index fails
        x86/boot: Initialize FPU and X86_FEATURE_ALWAYS even if we don't have CPUID
        x86/vdso: Fix building on big endian host
        x86/boot: Fix another __read_cr4() case on 486
        x86/init: Fix cr4_init_shadow() on CR4-less machines
      be67d60b
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · 66188fb1
      Linus Torvalds authored
      Pull MIPS fixes from Ralf Baechle:
       "Another round of fixes:
      
         - CM: Fix mips_cm_max_vp_width for non-MT kernels on MT systems
         - CPS: Avoid BUG() when offlining pre-r6 CPUs
         - DEC: Avoid gas warnings due to suspicious instruction scheduling by
           manually expanding assembler macros.
         - FTLB: Fix configuration by moving confiuguratoin after probing
         - FTLB: clear execution hazard after changing FTLB enable
         - Highmem: Fix detection of unsupported highmem with cache aliases
         - I6400: Don't touch FTLBP chicken bits
         - microMIPS: Fix BUILD_ROLLBACK_PROLOGUE
         - Malta: Fix IOCU disable switch read for MIPS64
         - Octeon: Fix probing of devices attached to GPIO lines
         - uprobes: Misc small fixes"
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
        MIPS: CM: Fix mips_cm_max_vp_width for non-MT kernels on MT systems
        MIPS: Fix detection of unsupported highmem with cache aliases
        MIPS: Malta: Fix IOCU disable switch read for MIPS64
        MIPS: Fix BUILD_ROLLBACK_PROLOGUE for microMIPS
        MIPS: clear execution hazard after changing FTLB enable
        MIPS: Configure FTLB after probing TLB sizes from config4
        MIPS: Stop setting I6400 FTLBP
        MIPS: DEC: Avoid la pseudo-instruction in delay slots
        MIPS: Octeon: mark GPIO controller node not populated after IRQ init.
        MIPS: uprobes: fix use of uninitialised variable
        MIPS: uprobes: remove incorrect set_orig_insn
        MIPS: fix uretprobe implementation
        MIPS: smp-cps: Avoid BUG() when offlining pre-r6 CPUs
      66188fb1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 0c7fc30f
      Linus Torvalds authored
      Pull sparc fixes from David Miller:
      
       1) Fix section mismatches in some builds, from Paul Gortmaker.
      
       2) Need to count huge zero page mappings when doing TSB sizing, from
          Mike Kravetz.
      
       3) Fix handing of cpu_possible_mask when nr_cpus module option is
          specified, from Atish Patra.
      
       4) Don't allocate irq stacks until nr_irqs has been processed, also
          from Atish Patra.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc64: Fix non-SMP build.
        sparc64: Fix irq stack bootmem allocation.
        sparc64: Fix cpu_possible_mask if nr_cpus is set
        sparc64 mm: Fix more TSB sizing issues
        sparc64: fix section mismatch in find_numa_latencies_for_group
      0c7fc30f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · bb6bbc7c
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix wrong TCP checksums on MTU probing when checksum offloading is
          disabled, from Douglas Caetano dos Santos.
      
       2) Fix qdisc backlog updates in qfq and sfb schedulers, from Cong Wang.
      
       3) Route lookup flow key protocol value is wrong in ip6gre_xmit_other(),
          fix from Lance Richardson.
      
       4) Scheduling while atomic in multicast routing code of ipv4 and ipv6,
          fix from Nikolay Aleksandrov.
      
       5) Fix packet alignment in fec driver, from Eric Nelson.
      
       6) Fix perf regression in sctp due to struct layout and cache misses,
          from Xin Long.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        sctp: fix the issue sctp_diag uses lock_sock in rcu_read_lock
        sctp: change to check peer prsctp_capable when using prsctp polices
        sctp: remove prsctp_param from sctp_chunk
        sctp: move sent_count to the memory hole in sctp_chunk
        tg3: Avoid NULL pointer dereference in tg3_io_error_detected()
        act_ife: Fix false encoding
        act_ife: Fix external mac header on encode
        VSOCK: Don't dec ack backlog twice for rejected connections
        Revert "net: ethernet: bcmgenet: use phydev from struct net_device"
        net: fec: align IP header in hardware
        net: fec: remove QUIRK_HAS_RACC from i.mx27
        net: fec: remove QUIRK_HAS_RACC from i.mx25
        ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route
        ip6_gre: fix flowi6_proto value in ip6gre_xmit_other()
        tcp: fix a compile error in DBGUNDO()
        tcp: fix wrong checksum calculation on MTU probing
        sch_sfb: keep backlog updated with qlen
        sch_qfq: keep backlog updated with qlen
        can: dev: fix deadlock reported after bus-off
      bb6bbc7c
  8. 01 Oct, 2016 8 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-devfreq' and 'pm-sleep' · 993eb0ae
      Rafael J. Wysocki authored
      * pm-devfreq:
        PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove
        PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency
        partial revert of "PM / devfreq: Add COMPILE_TEST for build coverage"
        PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
        Documentation: bindings: add dt documentation for rk3399 dmc
        PM / devfreq: event: support rockchip dfi controller
        Documentation: bindings: add dt documentation for dfi controller
        PM / devfreq: event: remove duplicate devfreq_event_get_drvdata()
        PM / devfreq: fix Kconfig indent style
        PM / devfreq: Add COMPILE_TEST for build coverage
        PM / devfreq: exynos-ppmu: remove unneeded of_node_put()
      
      * pm-sleep:
        PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO
        PM / sleep: enable suspend-to-idle even without registered suspend_ops
        PM / sleep: Increase default DPM watchdog timeout to 120
      993eb0ae
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle', 'pm-opp' and 'pm-avs' · e35db92b
      Rafael J. Wysocki authored
      * pm-cpuidle:
        ARM: cpuidle: Fix error return code
      
      * pm-opp:
        PM / OPP: Don't support OPP if it provides supported-hw but platform does not
        PM / OPP: avoid maybe-uninitialized warning
      
      * pm-avs:
        PM / AVS: SmartReflex: Neaten logging
      e35db92b
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 7005f6dc
      Rafael J. Wysocki authored
      * pm-cpufreq: (24 commits)
        cpufreq: st: add missing \n to end of dev_err message
        cpufreq: kirkwood: add missing \n to end of dev_err messages
        cpufreq: CPPC: Avoid overflow when calculating desired_perf
        cpufreq: ti: Use generic platdev driver
        cpufreq: intel_pstate: Add io_boost trace
        cpufreq: intel_pstate: Use IOWAIT flag in Atom algorithm
        cpufreq: schedutil: Add iowait boosting
        cpufreq / sched: SCHED_CPUFREQ_IOWAIT flag to indicate iowait condition
        cpufreq: CPPC: Force reporting values in KHz to fix user space interface
        cpufreq: create link to policy only for registered CPUs
        intel_pstate: constify local structures
        cpufreq: dt: Support governor tunables per policy
        cpufreq: dt: Update kconfig description
        cpufreq: dt: Remove unused code
        MAINTAINERS: Add Documentation/cpu-freq/
        cpufreq: dt: Add support for r8a7792
        cpufreq / sched: ignore SMT when determining max cpu capacity
        cpufreq: Drop unnecessary check from cpufreq_policy_alloc()
        ARM: multi_v7_defconfig: Don't attempt to enable schedutil governor as module
        ARM: exynos_defconfig: Don't attempt to enable schedutil governor as module
        ...
      7005f6dc
    • Rafael J. Wysocki's avatar
      b6e25117
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-domains' · 2dc3c72c
      Rafael J. Wysocki authored
      * pm-domains:
        PM / Domains: Rename pm_genpd_sync_poweron|poweroff()
        PM / Domains: Don't measure latency of ->power_on|off() during system PM
        PM / Domains: Remove redundant system PM callbacks
        PM / Domains: Simplify detaching a device from its genpd
        PM / Domains: Allow holes in genpd_data.domains array
        PM / Domains: Add support for removing nested PM domains by provider
        PM / Domains: Add support for removing PM domains
        PM / Domains: Store the provider in the PM domain structure
        PM / Domains: Prepare for adding support to remove PM domains
        PM / Domains: Verify the PM domain is present when adding a provider
        PM / Domains: Don't expose xlate and provider helper functions
        PM / Domains: Don't expose generic_pm_domain structure to clients
        staging: board: Remove calls to of_genpd_get_from_provider()
        ARM: EXYNOS: Remove calls to of_genpd_get_from_provider()
        PM / Domains: Add new helper functions for device-tree
        PM / Domains: Always enable debugfs support if available
      2dc3c72c
    • Paul Burton's avatar
      MIPS: CM: Fix mips_cm_max_vp_width for non-MT kernels on MT systems · 6605d156
      Paul Burton authored
      When discovering the number of VPEs per core, smp_num_siblings will be
      incorrect for kernels built without support for the MIPS MultiThreading
      (MT) ASE running on systems which implement said ASE. This leads to
      accesses to VPEs in secondary cores being performed incorrectly since
      mips_cm_vp_id calculates the wrong ID to write to the local "other"
      registers. Fix this by examining the number of VPEs in the core as
      reported by the CM.
      
      This patch presumes that the number of VPEs will be the same in each
      core of the system. As this path only applies to systems with CM version
      2.5 or lower, and this property is true of all such known systems, this
      is likely to be fine but is described in a comment for good measure.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/14338/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      6605d156
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · f51fdffa
      Linus Torvalds authored
      Pull SCSI fix from James Bottomley:
       "One final fix before 4.8.
      
        There was a memory leak triggered by turning scsi mq off due to the
        fact that we assume on host release that the already running hosts
        weren't mq based because that's the state of the global flag (even
        though they were).
      
        Fix it by tracking this on a per host host basis"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: Avoid that toggling use_blk_mq triggers a memory leak
      f51fdffa
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 2161a2a6
      Linus Torvalds authored
      Pull input fix from Dmitry Torokhov:
       "One small change to make joydev (which is used by older games) to bind
        to devices that export Z axis but not X or Y (such as TRC rudder)"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: joydev - recognize devices with Z axis as joysticks
      2161a2a6
  9. 30 Sep, 2016 11 commits