1. 13 Nov, 2017 6 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq-sched' and 'pm-opp' · 28da4395
      Rafael J. Wysocki authored
      * pm-cpufreq-sched:
        cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
      
      * pm-opp:
        PM / OPP: Add dev_pm_opp_{un}register_get_pstate_helper()
        PM / OPP: Support updating performance state of device's power domain
        PM / OPP: add missing of_node_put() for of_get_cpu_node()
        PM / OPP: Rename dev_pm_opp_register_put_opp_helper()
        PM / OPP: Add missing of_node_put(np)
        PM / OPP: Move error message to debug level
        PM / OPP: Use snprintf() to avoid kasprintf() and kfree()
        PM / OPP: Move the OPP directory out of power/
      28da4395
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 60af981c
      Rafael J. Wysocki authored
      * pm-cpufreq: (22 commits)
        cpufreq: stats: Handle the case when trans_table goes beyond PAGE_SIZE
        cpufreq: arm_big_little: make cpufreq_arm_bL_ops structures const
        cpufreq: arm_big_little: make function arguments and structure pointer const
        cpufreq: pxa: convert to clock API
        cpufreq: speedstep-lib: mark expected switch fall-through
        cpufreq: ti-cpufreq: add missing of_node_put()
        cpufreq: dt: Remove support for Exynos4212 SoCs
        cpufreq: imx6q: Move speed grading check to cpufreq driver
        cpufreq: ti-cpufreq: kfree opp_data when failure
        cpufreq: SPEAr: pr_err() strings should end with newlines
        cpufreq: powernow-k8: pr_err() strings should end with newlines
        cpufreq: dt-platdev: drop socionext,uniphier-ld6b from whitelist
        arm64: wire cpu-invariant accounting support up to the task scheduler
        arm64: wire frequency-invariant accounting support up to the task scheduler
        arm: wire cpu-invariant accounting support up to the task scheduler
        arm: wire frequency-invariant accounting support up to the task scheduler
        drivers base/arch_topology: allow inlining cpu-invariant accounting support
        drivers base/arch_topology: provide frequency-invariant accounting support
        cpufreq: dt: invoke frequency-invariance setter function
        cpufreq: arm_big_little: invoke frequency-invariance setter function
        ...
      60af981c
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' · 622ade3a
      Rafael J. Wysocki authored
      * pm-cpuidle:
        intel_idle: Graceful probe failure when MWAIT is disabled
        cpuidle: Avoid assignment in if () argument
        cpuidle: Clean up cpuidle_enable_device() error handling a bit
        cpuidle: ladder: Add per CPU PM QoS resume latency support
        ARM: cpuidle: Refactor rollback operations if init fails
        ARM: cpuidle: Correct driver unregistration if init fails
        intel_idle: replace conditionals with static_cpu_has(X86_FEATURE_ARAT)
        cpuidle: fix broadcast control when broadcast can not be entered
      
       Conflicts:
      	drivers/idle/intel_idle.c
      622ade3a
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-qos' · 4762573b
      Rafael J. Wysocki authored
      * pm-qos:
        PM / QoS: Fix device resume latency framework
        PM / QoS: Drop PM_QOS_FLAG_REMOTE_WAKEUP
      4762573b
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-domains' · 29aaf908
      Rafael J. Wysocki authored
      * pm-domains:
        PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
        PM / domains: Rework governor code to be more consistent
        PM / Domains: Remove gpd_dev_ops.active_wakeup() callback
        soc: rockchip: power-domain: Use GENPD_FLAG_ACTIVE_WAKEUP
        soc: mediatek: Use GENPD_FLAG_ACTIVE_WAKEUP
        ARM: shmobile: pm-rmobile: Use GENPD_FLAG_ACTIVE_WAKEUP
        PM / Domains: Allow genpd users to specify default active wakeup behavior
        PM / Domains: Add support to select performance-state of domains
        PM / Domains: Rename genpd internals from pm_genpd_* to genpd_*
      29aaf908
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-pci', 'pm-avs' and 'pm-docs' · 040e8a4a
      Rafael J. Wysocki authored
      * pm-pci:
        PCI / PM: Add dev_dbg() to print device suspend power states
        PCI / PM: Do not resume any devices in pci_pm_prepare()
      
      * pm-avs:
        PM / AVS: Use %pS printk format for direct addresses
      
      * pm-docs:
        PM: docs: Fix formatting typo in devices.rst
      040e8a4a
  2. 09 Nov, 2017 1 commit
  3. 08 Nov, 2017 18 commits
  4. 06 Nov, 2017 1 commit
  5. 05 Nov, 2017 8 commits
  6. 04 Nov, 2017 6 commits
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm · 2d634994
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
      
       - omit EFI memory map sorting, which was recently introduced, but
         caused problems with the decompressor due to additional sections
         being emitted.
      
       - avoid unaligned load fault-generating instructions in the
         decompressor by switching to a private unaligned implementation.
      
       - add a symbol into the decompressor to further debug non-boot
         situations (ld's documentation is extremely poor for how "." works,
         ld doesn't seem to follow its own documentation!)
      
       - parse endian information to sparse
      
      * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: add debug ".edata_real" symbol
        ARM: 8716/1: pass endianness info to sparse
        efi/libstub: arm: omit sorting of the UEFI memory map
        ARM: 8715/1: add a private asm/unaligned.h
      2d634994
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · f0a32ee4
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "Fixes for interrupt controller emulation in ARM/ARM64 and x86, plus a
        one-liner x86 KVM guest fix"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Update APICv on APIC reset
        KVM: VMX: Do not fully reset PI descriptor on vCPU reset
        kvm: Return -ENODEV from update_persistent_clock
        KVM: arm/arm64: vgic-its: Check GITS_BASER Valid bit before saving tables
        KVM: arm/arm64: vgic-its: Check CBASER/BASER validity before enabling the ITS
        KVM: arm/arm64: vgic-its: Fix vgic_its_restore_collection_table returned value
        KVM: arm/arm64: vgic-its: Fix return value for device table restore
        arm/arm64: kvm: Disable branch profiling in HYP code
        arm/arm64: kvm: Move initialization completion message
        arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
        KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
      f0a32ee4
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · b1878b85
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Only two patches came in over the last two weeks: Uniphier USB support
        needs additional clocks enabled (on both 32-bit and 64-bit ARM), and a
        Marvell MVEBU stability issue has been fixed"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: dts: mvebu: pl310-cache disable double-linefill
        arm64: dts: uniphier: add STDMAC clock to EHCI nodes
        ARM: dts: uniphier: add STDMAC clock to EHCI nodes
      b1878b85
    • Linus Torvalds's avatar
      Merge tag 'mips_fixes_4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips · dab30d55
      Linus Torvalds authored
      Pull MIPS fixes from James Hogan:
       "A selection of important MIPS fixes for 4.14, and some MAINTAINERS /
        email address updates:
      
        Maintainership updates:
         - imgtec.com -> mips.com email addresses (this trivially updates
           comments in quite a few files, as well as MAINTAINERS)
         - Pistachio SoC maintainership update
      
        Fixes:
         - NI 169445 build (new platform in 4.14)
         - EVA regression (4.14)
         - SMP-CPS build & preemption regressions (4.14)
         - SMP/hotplug deadlock & race (deadlock reintroduced 4.13)
         - ebpf_jit error return (4.13)
         - SMP-CMP build regressions (4.11 and 4.14)
         - bad UASM microMIPS encoding (3.16)
         - CM definitions (3.15)"
      
      [ I had taken the email address updates separately, because I didn't
        expect James to send a pull request, so those got applied twice.   - Linus]
      
      * tag 'mips_fixes_4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips:
        MIPS: Update email address for Marcin Nowakowski
        MIPS: smp-cmp: Fix vpe_id build error
        MAINTAINERS: Update Pistachio platform maintainers
        MIPS: smp-cmp: Use right include for task_struct
        MIPS: Update Goldfish RTC driver maintainer email address
        MIPS: Update RINT emulation maintainer email address
        MIPS: CPS: Fix use of current_cpu_data in preemptible code
        MIPS: SMP: Fix deadlock & online race
        MIPS: bpf: Fix a typo in build_one_insn()
        MIPS: microMIPS: Fix incorrect mask in insn_table_MM
        MIPS: Fix CM region target definitions
        MIPS: generic: Fix compilation error from include asm/mips-cpc.h
        MIPS: Fix exception entry when CONFIG_EVA enabled
        MIPS: generic: Fix NI 169445 its build
        Update MIPS email addresses
      dab30d55
    • Chris Redpath's avatar
      cpufreq: schedutil: Examine the correct CPU when we update util · d62d813c
      Chris Redpath authored
      After commit 674e7541 (sched: cpufreq: Allow remote cpufreq
      callbacks) we stopped to always read the utilization for the CPU we
      are running the governor on, and instead we read it for the CPU
      which we've been told has updated utilization.  This is stored in
      sugov_cpu->cpu.
      
      The value is set in sugov_register() but we clear it in sugov_start()
      which leads to always looking at the utilization of CPU0 instead of
      the correct one.
      
      Fix this by consolidating the initialization code into sugov_start().
      
      Fixes: 674e7541 (sched: cpufreq: Allow remote cpufreq callbacks)
      Signed-off-by: default avatarChris Redpath <chris.redpath@arm.com>
      Reviewed-by: default avatarPatrick Bellasi <patrick.bellasi@arm.com>
      Reviewed-by: default avatarBrendan Jackman <brendan.jackman@arm.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      d62d813c
    • Josh Poimboeuf's avatar
      objtool: Prevent GCC from merging annotate_unreachable(), take 2 · ec1e1b61
      Josh Poimboeuf authored
      This fixes the following warning with GCC 4.6:
      
        mm/migrate.o: warning: objtool: migrate_misplaced_transhuge_page()+0x71: unreachable instruction
      
      The problem is that the compiler merged identical annotate_unreachable()
      inline asm blocks, resulting in a missing 'unreachable' annotation.
      
      This problem happened before, and was partially fixed with:
      
        3d1e2360 ("objtool: Prevent GCC from merging annotate_unreachable()")
      
      That commit tried to ensure that each instance of the
      annotate_unreachable() inline asm statement has a unique label.  It used
      the __LINE__ macro to generate the label number.  However, even the line
      number isn't necessarily unique when used in an inline function with
      multiple callers (in this case, __alloc_pages_node()'s use of
      VM_BUG_ON).
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: kbuild-all@01.org
      Cc: tipbuild@zytor.com
      Fixes: 3d1e2360 ("objtool: Prevent GCC from merging annotate_unreachable()")
      Link: http://lkml.kernel.org/r/20171103221941.cajpwszir7ujxyc4@trebleSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      ec1e1b61