05 Jun, 2014

12 commits

  • We want to skip the physical block(PAGE_SIZE) which is partially covered
    by the discard bio, so we check the remaining size and subtract it if
    there is a need to goto the next physical block.

    The current offset usage in zram_bio_discard is incorrect, it will cause
    its upper filesystem breakdown. Consider the following scenario:

    On some architecture or config, PAGE_SIZE is 64K for example, filesystem
    is set up on zram disk without PAGE_SIZE aligned, a discard bio leads to a
    offset = 4K and size=72K, normally, it should not really discard any
    physical block as it partially cover two physical blocks. However, with
    the current offset usage, it will discard the second physical block and
    free its memory, which will cause filesystem breakdown.

    This patch corrects the offset usage in zram_bio_discard.

    Signed-off-by: Weijie Yang
    Cc: Minchan Kim
    Cc: Nitin Gupta
    Acked-by: Joonsoo Kim
    Cc: Sergey Senozhatsky
    Cc: Bob Liu
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Weijie Yang
     
  • Some systems require a larger maximum PAGE_SIZE order for CMA allocations.
    To accommodate such systems, increase the upper-bound of the
    CMA_ALIGNMENT range to 12 (which ends up being 16MB on systems with 4K
    pages).

    Signed-off-by: Marc Carino
    Cc: Marek Szyprowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marc Carino
     
  • brd is effectively a thinly provisioned device. Thinly provisioned
    devices return -ENOSPC when they can't write a new block. -ENOMEM is an
    implementation detail that callers shouldn't know.

    Signed-off-by: Matthew Wilcox
    Acked-by: Dave Chinner
    Cc: Dheeraj Reddy
    Cc: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Signed-off-by: Matthew Wilcox
    Cc: Dave Chinner
    Cc: Dheeraj Reddy
    Cc: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Performing vma lookups without taking the mm->mmap_sem is asking for
    trouble. While doing the search, the vma in question can be modified or
    even removed before returning to the caller. Take the lock (exclusively)
    in order to avoid races while iterating through the vmacache and/or
    rbtree.

    Signed-off-by: Jonathan Gonzalez V
    Signed-off-by: Davidlohr Bueso
    Cc: Inki Dae
    Cc: Joonyoung Shim
    Cc: David Airlie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jonathan Gonzalez V
     
  • Seems we all agree that information about SECTION, e.g. section size,
    sections per memory block should be kept as kernel internals, and not
    exposed to userspace.

    This patch updates Documentation/memory-hotplug.txt to refer to memory
    blocks instead of memory sections where appropriate and added a
    paragraph to explain that memory blocks are made of memory sections.
    The documentation update is mostly provided by Nathan.

    Also, as end_phys_index in code is actually not the end section id, but
    the end memory block id, which should always be the same as phys_index.
    So it is removed here.

    Signed-off-by: Li Zhong
    Reviewed-by: Zhang Yanfei
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zhong
     
  • Currently, "cma=" kernel parameter is used to specify the size of CMA,
    but we can't specify where it is located. We want to locate CMA below
    4GB for devices only supporting 32-bit addressing on 64-bit systems
    without iommu.

    This enables to specify the placement of CMA by extending "cma=" kernel
    parameter.

    Examples:
    1. locate 64MB CMA below 4GB by "cma=64M@0-4G"
    2. locate 64MB CMA exact at 512MB by "cma=64M@512M"

    Note that the DMA contiguous memory allocator on x86 assumes that
    page_address() works for the pages to allocate. So this change requires
    to limit end address of contiguous memory area upto max_pfn_mapped to
    prevent from locating it on highmem area by the argument of
    dma_contiguous_reserve().

    Signed-off-by: Akinobu Mita
    Cc: Marek Szyprowski
    Cc: Konrad Rzeszutek Wilk
    Cc: David Woodhouse
    Cc: Don Dutile
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Andi Kleen
    Cc: Yinghai Lu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • This adds support for the DMA Contiguous Memory Allocator for
    intel-iommu. This change enables dma_alloc_coherent() to allocate big
    contiguous memory.

    It is achieved in the same way as nommu_dma_ops currently does, i.e.
    trying to allocate memory by dma_alloc_from_contiguous() and
    alloc_pages() is used as a fallback.

    Signed-off-by: Akinobu Mita
    Cc: Marek Szyprowski
    Cc: Konrad Rzeszutek Wilk
    Cc: David Woodhouse
    Cc: Don Dutile
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Andi Kleen
    Cc: Yinghai Lu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • …/robh/linux into next

    Pull DeviceTree updates from Rob Herring:
    - Another round of clean-up of FDT related code in architecture code.
    This removes knowledge of internal FDT details from most
    architectures except powerpc.
    - Conversion of kernel's custom FDT parsing code to use libfdt.
    - DT based initialization for generic serial earlycon. The
    introduction of generic serial earlycon support went in through the
    tty tree.
    - Improve the platform device naming for DT probed devices to ensure
    unique naming and use parent names instead of a global index.
    - Fix a race condition in of_update_property.
    - Unify the various linker section OF match tables and fix several
    function prototype errors.
    - Update platform_get_irq_byname to work in deferred probe cases.
    - 2 binding doc updates

    * tag 'devicetree-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (58 commits)
    of: handle NULL node in next_child iterators
    of/irq: provide more wrappers for !CONFIG_OF
    devicetree: bindings: Document micrel vendor prefix
    dt: bindings: dwc2: fix required value for the phy-names property
    of_pci_irq: kill useless variable in of_irq_parse_pci()
    of/irq: do irq resolution in platform_get_irq_byname()
    of: Add a testcase for of_find_node_by_path()
    of: Make of_find_node_by_path() handle /aliases
    of: Create unlocked version of for_each_child_of_node()
    lib: add glibc style strchrnul() variant
    of: Handle memory@0 node on PPC32 only
    pci/of: Remove dead code
    of: fix race between search and remove in of_update_property()
    of: Use NULL for pointers
    of: Stop naming platform_device using dcr address
    of: Ensure unique names without sacrificing determinism
    tty/serial: pl011: add DT based earlycon support
    of/fdt: add FDT serial scanning for earlycon
    of/fdt: add FDT address translation support
    serial: earlycon: add DT support
    ...

    Linus Torvalds
     
  • Pull sound updates from Takashi Iwai:
    "At this time, majority of changes come from ASoC world while we got a
    few new drivers in other places for FireWire and USB. There have been
    lots of ASoC core cleanups / refactoring, but very little visible to
    external users.

    ASoC:
    - Support for specifying aux CODECs in DT
    - Removal of the deprecated mux and enum macros
    - More moves towards full componentisation
    - Removal of some unused I/O code
    - Lots of cleanups, fixes and enhancements to the davinci, Freescale,
    Haswell and Realtek drivers
    - Several drivers exposed directly in Kconfig for use with
    simple-card
    - GPIO descriptor support for jacks
    - More updates and fixes to the Freescale SSI, Intel and rsnd drivers
    - New drivers for Cirrus CS42L56, Realtek RT5639, RT5642 and RT5651
    and ST STA350, Analog Devices ADAU1361, ADAU1381, ADAU1761 and
    ADAU1781, and Realtek RT5677

    HD-audio:
    - Clean up Dell headset quirks
    - Noise fixes for Dell and Sony laptops
    - Thinkpad T440 dock fix
    - Realtek codec updates (ALC293,ALC233,ALC3235)
    - Tegra HD-audio HDMI support

    FireWire-audio:
    - FireWire audio stack enhancement (AMDTP, MIDI), support for
    incoming isochronous stream and duplex streams with timestamp
    synchronization
    - BeBoB-based devices support
    - Fireworks-based device support

    USB-audio:
    - Behringer BCD2000 USB device support

    Misc:
    - Clean up of a few old drivers, atmel, fm801, etc"

    * tag 'sound-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (480 commits)
    ASoC: Fix wrong argument for card remove callbacks
    ASoC: free jack GPIOs before the sound card is freed
    ALSA: firewire-lib: Remove a comment about restriction of asynchronous operation
    ASoC: cache: Fix error code when not using ASoC level cache
    ALSA: hda/realtek - Fix COEF widget NID for ALC260 replacer fixup
    ALSA: hda/realtek - Correction of fixup codes for PB V7900 laptop
    ALSA: firewire-lib: Use IEC 61883-6 compliant labels for Raw Audio data
    ASoC: add RT5677 CODEC driver
    ASoC: intel: The Baytrail/MAX98090 driver depends on I2C
    ASoC: rt5640: Add the function "get_clk_info" to RL6231 shared support
    ASoC: rt5640: Add the function of the PLL clock calculation to RL6231 shared support
    ASoC: rt5640: Add RL6231 class device shared support for RT5640, RT5645 and RT5651
    ASoC: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
    ASoC: Add helper functions to cast from DAPM context to CODEC/platform
    ALSA: bebob: sizeof() vs ARRAY_SIZE() typo
    ASoC: wm9713: correct mono out PGA sources
    ALSA: synth: emux: soundfont.c: Cleaning up memory leak
    ASoC: fsl: Remove dependencies of boards for SND_SOC_EUKREA_TLV320
    ASoC: fsl-ssi: Use regmap
    ASoC: fsl-ssi: reorder and document fsl_ssi_private
    ...

    Linus Torvalds
     
  • Pull omap fbdev changes from Tomi Valkeinen:
    - DT support for the panel drivers that were still missing it
    - TI AM43xx support
    - TI OMAP5 support

    * tag 'fbdev-omap-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (46 commits)
    OMAPDSS: move 'compatible' converter to omapdss driver
    OMAPDSS: HDMI: fix devm_ioremap_resource error checks
    OMAPDSS: HDMI: remove unused defines
    OMAPDSS: HDMI: cleanup WP ioremaps
    OMAPDSS: panel NEC-NL8048HL11 DT support
    Doc/DT: Add DT binding documentation for TPO td043mtea1 panel
    OMAPDSS: Panel TPO-TD043MTEA1 DT support
    Doc/DT: Add DT binding documentation for SHARP LS037V7DW01
    OMAPDSS: panel sharp-ls037v7dw01 DT support
    OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod
    Doc/DT: Add binding doc for lgphilips,lb035q02.txt
    OMAPDSS: panel-lgphilips-lb035q02: Add DT support
    OMAPDSS: panel-lgphilips-lb035q02: use gpiod for enable gpio
    OMAPDSS: hdmi5_core: Fix compilation with OMAP5_DSS_HDMI_AUDIO
    OMAPDSS: panel-dpi: enable-gpio
    OMAPDSS: Fix writes to DISPC_POL_FREQ
    Doc/DT: Add OMAP5 DSS DT bindings
    OMAPDSS: HDMI: cleanup ioremaps
    OMAPDSS: HDMI: Add OMAP5 HDMI support
    OMAPDSS: HDMI: PLL changes for OMAP5
    ...

    Linus Torvalds
     
  • Pull main fbdev changes from Tomi Valkeinen:
    "Mainly fixes and small improvements. The biggest change seems to be
    backlight control support for mx3fb"

    * tag 'fbdev-main-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (31 commits)
    drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap
    video: fbdev: s3fb.c: Fix for possible null pointer dereference
    video: fbdev: grvga.c: Fix for possible null pointer dereference
    matroxfb: perform a dummy read of M_STATUS
    video: of: display_timing: fix default native-mode setting
    video: delete unneeded call to platform_get_drvdata
    video: mx3fb: Add backlight control support
    video: omap: delete support for early fbmem allocation
    video: of: display_timing: remove two unsafe error messages
    fbdev: fbmem: remove positive test on unsigned values
    fbcon: Fix memory leak in con2fb_release_oldinfo()
    video: Kconfig: Add a dependency to the Goldfish framebuffer driver
    video: exynos: Add a dependency to the menu
    video: mx3fb: Use devm_kzalloc
    video/nuc900: allow modular build
    video: atmel needs FB_BACKLIGHT
    video: export fb_prepare_logo
    video/mbx: fix building debugfs support
    video/omap: fix modular build
    video: clarify I2C dependencies
    ...

    Linus Torvalds
     

