1. 12 Jan, 2016 14 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-sleep' and 'pm-tools' · 8f053a56
      Rafael J. Wysocki authored
      * pm-sleep:
        PM / sleep: Add support for read-only sysfs attributes
      
      * pm-tools:
        cpupower: fix how "cpupower frequency-info" interprets latency
        cpupower: rework the "cpupower frequency-info" command
        cpupower: Do not analyse offlined cpus
        cpupower: Provide STATIC variable in Makefile for debug builds
        cpupower: Fix precedence issue
      8f053a56
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-domains' · 93268069
      Rafael J. Wysocki authored
      * pm-domains:
        PM / Domains: export symbols to add/remove devices from genpd
      93268069
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · b366f976
      Rafael J. Wysocki authored
      * pm-cpufreq: (30 commits)
        Documentation: cpufreq: intel_pstate: enhance documentation
        cpufreq-dt: fix handling regulator_get_voltage() result
        cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC
        cpufreq: mt8173: migrate to use operating-points-v2 bindings
        cpufreq: Simplify core code related to boost support
        cpufreq: acpi-cpufreq: Simplify boost-related code
        cpufreq: Make cpufreq_boost_supported() static
        blackfin-cpufreq: Mark cpu_set_cclk() as static
        blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()
        dt: cpufreq: st: Provide bindings for ST's CPUFreq implementation
        cpufreq: st: Provide runtime initialised driver for ST's platforms
        cpufreq: mt8173: Move resources allocation into ->probe()
        cpufreq: intel_pstate: Account for IO wait time
        cpufreq: intel_pstate: Account for non C0 time
        cpufreq: intel_pstate: Configurable algorithm to get target pstate
        cpufreq: mt8173: check return value of regulator_get_voltage() call
        cpufreq: mt8173: remove redundant regulator_get_voltage() call
        cpufreq: mt8173: add CPUFREQ_HAVE_GOVERNOR_PER_POLICY flag
        cpufreq: qoriq: Register cooling device based on device tree
        cpufreq: pcc-cpufreq: update default value of cpuinfo_transition_latency
        ...
      b366f976
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-opp' · 7f4a3702
      Rafael J. Wysocki authored
      * pm-opp:
        PM / OPP: Use snprintf() instead of sprintf()
        PM / OPP: Set cpu_dev->id in cpumask first
        PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties
        PM / OPP: Parse 'opp-<prop>-<name>' bindings
        PM / OPP: Parse 'opp-supported-hw' binding
        PM / OPP: Add missing doc comments
        ARM: dts: exynos4412: Rename OPP nodes as opp@<opp-hz>
        PM / OPP: Rename OPP nodes as opp@<opp-hz>
        PM / OPP: Remove 'operating-points-names' binding
        PM / OPP: Add {opp-microvolt|opp-microamp}-<name> binding
        PM / OPP: Add "opp-supported-hw" binding
        PM / OPP: Add debugfs support
      7f4a3702
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' · a7da4813
      Rafael J. Wysocki authored
      * pm-cpuidle:
        drivers/cpuidle: make cpuidle-exynos.c explicitly non-modular
        drivers/cpuidle: make cpuidle-ux500.c explicitly non-modular
        drivers/cpuidle: make cpuidle-clps711x.c explicitly non-modular
        cpuidle,menu: smooth out measured_us calculation
        cpuidle,menu: use interactivity_req to disable polling
        cpuidle,x86: increase forced cut-off for polling to 20us
      a7da4813
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-pci' and 'pm-core' · 92266e1d
      Rafael J. Wysocki authored
      * pm-pci:
        PCI / PM: Fix small typo in documentation
        PCI / PM: constify pci_platform_pm_ops structure
      
      * pm-core:
        PM / core: fix typo in documentation
        PM / runtime: Add new helper for conditional usage count incrementation
        MAINTAINERS: Add an entry for the PM core
        PM / runtime: Re-init runtime PM states at probe error and driver unbind
        PM / sleep: prohibit devices probing during suspend/hibernation
      92266e1d
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pnp' and 'pnp' · 4c170ed1
      Rafael J. Wysocki authored
      * acpi-pnp:
        ACPI / PNP: constify device IDs
      
      * pnp:
        PNP: respect PNP_DRIVER_RES_DO_NOT_CHANGE when detaching
        PNP: Add Broadwell to Intel MCH size workaround
      4c170ed1
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pci', 'acpi-irq' and 'acpi-assorted' · 476cc433
      Rafael J. Wysocki authored
      * acpi-pci:
        ACPI, PCI, irq: remove redundant check for null string pointer
        ACPI / PCI: Simplify acpi_penalize_isa_irq()
        ACPI, PCI, irq: remove interrupt number restriction
        ACPI, PCI, irq: remove interrupt count restriction
      
      * acpi-irq:
        ACPI / spi: attach GPIO IRQ from ACPI description to SPI device
        ACPI / gpio: Add irq_type when a GPIO is used as an interrupt
        ACPI: Rename acpi_gsi_get_irq_type to acpi_dev_get_irq_type and export symbol
      
      * acpi-assorted:
        ACPI / SBS: fix inconsistent indenting inside if statement
        ACPI: Fix build errors due objects compiled unconditionally
      476cc433
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-bus', 'acpi-osl' and 'acpi-pm' · 42d287d1
      Rafael J. Wysocki authored
      * acpi-scan:
        ACPI: Fix white space in a structure definition
        ACPI / utils: Add acpi_dev_present()
        ACPI / scan: Fix acpi_bus_id_list bookkeeping
        ACPI / scan: set status to 0 if _STA failed
      
      * acpi-bus:
        ACPI / bus: Show _OSC UUID when _OSC fails
        ACPI / bus: Tidy up _OSC error spacing
      
      * acpi-osl:
        ACPI / OSL: Add kerneldoc comments to memory mapping functions
      
      * acpi-pm:
        ACPI / PM: Support D3 COLD device in old BIOS for ZPODD
      42d287d1
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-video' · b12745cc
      Rafael J. Wysocki authored
      * acpi-video:
        ACPI / video: driver must be registered before checking for keypresses
        ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E
        ACPI / video: Add quirks for the Dell Vostro V131
        ACPI / video: Add a module option to disable the reporting of keypresses
        thinkpad_acpi: Use acpi_video_handles_brightness_key_presses()
        dell-wmi: Use acpi_video_handles_brightness_key_presses()
        ACPI / video: Add a acpi_video_handles_brightness_key_presses() helper
      b12745cc
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · f3a1bca0
      Rafael J. Wysocki authored
      * acpica: (43 commits)
        ACPICA: Drop Linux-specific waking vector functions
        ACPICA: Update version to 20151218
        ACPICA: Add per-table execution of module-level code
        ACPICA: Add "root node" case to the ACPI name repair code
        ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to acpi_ev_execute_reg_methods()
        ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no _REG evaluations can happen during OS early boot stages
        ACPICA: Events: Split acpi_ev_associate_reg_method() from region initialization code
        ACPICA: Events: Fix an issue that region object is re-attached to another scope when it is already attached
        ACPICA: Utilities: Reorder initialization code
        ACPICA: Events: Uses common_notify for address space handlers
        ACPICA: Events: Deploys acpi_ev_find_region_handler()
        ACPICA: Cleanup code related to the per-table module level improvement
        ACPICA: Update for CondRefOf and RefOf operators
        ACPICA: Update internal #defines for ObjectType operator. No functional change
        ACPICA: Update parameter type for ObjectType operator
        ACPICA: Parser: Fix for SuperName method invocation
        ACPICA: Parser: Add constants for internal namepath function
        ACPICA: iasl/Disassembler: Support ASL ElseIf operator
        ACPICA: Add new exception code, AE_IO_ERROR
        ACPICA: Tools: Add spacing and missing options in acpibin tool
        ...
      f3a1bca0
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-debug' · 51834d6a
      Rafael J. Wysocki authored
      * acpi-debug:
        ACPI / debugger: Fix a redundant mutex unlock issue in acpi_aml_open()
        ACPI / debugger: copy_to_user doesn't return errors
        ACPI / debugger: remove some unneeded conditions
        ACPI / debugger: Fix an issue a flag is modified without locking
        ACPI / debugger: Add module support for ACPI debugger
        tools/power/acpi: Add userspace AML interface support
        ACPI / debugger: Add IO interface to access debugger functionalities
        ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism
        ACPICA: Debugger: Convert some mechanisms to OSPM specific
        ACPICA: Debugger: Remove unnecessary status check
      51834d6a
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-soc' · 1e3f28a5
      Rafael J. Wysocki authored
      * acpi-soc:
        PM / clk: don't leave clocks enabled when driver not bound
        i2c: dw: Add APM X-Gene ACPI I2C device support
        ACPI / APD: Add APM X-Gene ACPI I2C device support
        ACPI / LPSS: change 'does not have' to 'has' in comment
        Revert "dmaengine: dw: platform: provide platform data for Intel"
        dmaengine: dw: return immediately from IRQ when DMA isn't in use
        dmaengine: dw: platform: power on device on shutdown
        ACPI / LPSS: override power state for LPSS DMA device
        ACPI / LPSS: power on when probe() and otherwise when remove()
        ACPI / LPSS: do delay for all LPSS devices when D3->D0
        ACPI / LPSS: allow to use specific PM domain during ->probe()
        Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
        device core: add BUS_NOTIFY_DRIVER_NOT_BOUND notification
        x86/platform/iosf_mbi: Remove duplicate definitions
      
      Conflicts:
      	drivers/i2c/busses/i2c-designware-platdrv.c
      1e3f28a5
    • Rafael J. Wysocki's avatar
      Merge branch 'device-properties' · 98965287
      Rafael J. Wysocki authored
      * device-properties:
        device property: avoid allocations of 0 length
        device property: the secondary fwnode needs to depend on the primary
        device property: add spaces to PROPERTY_ENTRY_STRING macro
        include/linux/property.h: fix build issues with gcc-4.4.4
        i2c: designware: Convert to use unified device property API
        mfd: intel-lpss: Pass HSUART configuration via properties
        mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
        mfd: intel-lpss: Add support for passing device properties
        mfd: core: propagate device properties to sub devices drivers
        driver core: Do not overwrite secondary fwnode with NULL if it is set
        driver core: platform: Add support for built-in device properties
        device property: Take a copy of the property set
        device property: Fallback to secondary fwnode if primary misses the property
        device property: return -EINVAL when property isn't found in ACPI
        device property: improve readability of macros
        device property: helper macros for property entry creation
        device property: keep single value inplace
        device property: refactor built-in properties support
        device property: rename helper functions
        device property: always check for fwnode type
      98965287
  2. 10 Jan, 2016 1 commit
  3. 09 Jan, 2016 4 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · eac6f76a
      Linus Torvalds authored
      Pull SCSI fix from James Bottomley:
       "A single fix for machines with pages > 4k (PPC mostly).
      
        There's a bug in our optimal transfer size code where we don't account
        for pages > 4k and can set the transfer size to be less than the page
        size causing nasty failures"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        sd: Reject optimal transfer length smaller than page size
      eac6f76a
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.4-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · c0cb1393
      Linus Torvalds authored
      Pull PCI fixlet from Bjorn Helgaas:
       "This marks the TI DRA7xx host bridge driver as broken.  Apparently it
        has never worked without some additional out-of-tree code, so I'm
        going to mark it broken now and remove it completely next cycle unless
        it's fixed"
      
      * tag 'pci-v4.4-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: dra7xx: Mark driver as broken
      c0cb1393
    • Michal Hocko's avatar
      vmstat: allocate vmstat_wq before it is used · 751e5f5c
      Michal Hocko authored
      kernel test robot has reported the following crash:
      
        BUG: unable to handle kernel NULL pointer dereference at 00000100
        IP: [<c1074df6>] __queue_work+0x26/0x390
        *pdpt = 0000000000000000 *pde = f000ff53f000ff53 *pde = f000ff53f000ff53
        Oops: 0000 [#1] PREEMPT PREEMPT SMP SMP
        CPU: 0 PID: 24 Comm: kworker/0:1 Not tainted 4.4.0-rc4-00139-g373ccbe5 #1
        Workqueue: events vmstat_shepherd
        task: cb684600 ti: cb7ba000 task.ti: cb7ba000
        EIP: 0060:[<c1074df6>] EFLAGS: 00010046 CPU: 0
        EIP is at __queue_work+0x26/0x390
        EAX: 00000046 EBX: cbb37800 ECX: cbb37800 EDX: 00000000
        ESI: 00000000 EDI: 00000000 EBP: cb7bbe68 ESP: cb7bbe38
         DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
        CR0: 8005003b CR2: 00000100 CR3: 01fd5000 CR4: 000006b0
        Stack:
        Call Trace:
          __queue_delayed_work+0xa1/0x160
          queue_delayed_work_on+0x36/0x60
          vmstat_shepherd+0xad/0xf0
          process_one_work+0x1aa/0x4c0
          worker_thread+0x41/0x440
          kthread+0xb0/0xd0
          ret_from_kernel_thread+0x21/0x40
      
      The reason is that start_shepherd_timer schedules the shepherd work item
      which uses vmstat_wq (vmstat_shepherd) before setup_vmstat allocates
      that workqueue so if the further initialization takes more than HZ we
      might end up scheduling on a NULL vmstat_wq.  This is really unlikely
      but not impossible.
      
      Fixes: 373ccbe5 ("mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any progress")
      Reported-by: default avatarkernel test robot <ying.huang@linux.intel.com>
      Signed-off-by: default avatarMichal Hocko <mhocko@suse.com>
      Tested-by: default avatarTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
      Cc: stable@vger.kernel.org
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      751e5f5c
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 44d8a7d5
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "This is the final small set of ARM SoC bug fixes for linux-4.4, almost
        all regressions:
      
        OMAP:
         - data corruption on the Nokia N900 flash
      
        Allwinner:
         - Two defconfig change to get USB working again
      
        ARM Versatile:
         - Interrupt numbers gone bad after an older bug fix
      
        Nomadik:
         - Crashes from incorrect L2 cache settings
      
        VIA vt8500:
         - SD/MMC support on WM8650 never worked"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        dts: vt8500: Add SDHC node to DTS file for WM8650
        ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices
        ARM: versatile: fix MMC/SD interrupt assignment
        ARM: nomadik: set latencies to 8 cycles
        ARM: OMAP2+: Fix onenand rate detection to avoid filesystem corruption
        ARM: Fix broken USB support in sunxi_defconfig
      44d8a7d5
  4. 08 Jan, 2016 16 commits
  5. 07 Jan, 2016 5 commits