04 Jun, 2014

28 commits

  • …fael/linux-pm into next

    Pull ACPI and power management updates from Rafael Wysocki:
    "ACPICA is the leader this time (63 commits), followed by cpufreq (28
    commits), devfreq (15 commits), system suspend/hibernation (12
    commits), ACPI video and ACPI device enumeration (10 commits each).

    We have no major new features this time, but there are a few
    significant changes of how things work. The most visible one will
    probably be that we are now going to create platform devices rather
    than PNP devices by default for ACPI device objects with _HID. That
    was long overdue and will be really necessary to be able to use the
    same drivers for the same hardware blocks on ACPI and DT-based systems
    going forward. We're not expecting fallout from this one (as usual),
    but it's something to watch nevertheless.

    The second change having a chance to be visible is that ACPI video
    will now default to using native backlight rather than the ACPI
    backlight interface which should generally help systems with broken
    Win8 BIOSes. We're hoping that all problems with the native backlight
    handling that we had previously have been addressed and we are in a
    good enough shape to flip the default, but this change should be easy
    enough to revert if need be.

    In addition to that, the system suspend core has a new mechanism to
    allow runtime-suspended devices to stay suspended throughout system
    suspend/resume transitions if some extra conditions are met
    (generally, they are related to coordination within device hierarchy).
    However, enabling this feature requires cooperation from the bus type
    layer and for now it has only been implemented for the ACPI PM domain
    (used by ACPI-enumerated platform devices mostly today).

    Also, the acpidump utility that was previously shipped as a separate
    tool will now be provided by the upstream ACPICA along with the rest
    of ACPICA code, which will allow it to be more up to date and better
    supported, and we have one new cpuidle driver (ARM clps711x).

    The rest is improvements related to certain specific use cases,
    cleanups and fixes all over the place.

    Specifics:

    - ACPICA update to upstream version 20140424. That includes a number
    of fixes and improvements related to things like GPE handling,
    table loading, headers, memory mapping and unmapping, DSDT/SSDT
    overriding, and the Unload() operator. The acpidump utility from
    upstream ACPICA is included too. From Bob Moore, Lv Zheng, David
    Box, David Binderman, and Colin Ian King.

    - Fixes and cleanups related to ACPI video and backlight interfaces
    from Hans de Goede. That includes blacklist entries for some new
    machines and using native backlight by default.

    - ACPI device enumeration changes to create platform devices rather
    than PNP devices for ACPI device objects with _HID by default. PNP
    devices will still be created for the ACPI device object with
    device IDs corresponding to real PNP devices, so that change should
    not break things left and right, and we're expecting to see more
    and more ACPI-enumerated platform devices in the future. From
    Zhang Rui and Rafael J Wysocki.

    - Updates for the ACPI LPSS (Low-Power Subsystem) driver allowing it
    to handle system suspend/resume on Asus T100 correctly. From
    Heikki Krogerus and Rafael J Wysocki.

    - PM core update introducing a mechanism to allow runtime-suspended
    devices to stay suspended over system suspend/resume transitions if
    certain additional conditions related to coordination within device
    hierarchy are met. Related PM documentation update and ACPI PM
    domain support for the new feature. From Rafael J Wysocki.

    - Fixes and improvements related to the "freeze" sleep state. They
    affect several places including cpuidle, PM core, ACPI core, and
    the ACPI battery driver. From Rafael J Wysocki and Zhang Rui.

    - Miscellaneous fixes and updates of the ACPI core from Aaron Lu,
    Bjørn Mork, Hanjun Guo, Lan Tianyu, and Rafael J Wysocki.

    - Fixes and cleanups for the ACPI processor and ACPI PAD (Processor
    Aggregator Device) drivers from Baoquan He, Manuel Schölling, Tony
    Camuso, and Toshi Kani.

    - System suspend/resume optimization in the ACPI battery driver from
    Lan Tianyu.

    - OPP (Operating Performance Points) subsystem updates from Chander
    Kashyap, Mark Brown, and Nishanth Menon.

    - cpufreq core fixes, updates and cleanups from Srivatsa S Bhat,
    Stratos Karafotis, and Viresh Kumar.

    - Updates, fixes and cleanups for the Tegra, powernow-k8, imx6q,
    s5pv210, nforce2, and powernv cpufreq drivers from Brian Norris,
    Jingoo Han, Paul Bolle, Philipp Zabel, Stratos Karafotis, and
    Viresh Kumar.

    - intel_pstate driver fixes and cleanups from Dirk Brandewie, Doug
    Smythies, and Stratos Karafotis.

    - Enabling the big.LITTLE cpufreq driver on arm64 from Mark Brown.

    - Fix for the cpuidle menu governor from Chander Kashyap.

    - New ARM clps711x cpuidle driver from Alexander Shiyan.

    - Hibernate core fixes and cleanups from Chen Gang, Dan Carpenter,
    Fabian Frederick, Pali Rohár, and Sebastian Capella.

    - Intel RAPL (Running Average Power Limit) driver updates from Jacob
    Pan.

    - PNP subsystem updates from Bjorn Helgaas and Fabian Frederick.

    - devfreq core updates from Chanwoo Choi and Paul Bolle.

    - devfreq updates for exynos4 and exynos5 from Chanwoo Choi and
    Bartlomiej Zolnierkiewicz.

    - turbostat tool fix from Jean Delvare.

    - cpupower tool updates from Prarit Bhargava, Ramkumar Ramachandra
    and Thomas Renninger.

    - New ACPI ec_access.c tool for poking at the EC in a safe way from
    Thomas Renninger"

    * tag 'pm+acpi-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (187 commits)
    ACPICA: Namespace: Remove _PRP method support.
    intel_pstate: Improve initial busy calculation
    intel_pstate: add sample time scaling
    intel_pstate: Correct rounding in busy calculation
    intel_pstate: Remove C0 tracking
    PM / hibernate: fixed typo in comment
    ACPI: Fix x86 regression related to early mapping size limitation
    ACPICA: Tables: Add mechanism to control early table checksum verification.
    ACPI / scan: use platform bus type by default for _HID enumeration
    ACPI / scan: always register ACPI LPSS scan handler
    ACPI / scan: always register memory hotplug scan handler
    ACPI / scan: always register container scan handler
    ACPI / scan: Change the meaning of missing .attach() in scan handlers
    ACPI / scan: introduce platform_id device PNP type flag
    ACPI / scan: drop unsupported serial IDs from PNP ACPI scan handler ID list
    ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule
    ACPI / PNP: use device ID list for PNPACPI device enumeration
    ACPI / scan: .match() callback for ACPI scan handlers
    ACPI / battery: wakeup the system only when necessary
    power_supply: allow power supply devices registered w/o wakeup source
    ...

    Linus Torvalds
     
  • Pull HID patches from Jiri Kosina:
    - RMI driver for Synaptics touchpads, by Benjamin Tissoires, Andrew
    Duggan and Jiri Kosina
    - cleanup of hid-sony driver and improved support for Sixaxis and
    Dualshock 4, by Frank Praznik
    - other usual small fixes and support for new device IDs

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (29 commits)
    HID: thingm: thingm_fwinfo[] doesn't need to be global
    HID: core: add two new usages for digitizer
    HID: hid-sensor-hub: new device id and quirk for STM Sensor hub
    HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard
    HID: hid-sensor-hub: Set report quirk for Microsoft Surface
    HID: debug: add labels for HID Sensor Usages
    HID: uhid: Use kmemdup instead of kmalloc + memcpy
    HID: rmi: do not handle touchscreens through hid-rmi
    HID: quirk for Saitek RAT7 and MMO7 mices' mode button
    HID: core: fix validation of report id 0
    HID: rmi: fix masks for x and w_x data
    HID: rmi: fix wrong struct field name
    HID: rmi: do not fetch more than 16 bytes in a query
    HID: rmi: check for the existence of some optional queries before reading query 12
    HID: i2c-hid: hid report descriptor retrieval changes
    HID: add missing hid usages
    HID: hid-sony - allow 3rd party INTEC controller to turn off all leds
    HID: sony: Add blink support to the Sixaxis and DualShock 4 LEDs
    HID: sony: Initialize the controller LEDs with a device ID value
    HID: sony: Use the controller Bluetooth MAC address as the unique value in the battery name string
    ...

    Linus Torvalds
     
  • Pull trivial tree changes from Jiri Kosina:
    "Usual pile of patches from trivial tree that make the world go round"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    staging: go7007: remove reference to CONFIG_KMOD
    aic7xxx: Remove obsolete preprocessor define
    of: dma: doc fixes
    doc: fix incorrect formula to calculate CommitLimit value
    doc: Note need of bc in the kernel build from 3.10 onwards
    mm: Fix printk typo in dmapool.c
    modpost: Fix comment typo "Modules.symvers"
    Kconfig.debug: Grammar s/addition/additional/
    wimax: Spelling s/than/that/, wording s/destinatary/recipient/
    aic7xxx: Spelling s/termnation/termination/
    arm64: mm: Remove superfluous "the" in comment
    of: Spelling s/anonymouns/anonymous/
    dma: imx-sdma: Spelling s/determnine/determine/
    ath10k: Improve grammar in comments
    ath6kl: Spelling s/determnine/determine/
    of: Improve grammar for of_alias_get_id() documentation
    drm/exynos: Spelling s/contro/control/
    radio-bcm2048.c: fix wrong overflow check
    doc: printk-formats: do not mention casts for u64/s64
    doc: spelling error changes
    ...

    Linus Torvalds
     
  • Pull KVM updates from Paolo Bonzini:
    "At over 200 commits, covering almost all supported architectures, this
    was a pretty active cycle for KVM. Changes include:

    - a lot of s390 changes: optimizations, support for migration, GDB
    support and more

    - ARM changes are pretty small: support for the PSCI 0.2 hypercall
    interface on both the guest and the host (the latter acked by
    Catalin)

    - initial POWER8 and little-endian host support

    - support for running u-boot on embedded POWER targets

    - pretty large changes to MIPS too, completing the userspace
    interface and improving the handling of virtualized timer hardware

    - for x86, a larger set of changes is scheduled for 3.17. Still, we
    have a few emulator bugfixes and support for running nested
    fully-virtualized Xen guests (para-virtualized Xen guests have
    always worked). And some optimizations too.

    The only missing architecture here is ia64. It's not a coincidence
    that support for KVM on ia64 is scheduled for removal in 3.17"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (203 commits)
    KVM: add missing cleanup_srcu_struct
    KVM: PPC: Book3S PR: Rework SLB switching code
    KVM: PPC: Book3S PR: Use SLB entry 0
    KVM: PPC: Book3S HV: Fix machine check delivery to guest
    KVM: PPC: Book3S HV: Work around POWER8 performance monitor bugs
    KVM: PPC: Book3S HV: Make sure we don't miss dirty pages
    KVM: PPC: Book3S HV: Fix dirty map for hugepages
    KVM: PPC: Book3S HV: Put huge-page HPTEs in rmap chain for base address
    KVM: PPC: Book3S HV: Fix check for running inside guest in global_invalidates()
    KVM: PPC: Book3S: Move KVM_REG_PPC_WORT to an unused register number
    KVM: PPC: Book3S: Add ONE_REG register names that were missed
    KVM: PPC: Add CAP to indicate hcall fixes
    KVM: PPC: MPIC: Reset IRQ source private members
    KVM: PPC: Graciously fail broken LE hypercalls
    PPC: ePAPR: Fix hypercall on LE guest
    KVM: PPC: BOOK3S: Remove open coded make_dsisr in alignment handler
    KVM: PPC: BOOK3S: Always use the saved DAR value
    PPC: KVM: Make NX bit available with magic page
    KVM: PPC: Disable NX for old magic page using guests
    KVM: PPC: BOOK3S: HV: Add mixed page-size support for guest
    ...

    Linus Torvalds
     
  • Pull file locking changes from Jeff Layton:
    "Pretty quiet on the file-locking related front this cycle. Just some
    small cleanups and the addition of some tracepoints in the lease
    handling code"

    * tag 'locks-v3.16' of git://git.samba.org/jlayton/linux:
    locks: add some tracepoints in the lease handling code
    fs/locks.c: replace seq_printf by seq_puts
    locks: ensure that fl_owner is always initialized properly in flock and lease codepaths

    Linus Torvalds
     
  • …ee1394/linux1394 into next

    Pull firewire updates from Stefan Richter:
    "IEEE 1394 (FireWire) subsystem changes: One optimization for some VIA
    controllers, one fix, one kconfig brushup"

    * tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
    firewire: ohci: enable MSI for VIA VT6315 rev 1, drop cycle timer quirk
    firewire: Use COMPILE_TEST for build testing
    firewire: net: fix NULL derefencing in fwnet_probe()

    Linus Torvalds
     
  • The newly merged versatile sched clock support uses a deprecated
    interface. Of course that patch got routed through the ARM tree instead
    of going through the relevant maintainer tree.

    Use the proper interface so we can get rid of the cruft.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • …6/thingm' into for-linus

    Jiri Kosina
     
  • Conflicts:
    drivers/hid/hid-sensor-hub.c

    Jiri Kosina
     
  • Add an early check for the node argument in __of_get_next_child and
    of_get_next_available_child() to avoid dereferencing a NULL node pointer
    a few lines after.

    CC: Daniel Mack
    Signed-off-by: Florian Fainelli
    Signed-off-by: Grant Likely

    Florian Fainelli
     
  • Pull x86/UV changes from Ingo Molnar:
    "Continued updates for SGI UV 3 hardware support"

    * 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/UV: Fix conditional in gru_exit()
    x86/UV: Set n_lshift based on GAM_GR_CONFIG MMR for UV3

    Linus Torvalds
     
  • * pm-cpufreq: (28 commits)
    cpufreq: handle calls to ->target_index() in separate routine
    cpufreq: s5pv210: drop check for CONFIG_PM_VERBOSE
    cpufreq: intel_pstate: Remove unused member name of cpudata
    cpufreq: Break out early when frequency equals target_freq
    cpufreq: Tegra: drop wrapper around tegra_update_cpu_speed()
    cpufreq: imx6q: Remove unused include
    cpufreq: imx6q: Drop devm_clk/regulator_get usage
    cpufreq: powernow-k8: Suppress checkpatch warnings
    cpufreq: powernv: make local function static
    cpufreq: Enable big.LITTLE cpufreq driver on arm64
    cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
    intel_pstate: Add CPU IDs for Broadwell processors
    cpufreq: Fix build error on some platforms that use cpufreq_for_each_*
    PM / OPP: Move cpufreq specific OPP functions out of generic OPP library
    PM / OPP: Remove cpufreq wrapper dependency on internal data organization
    cpufreq: Catch double invocations of cpufreq_freq_transition_begin/end
    intel_pstate: Remove sample parameter in intel_pstate_calc_busy
    cpufreq: Kconfig: Fix spelling errors
    cpufreq: Make linux-pm@vger.kernel.org official mailing list
    cpufreq: exynos: Use dev_err/info function instead of pr_err/info
    ...

    Rafael J. Wysocki
     
  • * pm-devfreq:
    PM / devfreq: remove checks for CONFIG_EXYNOS_ASV
    PM / devfreq: exynos5: Use devm_devfreq_* function using device resource management
    PM / devfreq: exynos4: Use devm_devfreq_* function using device resource management
    PM / devfreq: Add devm_devfreq_{register,unregister}_opp_notfier function
    PM / devfreq: Add resource-managed function for devfreq device
    PM / devfreq: Fix devfreq_remove_device() to improve the sequence of resource free
    PM / devfreq: exynos: make more PPMU code common
    PM / devfreq: exynos5: introduce struct busfreq_ppmu_data
    PM / devfreq: exynos4: introduce struct busfreq_ppmu_data
    PM / devfreq: exynos4: use common PPMU code
    PM / devfreq: exynos5: Add CONFIG_PM_OPP dependency to fix probe fail
    PM / devfreq: exynos5: Use SIMPLE_DEV_PM_OPS macro
    PM / devfreq: exynos4: Add CONFIG_PM_OPP dependency to fix probe fail
    PM / devfreq: exynos4: Use SIMPLE_DEV_PM_OPS macro
    PM / devfreq: exynos4: Fix bug of resource leak and code clean on probe()

    Rafael J. Wysocki
     
  • * pnp:
    MAINTAINERS: Remove Bjorn Helgaas as PNP maintainer
    PNP / resources: remove positive test on unsigned values

    * powercap:
    powercap / RAPL: add new CPU IDs
    powercap / RAPL: further relax energy counter checks

    * pm-runtime:
    PM / runtime: Update documentation to reflect the current code flow

    * pm-opp:
    PM / OPP: discard duplicate OPPs
    PM / OPP: Make OPP invisible to users in Kconfig
    PM / OPP: fix incorrect OPP count handling in of_init_opp_table

    Rafael J. Wysocki
     
  • * acpi-thermal:
    ACPI / thermal: Use acpi_bus_attach_private_data() to attach private data

    Rafael J. Wysocki
     
  • * acpi-video:
    ACPI / video: Add 4 new models to the use_native_backlight DMI list
    ACPI / video: Add use native backlight quirk for the ThinkPad W530
    ACPI / video: Unregister the backlight device if a raw one shows up later
    backlight: Add backlight device (un)registration notification
    nouveau: Don't check acpi_video_backlight_support() before registering backlight
    acer-wmi: Add Aspire 5741 to video_vendor_dmi_table
    acer-wmi: Switch to acpi_video_unregister_backlight
    ACPI / video: Add an acpi_video_unregister_backlight function
    ACPI / video: Don't register acpi_video_resume notifier without backlight devices
    ACPI / video: change acpi-video brightness_switch_enabled default to 0

    Rafael J. Wysocki
     
  • * acpica: (63 commits)
    ACPICA: Namespace: Remove _PRP method support.
    ACPI: Fix x86 regression related to early mapping size limitation
    ACPICA: Tables: Add mechanism to control early table checksum verification.
    ACPICA: acpidump: Fix repetitive table dump in -n mode.
    ACPI: Clean up acpi_os_map/unmap_memory() to eliminate __iomem.
    ACPICA: Clean up redudant definitions already defined elsewhere
    ACPICA: Linux headers: Add to remove mis-ordered inclusion of
    ACPICA: Linux headers: Add
    ACPICA: Linux headers: Remove ACPI_PREEMPTION_POINT() due to no usages.
    ACPICA: Update version to 20140424.
    ACPICA: Comment/format update, no functional change.
    ACPICA: Events: Update GPE handling and initialization code.
    ACPICA: Remove extraneous error message for large number of GPEs.
    ACPICA: Tables: Remove old mechanism to validate if XSDT contains NULL entries.
    ACPICA: Tables: Add new mechanism to skip NULL entries in RSDT and XSDT.
    ACPICA: acpidump: Add support to force using RSDT.
    ACPICA: Back port of improvements on exception code.
    ACPICA: Back port of _PRP update.
    ACPICA: acpidump: Fix truncated RSDP signature validation.
    ACPICA: Linux header: Add support for stubbed externals.
    ...

    Rafael J. Wysocki
     
  • * acpi-enumeration:
    ACPI / scan: use platform bus type by default for _HID enumeration
    ACPI / scan: always register ACPI LPSS scan handler
    ACPI / scan: always register memory hotplug scan handler
    ACPI / scan: always register container scan handler
    ACPI / scan: Change the meaning of missing .attach() in scan handlers
    ACPI / scan: introduce platform_id device PNP type flag
    ACPI / scan: drop unsupported serial IDs from PNP ACPI scan handler ID list
    ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule
    ACPI / PNP: use device ID list for PNPACPI device enumeration
    ACPI / scan: .match() callback for ACPI scan handlers

    Rafael J. Wysocki
     
  • * acpi-lpss:
    ACPI / LPSS: support for fractional divider clock
    ACPI / LPSS: custom power domain for LPSS

    Rafael J. Wysocki
     
  • * pm-clk:
    clk: new basic clk type for fractional divider

    Rafael J. Wysocki
     
  • * acpi-platform:
    ACPI / platform / LPSS: Enable async suspend/resume of LPSS devices
    ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips

    Rafael J. Wysocki
     
  • * acpi-pm:
    ACPI / PM: Export rest of the subsys PM callbacks
    ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend
    ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
    ACPI / PM: Export acpi_target_system_state() to modules

    Rafael J. Wysocki
     
  • * acpi-battery:
    ACPI / battery: wakeup the system only when necessary
    power_supply: allow power supply devices registered w/o wakeup source
    ACPI / battery: introduce support for POWER_SUPPLY_PROP_CAPACITY_LEVEL
    ACPI / battery: Accelerate battery resume callback

    Rafael J. Wysocki
     
  • * pm-sleep:
    PM / hibernate: fixed typo in comment
    PM / sleep: unregister wakeup source when disabling device wakeup
    PM / sleep: Introduce command line argument for sleep state enumeration
    PM / sleep: Use valid_state() for platform-dependent sleep states only
    PM / sleep: Add state field to pm_states[] entries
    PM / sleep: Update device PM documentation to cover direct_complete
    PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily
    PM / hibernate: Fix memory corruption in resumedelay_setup()
    PM / hibernate: convert simple_strtoul to kstrtoul
    PM / hibernate: Documentation: Fix script for unswapping
    PM / hibernate: no kernel_power_off when pm_power_off NULL
    PM / hibernate: use unsigned local variables in swsusp_show_speed()

    Rafael J. Wysocki
     
  • * pm-cpuidle:
    PM / suspend: Always use deepest C-state in the "freeze" sleep state
    cpuidle / menu: move repeated correction factor check to init
    cpuidle / menu: Return (-1) if there are no suitable states
    cpuidle: Combine cpuidle_enabled() with cpuidle_select()
    ARM: clps711x: Add cpuidle driver

    Rafael J. Wysocki
     
  • * acpi-tables:
    ACPI: Fix conflict between customized DSDT and DSDT local copy

    * acpi-general:
    ACPI: Add acpi_bus_attach_private_data() to attach data to ACPI handle

    Rafael J. Wysocki
     
  • * acpi-processor:
    ACPI / processor: Fix STARTING/DYING action in acpi_cpu_soft_notify()
    ACPI / processor: Check if LAPIC is present during initialization
    ACPI / ia64: introduce variable acpi_lapic into ia64

    * acpi-pad:
    ACPI / PAD: Use time_before() for time comparison
    ACPI / PAD: call schedule() when need_resched() is true

    Rafael J. Wysocki
     
  • * acpi-scan:
    ACPI / scan: do not scan fixed hardware on HW-reduced platform

    * acpi-hotplug:
    ACPI: add dynamic_debug support
    ACPI / notify: Clean up handling of hotplug events

    * acpi-pci:
    ACPI / PCI: Stub out pci_acpi_crs_quirks() and make it x86 specific

    Rafael J. Wysocki