11 Dec, 2015

3 commits

  • ... and use the accessor instead.

    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • This was really dumb - reference counting for the main EDAC sysfs
    object. While we could've simply registered it as the first thing in the
    module init path and then hand it around to what needs it.

    Do that and rip out all the code around it, thus simplifying the whole
    handling significantly.

    Move the edac_subsys node back to edac_module.c.

    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • Originally the mpc85xx-pci-edac driver bound directly to the PCI
    controller node.

    Commit

    905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization code")

    turned the PCI controller code into a platform device. Since we can't
    have two drivers binding to the same device, the EDAC code was changed
    to be called into as a library-style submodule. However, this doesn't
    work if the EDAC driver is built as a module.

    Commit

    8d8fcba6d1ea ("EDAC: Rip out the edac_subsys reference counting")

    exposed another problem with this approach -- mpc85xx_pci_err_probe()
    was being called in the same early boot phase that the PCI controller
    is initialized, rather than in the device_initcall phase that the EDAC
    layer expects. This caused a crash on boot.

    To fix this, the PCI controller code now creates a child platform device
    specifically for EDAC, which the mpc85xx-pci-edac driver binds to.

    Reported-by: Michael Ellerman
    Reviewed-by: Johannes Thumshirn
    Signed-off-by: Scott Wood
    Cc: Andrew Morton
    Cc: Benjamin Herrenschmidt
    Cc: Daniel Axtens
    Cc: Doug Thompson
    Cc: Jia Hongtao
    Cc: Jiri Kosina
    Cc: Kim Phillips
    Cc: linux-edac
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: Masanari Iida
    Cc: Mauro Carvalho Chehab
    Cc: Paul Mackerras
    Cc: Randy Dunlap
    Cc: Rob Herring
    Link: http://lkml.kernel.org/r/1449774432-18593-1-git-send-email-scottwood@freescale.com
    Signed-off-by: Borislav Petkov

    Scott Wood
     

03 Dec, 2015

1 commit

  • Make EDAC aware of DDR4/RDDR4 mem types.

    Signed-off-by: Jim Snow
    Cc: Mauro Carvalho Chehab
    Cc: linux-edac
    Cc: lukasz.anaczkowski@intel.com
    Link: http://lkml.kernel.org/r/1449136134-23706-2-git-send-email-hubert.chrzaniuk@intel.com
    [ Rebase to 4.4-rc3. ]
    Signed-off-by: Hubert Chrzaniuk
    Signed-off-by: Borislav Petkov

    Jim Snow
     

16 Nov, 2015

1 commit

  • Pull MIPS updates from Ralf Baechle:
    "These are the highlists of the main MIPS pull request for 4.4:

    - Add latencytop support
    - Support appended DTBs
    - VDSO support and initially use it for gettimeofday.
    - Drop the .MIPS.abiflags and ELF NOTE sections from vmlinux
    - Support for the 5KE, an internal test core.
    - Switch all MIPS platfroms to libata drivers.
    - Improved support, cleanups for ralink and Lantiq platforms.
    - Support for the new xilfpga platform.
    - A number of DTB improvments for BMIPS.
    - Improved support for CM and CPS.
    - Minor JZ4740 and BCM47xx enhancements"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (120 commits)
    MIPS: idle: add case for CPU_5KE
    MIPS: Octeon: Support APPENDED_DTB
    MIPS: vmlinux: create a section for appended DTB
    MIPS: Clean up compat_siginfo_t
    MIPS: Fix PAGE_MASK definition
    MIPS: BMIPS: Enable GZIP ramdisk and timed printks
    MIPS: Add xilfpga defconfig
    MIPS: xilfpga: Add mipsfpga platform code
    MIPS: xilfpga: Add xilfpga device tree files.
    dt-bindings: MIPS: Document xilfpga bindings and boot style
    MIPS: Make MIPS_CMDLINE_DTB default
    MIPS: Make the kernel arguments from dtb available
    MIPS: Use USE_OF as the guard for appended dtb
    MIPS: BCM63XX: Use pr_* instead of printk
    MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.
    MIPS: lantiq: Disable xbar fpi burst mode
    MIPS: lantiq: Force the crossbar to big endian
    MIPS: lantiq: Initialize the USB core on boot
    MIPS: lantiq: Return correct value for fpi clock on ar9
    MIPS: ralink: Add missing clock on rt305x
    ...

    Linus Torvalds
     

14 Nov, 2015

7 commits

  • …/olof/chrome-platform

    Pull chrome platform updates from Olof Johansson:
    "Here's the branch of chrome platform changes for v4.4. Some have been
    queued up for the full 4.3 release cycle since I forgot to send them
    in for that round (rebased early on to deal with fixes conflicts).

    Most of these enable EC communication stuff -- Pixel 2015 support,
    enabling building for ARM64 platforms, and a few fixes for memory
    leaks.

    There's also a patch in here to allow reading/writing the verified
    boot context, which depends on a sysfs patch acked by Greg"

    * tag 'chrome-platform-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform:
    platform/chrome: Fix i2c-designware adapter name
    platform/chrome: Support reading/writing the vboot context
    sysfs: Support is_visible() on binary attributes
    platform/chrome: cros_ec: Fix possible leak in led_rgb_store()
    platform/chrome: cros_ec: Fix leak in sequence_store()
    platform/chrome: Enable Chrome platforms on 64-bit ARM
    platform/chrome: cros_ec_dev - Add a platform device ID table
    platform/chrome: cros_ec_lpc - Add support for Google Pixel 2
    platform/chrome: cros_ec_lpc - Use existing function to check EC result
    platform/chrome: Make depends on MFD_CROS_EC instead CROS_EC_PROTO
    Revert "platform/chrome: Don't make CHROME_PLATFORMS depends on X86 || ARM"

    Linus Torvalds
     
  • Pull final round of SCSI updates from James Bottomley:
    "Sorry for the delay in this patch which was mostly caused by getting
    the merger of the mpt2/mpt3sas driver, which was seen as an essential
    item of maintenance work to do before the drivers diverge too much.
    Unfortunately, this caused a compile failure (detected by linux-next),
    which then had to be fixed up and incubated.

    In addition to the mpt2/3sas rework, there are updates from pm80xx,
    lpfc, bnx2fc, hpsa, ipr, aacraid, megaraid_sas, storvsc and ufs plus
    an assortment of changes including some year 2038 issues, a fix for a
    remove before detach issue in some drivers and a couple of other minor
    issues"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (141 commits)
    mpt3sas: fix inline markers on non inline function declarations
    sd: Clear PS bit before Mode Select.
    ibmvscsi: set max_lun to 32
    ibmvscsi: display default value for max_id, max_lun and max_channel.
    mptfusion: don't allow negative bytes in kbuf_alloc_2_sgl()
    scsi: pmcraid: replace struct timeval with ktime_get_real_seconds()
    mvumi: 64bit value for seconds_since1970
    be2iscsi: Fix bogus WARN_ON length check
    scsi_scan: don't dump trace when scsi_prep_async_scan() is called twice
    mpt3sas: Bump mpt3sas driver version to 09.102.00.00
    mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs
    mpt2sas, mpt3sas: Update the driver versions
    mpt3sas: setpci reset kernel oops fix
    mpt3sas: Added OEM Gen2 PnP ID branding names
    mpt3sas: Refcount fw_events and fix unsafe list usage
    mpt3sas: Refcount sas_device objects and fix unsafe list usage
    mpt3sas: sysfs attribute to report Backup Rail Monitor Status
    mpt3sas: Ported WarpDrive product SSS6200 support
    mpt3sas: fix for driver fails EEH, recovery from injected pci bus error
    mpt3sas: Manage MSI-X vectors according to HBA device type
    ...

    Linus Torvalds
     
  • Pull SCSI target updates from Nicholas Bellinger:
    "This series contains HCH's changes to absorb configfs attribute
    ->show() + ->store() function pointer usage from it's original
    tree-wide consumers, into common configfs code.

    It includes usb-gadget, target w/ drivers, netconsole and ocfs2
    changes to realize the improved simplicity, that now renders the
    original include/target/configfs_macros.h CPP magic for fabric drivers
    and others, unnecessary and obsolete.

    And with common code in place, new configfs attributes can be added
    easier than ever before.

    Note, there are further improvements in-flight from other folks for
    v4.5 code in configfs land, plus number of target fixes for post -rc1
    code"

    In the meantime, a new user of the now-removed old configfs API came in
    through the char/misc tree in commit 7bd1d4093c2f ("stm class: Introduce
    an abstraction for System Trace Module devices").

    This merge resolution comes from Alexander Shishkin, who updated his stm
    class tracing abstraction to account for the removal of the old
    show_attribute and store_attribute methods in commit 517982229f78
    ("configfs: remove old API") from this pull. As Alexander says about
    that patch:

    "There's no need to keep an extra wrapper structure per item and the
    awkward show_attribute/store_attribute item ops are no longer needed.

    This patch converts policy code to the new api, all the while making
    the code quite a bit smaller and easier on the eyes.

    Signed-off-by: Alexander Shishkin "

    That patch was folded into the merge so that the tree should be fully
    bisectable.

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (23 commits)
    configfs: remove old API
    ocfs2/cluster: use per-attribute show and store methods
    ocfs2/cluster: move locking into attribute store methods
    netconsole: use per-attribute show and store methods
    target: use per-attribute show and store methods
    spear13xx_pcie_gadget: use per-attribute show and store methods
    dlm: use per-attribute show and store methods
    usb-gadget/f_serial: use per-attribute show and store methods
    usb-gadget/f_phonet: use per-attribute show and store methods
    usb-gadget/f_obex: use per-attribute show and store methods
    usb-gadget/f_uac2: use per-attribute show and store methods
    usb-gadget/f_uac1: use per-attribute show and store methods
    usb-gadget/f_mass_storage: use per-attribute show and store methods
    usb-gadget/f_sourcesink: use per-attribute show and store methods
    usb-gadget/f_printer: use per-attribute show and store methods
    usb-gadget/f_midi: use per-attribute show and store methods
    usb-gadget/f_loopback: use per-attribute show and store methods
    usb-gadget/ether: use per-attribute show and store methods
    usb-gadget/f_acm: use per-attribute show and store methods
    usb-gadget/f_hid: use per-attribute show and store methods
    ...

    Linus Torvalds
     
  • Pull vfs xattr cleanups from Al Viro.

    * 'for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    f2fs: xattr simplifications
    squashfs: xattr simplifications
    9p: xattr simplifications
    xattr handlers: Pass handler to operations instead of flags
    jffs2: Add missing capability check for listing trusted xattrs
    hfsplus: Remove unused xattr handler list operations
    ubifs: Remove unused security xattr handler
    vfs: Fix the posix_acl_xattr_list return value
    vfs: Check attribute names in posix acl xattr handers

    Linus Torvalds
     
  • Now that the xattr handler is passed to the xattr handler operations, we
    can use the same get and set operations for the user, trusted, and security
    xattr namespaces. In those namespaces, we can access the full attribute
    name by "reattaching" the name prefix the vfs has skipped for us. Add a
    xattr_full_name helper to make this obvious in the code.

    For the "system.posix_acl_access" and "system.posix_acl_default"
    attributes, handler->prefix is the full attribute name; the suffix is the
    empty string.

    Signed-off-by: Andreas Gruenbacher
    Cc: Eric Van Hensbergen
    Cc: Ron Minnich
    Cc: Latchesar Ionkov
    Cc: v9fs-developer@lists.sourceforge.net
    Signed-off-by: Al Viro

    Andreas Gruenbacher
     
  • Pull VFIO updates from Alex Williamson:
    - Use kernel interfaces for VPD emulation (Alex Williamson)
    - Platform fix for releasing IRQs (Eric Auger)
    - Type1 IOMMU always advertises PAGE_SIZE support when smaller mapping
    sizes are available (Eric Auger)
    - Platform fixes for incorrectly using copies of structures rather than
    pointers to structures (James Morse)
    - Rework platform reset modules, fix leak, and add AMD xgbe reset
    module (Eric Auger)
    - Fix vfio_device_get_from_name() return value (Joerg Roedel)
    - No-IOMMU interface (Alex Williamson)
    - Fix potential out of bounds array access in PCI config handling (Dan
    Carpenter)

    * tag 'vfio-v4.4-rc1' of git://github.com/awilliam/linux-vfio:
    vfio/pci: make an array larger
    vfio: Include No-IOMMU mode
    vfio: Fix bug in vfio_device_get_from_name()
    VFIO: platform: reset: AMD xgbe reset module
    vfio: platform: reset: calxedaxgmac: fix ioaddr leak
    vfio: platform: add dev_info on device reset
    vfio: platform: use list of registered reset function
    vfio: platform: add compat in vfio_platform_device
    vfio: platform: reset: calxedaxgmac: add reset function registration
    vfio: platform: introduce module_vfio_reset_handler macro
    vfio: platform: add capability to register a reset function
    vfio: platform: introduce vfio-platform-base module
    vfio/platform: store mapped memory in region, instead of an on-stack copy
    vfio/type1: handle case where IOMMU does not support PAGE_SIZE size
    VFIO: platform: clear IRQ_NOAUTOEN when de-assigning the IRQ
    vfio/pci: Use kernel VPD access functions
    vfio: Whitelist PCI bridges

    Linus Torvalds
     
  • Pull Ceph updates from Sage Weil:
    "There are several patches from Ilya fixing RBD allocation lifecycle
    issues, a series adding a nocephx_sign_messages option (and associated
    bug fixes/cleanups), several patches from Zheng improving the
    (directory) fsync behavior, a big improvement in IO for direct-io
    requests when striping is enabled from Caifeng, and several other
    small fixes and cleanups"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
    libceph: clear msg->con in ceph_msg_release() only
    libceph: add nocephx_sign_messages option
    libceph: stop duplicating client fields in messenger
    libceph: drop authorizer check from cephx msg signing routines
    libceph: msg signing callouts don't need con argument
    libceph: evaluate osd_req_op_data() arguments only once
    ceph: make fsync() wait unsafe requests that created/modified inode
    ceph: add request to i_unsafe_dirops when getting unsafe reply
    libceph: introduce ceph_x_authorizer_cleanup()
    ceph: don't invalidate page cache when inode is no longer used
    rbd: remove duplicate calls to rbd_dev_mapping_clear()
    rbd: set device_type::release instead of device::release
    rbd: don't free rbd_dev outside of the release callback
    rbd: return -ENOMEM instead of pool id if rbd_dev_create() fails
    libceph: use local variable cursor instead of &msg->cursor
    libceph: remove con argument in handle_reply()
    ceph: combine as many iovec as possile into one OSD request
    ceph: fix message length computation
    ceph: fix a comment typo
    rbd: drop null test before destroy functions

    Linus Torvalds
     

13 Nov, 2015

6 commits

  • Pull drm fixes from Dave Airlie:
    "One urgent fix for an oops under console lock in some drivers, one
    uapi fix, and one revert to fix rockchip regression"

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    Revert "drm/rockchip: Convert the probe function to the generic drm_of_component_probe()"
    drm: Don't oops in drm_calc_timestamping_constants() if drm_vblank_init() wasn't called
    drm: Use userspace compatible type in fourcc_mod_code macro

    Linus Torvalds
     
  • Single fix for uapi.

    * tag 'topic/drm-fixes-2015-11-11' of git://anongit.freedesktop.org/drm-intel:
    drm: Use userspace compatible type in fourcc_mod_code macro

    Dave Airlie
     
  • Pull misc block fixes from Jens Axboe:
    "Stuff that got collected after the merge window opened. This
    contains:

    - NVMe:
    - Fix for non-striped transfer size setting for NVMe from
    Sathyavathi.
    - (Some) support for the weird Apple nvme controller in the
    macbooks. From Stephan Günther.

    - The error value leak for dax from Al.

    - A few minor blk-mq tweaks from me.

    - Add the new linux-block@vger.kernel.org mailing list to the
    MAINTAINERS file.

    - Discard fix for brd, from Jan.

    - A kerneldoc warning for block core from Randy.

    - An older fix from Vivek, converting a WARN_ON() to a rate limited
    printk when a device is hot removed with dirty inodes"

    * 'for-linus' of git://git.kernel.dk/linux-block:
    block: don't hardcode blk_qc_t -> tag mask
    dax_io(): don't let non-error value escape via retval instead of EFAULT
    block: fix blk-core.c kernel-doc warning
    fs/block_dev.c: Remove WARN_ON() when inode writeback fails
    NVMe: add support for Apple NVMe controller
    NVMe: use split lo_hi_{read,write}q
    blk-mq: mark __blk_mq_complete_request() static
    MAINTAINERS: add reference to new linux-block list
    NVMe: Increase the max transfer size when mdts is 0
    brd: Refuse improperly aligned discard requests

    Linus Torvalds
     
  • Pull h8300 updates from Yoshinori Sato:
    "Some bug fixes"

    * tag 'for-4.4' of git://git.osdn.jp/gitroot/uclinux-h8/linux:
    h8300: enable CLKSRC_OF
    h8300: Don't set CROSS_COMPILE unconditionally
    asm-generic: {get,put}_user ptr argument evaluate only 1 time
    h8300: bit io fix
    h8300: zImage fix
    h8300: register address fix
    h8300: Fix alignment for .data
    h8300: unaligned divcr register support.

    Linus Torvalds
     
  • Pull second batch of kvm updates from Paolo Bonzini:
    "Four changes:

    - x86: work around two nasty cases where a benign exception occurs
    while another is being delivered. The endless stream of exceptions
    causes an infinite loop in the processor, which not even NMIs or
    SMIs can interrupt; in the virt case, there is no possibility to
    exit to the host either.

    - x86: support for Skylake per-guest TSC rate. Long supported by
    AMD, the patches mostly move things from there to common
    arch/x86/kvm/ code.

    - generic: remove local_irq_save/restore from the guest entry and
    exit paths when context tracking is enabled. The patches are a few
    months old, but we discussed them again at kernel summit. Andy
    will pick up from here and, in 4.5, try to remove it from the user
    entry/exit paths.

    - PPC: Two bug fixes, see merge commit 370289756becc for details"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (21 commits)
    KVM: x86: rename update_db_bp_intercept to update_bp_intercept
    KVM: svm: unconditionally intercept #DB
    KVM: x86: work around infinite loop in microcode when #AC is delivered
    context_tracking: avoid irq_save/irq_restore on guest entry and exit
    context_tracking: remove duplicate enabled check
    KVM: VMX: Dump TSC multiplier in dump_vmcs()
    KVM: VMX: Use a scaled host TSC for guest readings of MSR_IA32_TSC
    KVM: VMX: Setup TSC scaling ratio when a vcpu is loaded
    KVM: VMX: Enable and initialize VMX TSC scaling
    KVM: x86: Use the correct vcpu's TSC rate to compute time scale
    KVM: x86: Move TSC scaling logic out of call-back read_l1_tsc()
    KVM: x86: Move TSC scaling logic out of call-back adjust_tsc_offset()
    KVM: x86: Replace call-back compute_tsc_offset() with a common function
    KVM: x86: Replace call-back set_tsc_khz() with a common function
    KVM: x86: Add a common TSC scaling function
    KVM: x86: Add a common TSC scaling ratio field in kvm_vcpu_arch
    KVM: x86: Collect information for setting TSC scaling ratio
    KVM: x86: declare a few variables as __read_mostly
    KVM: x86: merge handle_mmio_page_fault and handle_mmio_page_fault_common
    KVM: PPC: Book3S HV: Don't dynamically split core when already split
    ...

    Linus Torvalds
     
  • Pull more power management and ACPI updates from Rafael Wysocki:
    "The only new feature in this batch is support for the ACPI _CCA device
    configuration object, which it a pre-requisite for future ACPI PCI
    support on ARM64, but should not affect the other architectures.

    The rest is fixes and cleanups, mostly in cpufreq (including
    intel_pstate), the Operating Performace Points (OPP) framework and
    tools (cpupower and turbostat).

    Specifics:

    - Support for the ACPI _CCA configuration object intended to tell the
    OS whether or not a bus master device supports hardware managed
    cache coherency and a new set of functions to allow drivers to
    check the cache coherency support for devices in a platform
    firmware interface agnostic way (Suravee Suthikulpanit, Jeremy
    Linton).

    - ACPI backlight quirks for ESPRIMO Mobile M9410 and Dell XPS L421X
    (Aaron Lu, Hans de Goede).

    - Fixes for the arm_big_little and s5pv210-cpufreq cpufreq drivers
    (Jon Medhurst, Nicolas Pitre).

    - kfree()-related fixup for the recently introduced CPPC cpufreq
    frontend (Markus Elfring).

    - intel_pstate fix reducing kernel log noise on systems where
    P-states are managed by hardware (Prarit Bhargava).

    - intel_pstate maintainers information update (Srinivas Pandruvada).

    - cpufreq core optimization related to the handling of delayed work
    items used by governors (Viresh Kumar).

    - Locking fixes and cleanups of the Operating Performance Points
    (OPP) framework (Viresh Kumar).

    - Generic power domains framework cleanups (Lina Iyer).

    - cpupower tool updates (Jacob Tanenbaum, Sriram Raghunathan, Thomas
    Renninger).

    - turbostat tool updates (Len Brown)"

    * tag 'pm+acpi-4.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (32 commits)
    PCI: ACPI: Add support for PCI device DMA coherency
    PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()
    of/pci: Fix pci_get_host_bridge_device leak
    device property: ACPI: Remove unused DMA APIs
    device property: ACPI: Make use of the new DMA Attribute APIs
    device property: Adding DMA Attribute APIs for Generic Devices
    ACPI: Adding DMA Attribute APIs for ACPI Device
    device property: Introducing enum dev_dma_attr
    ACPI: Honor ACPI _CCA attribute setting
    cpufreq: CPPC: Delete an unnecessary check before the function call kfree()
    PM / OPP: Add opp_rcu_lockdep_assert() to _find_device_opp()
    PM / OPP: Hold dev_opp_list_lock for writers
    PM / OPP: Protect updates to list_dev with mutex
    PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus()
    cpufreq: s5pv210-cpufreq: fix wrong do_div() usage
    MAINTAINERS: update for intel P-state driver
    Creating a common structure initialization pattern for struct option
    cpupower: Enable disabled Cstates if they are below max latency
    cpupower: Remove debug message when using cpupower idle-set -D switch
    cpupower: cpupower monitor reports uninitialized values for offline cpus
    ...

    Linus Torvalds
     

12 Nov, 2015

6 commits

  • Pull nfsd updates from Bruce Fields:
    "Apologies for coming a little late in the merge window. Fortunately
    this is another fairly quiet one:

    Mainly smaller bugfixes and cleanup. We're still finding some bugs
    from the breakup of the big NFSv4 state lock in 3.17 -- thanks
    especially to Andrew Elble and Jeff Layton for tracking down some of
    the remaining races"

    * tag 'nfsd-4.4' of git://linux-nfs.org/~bfields/linux:
    svcrpc: document lack of some memory barriers
    nfsd: fix race with open / open upgrade stateids
    nfsd: eliminate sending duplicate and repeated delegations
    nfsd: remove recurring workqueue job to clean DRC
    SUNRPC: drop stale comment in svc_setup_socket()
    nfsd: ensure that seqid morphing operations are atomic wrt to copies
    nfsd: serialize layout stateid morphing operations
    nfsd: improve client_has_state to check for unused openowners
    nfsd: fix clid_inuse on mount with security change
    sunrpc/cache: make cache flushing more reliable.
    nfsd: move include of state.h from trace.c to trace.h
    sunrpc: avoid warning in gss_key_timeout
    lockd: get rid of reference-counted NSM RPC clients
    SUNRPC: Use MSG_SENDPAGE_NOTLAST when calling sendpage()
    lockd: create NSM handles per net namespace
    nfsd: switch unsigned char flags in svc_fh to bools
    nfsd: move svc_fh->fh_maxsize to just after fh_handle
    nfsd: drop null test before destroy functions
    nfsd: serialize state seqid morphing operations

    Linus Torvalds
     
  • Pull DeviceTree fixes from Rob Herring:

    - Add empty of_translate_address needed for HiSilicon network driver.

    - Fix alignment requirements for CMA regions in DT.

    - Fix booting on PPC systems which can't do WARN() early.

    - Rename ak4554 binding doc from .c to .txt.

    * tag 'devicetree-fixes-for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    of: Provide static inline function for of_translate_address if needed
    drivers: of: of_reserved_mem: fixup the alignment with CMA setup
    of: Print rather than WARN'ing when overlap check fails
    dt-bindings: ak4554: extension should be .txt

    Linus Torvalds
     
  • Pull vfs update from Al Viro:

    - misc stable fixes

    - trivial kernel-doc and comment fixups

    - remove never-used block_page_mkwrite() wrapper function, and rename
    the function that is _actually_ used to not have double underscores.

    * 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    fs: 9p: cache.h: Add #define of include guard
    vfs: remove stale comment in inode_operations
    vfs: remove unused wrapper block_page_mkwrite()
    binfmt_elf: Correct `arch_check_elf's description
    fs: fix writeback.c kernel-doc warnings
    fs: fix inode.c kernel-doc warning
    fs/pipe.c: return error code rather than 0 in pipe_write()
    fs/pipe.c: preserve alloc_file() error code
    binfmt_elf: Don't clobber passed executable's file header
    FS-Cache: Handle a write to the page immediately beyond the EOF marker
    cachefiles: perform test on s_blocksize when opening cache file.
    FS-Cache: Don't override netfs's primary_index if registering failed
    FS-Cache: Increase reference of parent after registering, netfs success
    debugfs: fix refcount imbalance in start_creating

    Linus Torvalds
     
  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "This round contains a couple of new drivers for the Marvell Berlin
    family of SoCs, various SoCs from Renesas and Broadcom as well as the
    backlight PWM present on MediaTek SoCs.

    Further existing drivers are extended to support a wider range of
    hardware.

    The remaining patches are minor fixes and cleanups across the board.

    Note that one of the patches included in this pull request is against
    arch/unicore32. I've included it here because I couldn't get a
    response from Guan Xuetao and I consider the change low-risk.
    Equivalent patches have been merged and tested in Samsung and PXA
    trees. The goal is to finally get rid of legacy code paths that have
    repeatedly been causing headaches"

    * tag 'pwm/for-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (24 commits)
    pwm: sunxi: Fix whitespace issue
    pwm: sysfs: Make use of the DEVICE_ATTR_[RW][WO] macro's
    pwm: sysfs: Remove unnecessary temporary variable
    unicore32: nb0916: Use PWM lookup table
    pwm: pwm-rcar: Revise the device tree binding document about compatible
    pwm: Return -ENODEV if no PWM lookup match is found
    pwm: sun4i: Add support for PWM controller on sun5i SoCs
    pwm: Set enable state properly on failed call to enable
    pwm: lpss: Add support for runtime PM
    pwm: lpss: Add more Intel Broxton IDs
    pwm: lpss: Support all four PWMs on Intel Broxton
    pwm: lpss: Add support for multiple PWMs
    pwm-pca9685: enable ACPI device found on Galileo Gen2
    pwm: Add MediaTek display PWM driver support
    dt-bindings: pwm: Add MediaTek display PWM bindings
    pwm: tipwmss: Enable on TI DRA7x and AM437x
    pwm: atmel-hlcdc: add sama5d2 SoC support.
    pwm: Add Broadcom BCM7038 PWM controller support
    Documentation: dt: add Broadcom BCM7038 PWM controller binding
    pwm: Add support for R-Car PWM Timer
    ...

    Linus Torvalds
     
  • Pull thermal updates from Zhang Rui:

    - Implement generic devfreq cooling mechanism through frequency
    reduction for devices using devfreq. From Ørjan Eide and Javi
    Merino.

    - Introduce OMAP3 support on TI SoC thermal driver. From Pavel Mack
    and Eduardo Valentin.

    - A bounch of small fixes on devfreq_cooling, Exynos, IMX, Armada, and
    Rockchip thermal drivers.

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (24 commits)
    thermal: exynos: Directly return 0 instead of using local ret variable
    thermal: exynos: Remove unneeded semicolon
    thermal: exynos: Use IS_ERR() because regulator cannot be NULL
    thermal: exynos: Fix first temperature read after registering sensor
    thermal: exynos: Fix unbalanced regulator disable on probe failure
    devfreq_cooling: return on allocation failure
    thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r
    dt-bindings: rockchip-thermal: Add the pinctrl states in this document
    thermal: devfreq_cooling: Make power a u64
    thermal: devfreq_cooling: use a thermal_cooling_device for register and unregister
    thermal: underflow bug in imx_set_trip_temp()
    thermal: armada: Fix possible overflow in the Armada 380 thermal sensor formula
    thermal: imx: register irq handler later in probe
    thermal: rockhip: fix setting thermal shutdown polarity
    thermal: rockchip: fix handling of invalid readings
    devfreq_cooling: add trace information
    thermal: Add devfreq cooling
    PM / OPP: get the voltage for all OPPs
    tools/thermal: tmon: use pkg-config also for CFLAGS
    linux/thermal.h: rename KELVIN_TO_CELSIUS to DECI_KELVIN_TO_CELSIUS
    ...

    Linus Torvalds
     
  • Use the shift/mask we use elsewhere.

    Signed-off-by: Jens Axboe

    Jens Axboe
     

11 Nov, 2015

16 commits

  • The GIC provides a "user-mode visible" section containing a mirror of
    the counter registers which can be mapped into user memory. This will
    be used by the VDSO time function implementations, so provide a
    function to map it in.

    When the GIC is not enabled in Kconfig a dummy inline version of this
    function is provided, along with "#define gic_present 0", so that we
    don't have to litter the VDSO code with ifdefs.

    [markos.chandras@imgtec.com:
    - Move mapping code to arch/mips/kernel/vdso.c and use a resource
    type to get the GIC usermode information
    - Avoid renaming function arguments and use __gic_base_addr to hold
    the base GIC address prior to ioremap.]
    [ralf@linux-mips.org: Fix up gic_get_usm_range() to compile and make inline
    again.]

    Signed-off-by: Alex Smith
    Signed-off-by: Markos Chandras
    Reviewed-by: Marc Zyngier
    Cc: Thomas Gleixner
    Cc: Jason Cooper
    Cc: Marc Zyngier
    Cc: Alex Smith
    Cc: Markos Chandras
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/11281/
    Signed-off-by: Ralf Baechle

    Alex Smith
     
  • The big warning comment that is currently at the end of struct
    inode_operations was added as part of this commit:

    4aa7c6346be3 ("vfs: add i_op->dentry_open()")

    It was added to warn people not to use the newly added 'dentry_open'
    function pointer.

    This function pointer was removed as part of this commit:

    4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and
    f_inode to the underlay")

    The comment was left behind and now refers to nothing, so remove it.

    Signed-off-by: Ross Zwisler
    Signed-off-by: Al Viro

    Ross Zwisler
     
  • The function currently called "__block_page_mkwrite()" used to be called
    "block_page_mkwrite()" until a wrapper for this function was added by:

    commit 24da4fab5a61 ("vfs: Create __block_page_mkwrite() helper passing
    error values back")

    This wrapper, the current "block_page_mkwrite()", is currently unused.
    __block_page_mkwrite() is used directly by ext4, nilfs2 and xfs.

    Remove the unused wrapper, rename __block_page_mkwrite() back to
    block_page_mkwrite() and update the comment above block_page_mkwrite().

    Signed-off-by: Ross Zwisler
    Reviewed-by: Jan Kara
    Cc: Jan Kara
    Cc: Christoph Hellwig
    Cc: Al Viro
    Signed-off-by: Al Viro

    Ross Zwisler
     
  • Merge final patch-bomb from Andrew Morton:
    "Various leftovers, mainly Christoph's pci_dma_supported() removals"

    * emailed patches from Andrew Morton :
    pci: remove pci_dma_supported
    usbnet: remove ifdefed out call to dma_supported
    kaweth: remove ifdefed out call to dma_supported
    sfc: don't call dma_supported
    nouveau: don't call pci_dma_supported
    netup_unidvb: use pci_set_dma_mask insted of pci_dma_supported
    cx23885: use pci_set_dma_mask insted of pci_dma_supported
    cx25821: use pci_set_dma_mask insted of pci_dma_supported
    cx88: use pci_set_dma_mask insted of pci_dma_supported
    saa7134: use pci_set_dma_mask insted of pci_dma_supported
    saa7164: use pci_set_dma_mask insted of pci_dma_supported
    tw68-core: use pci_set_dma_mask insted of pci_dma_supported
    pcnet32: use pci_set_dma_mask insted of pci_dma_supported
    lib/string.c: add ULL suffix to the constant definition
    hugetlb: trivial comment fix
    selftests/mlock2: add ULL suffix to 64-bit constants
    selftests/mlock2: add missing #define _GNU_SOURCE

    Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) Fix null deref in xt_TEE netfilter module, from Eric Dumazet.

    2) Several spots need to get to the original listner for SYN-ACK
    packets, most spots got this ok but some were not. Whilst covering
    the remaining cases, create a helper to do this. From Eric Dumazet.

    3) Missiing check of return value from alloc_netdev() in CAIF SPI code,
    from Rasmus Villemoes.

    4) Don't sleep while != TASK_RUNNING in macvtap, from Vlad Yasevich.

    5) Use after free in mvneta driver, from Justin Maggard.

    6) Fix race on dst->flags access in dst_release(), from Eric Dumazet.

    7) Add missing ZLIB_INFLATE dependency for new qed driver. From Arnd
    Bergmann.

    8) Fix multicast getsockopt deadlock, from WANG Cong.

    9) Fix deadlock in btusb, from Kuba Pawlak.

    10) Some ipv6_add_dev() failure paths were not cleaning up the SNMP6
    counter state. From Sabrina Dubroca.

    11) Fix packet_bind() race, which can cause lost notifications, from
    Francesco Ruggeri.

    12) Fix MAC restoration in qlcnic driver during bonding mode changes,
    from Jarod Wilson.

    13) Revert bridging forward delay change which broke libvirt and other
    userspace things, from Vlad Yasevich.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (65 commits)
    Revert "bridge: Allow forward delay to be cfgd when STP enabled"
    bpf_trace: Make dependent on PERF_EVENTS
    qed: select ZLIB_INFLATE
    net: fix a race in dst_release()
    net: mvneta: Fix memory use after free.
    net: Documentation: Fix default value tcp_limit_output_bytes
    macvtap: Resolve possible __might_sleep warning in macvtap_do_read()
    mvneta: add FIXED_PHY dependency
    net: caif: check return value of alloc_netdev
    net: hisilicon: NET_VENDOR_HISILICON should depend on HAS_DMA
    drivers: net: xgene: fix RGMII 10/100Mb mode
    netfilter: nft_meta: use skb_to_full_sk() helper
    net_sched: em_meta: use skb_to_full_sk() helper
    sched: cls_flow: use skb_to_full_sk() helper
    netfilter: xt_owner: use skb_to_full_sk() helper
    smack: use skb_to_full_sk() helper
    net: add skb_to_full_sk() helper and use it in selinux_netlbl_skbuff_setsid()
    bpf: doc: correct arch list for supported eBPF JIT
    dwc_eth_qos: Delete an unnecessary check before the function call "of_node_put"
    bonding: fix panic on non-ARPHRD_ETHER enslave failure
    ...

    Linus Torvalds
     
  • Pull block IO poll support from Jens Axboe:
    "Various groups have been doing experimentation around IO polling for
    (really) fast devices. The code has been reviewed and has been
    sitting on the side for a few releases, but this is now good enough
    for coordinated benchmarking and further experimentation.

    Currently O_DIRECT sync read/write are supported. A framework is in
    the works that allows scalable stats tracking so we can auto-tune
    this. And we'll add libaio support as well soon. Fow now, it's an
    opt-in feature for test purposes"

    * 'for-4.4/io-poll' of git://git.kernel.dk/linux-block:
    direct-io: be sure to assign dio->bio_bdev for both paths
    directio: add block polling support
    NVMe: add blk polling support
    block: add block polling support
    blk-mq: return tag/queue combo in the make_request_fn handlers
    block: change ->make_request_fn() and users to return a queue cookie

    Linus Torvalds
     
  • Signed-off-by: Christoph Hellwig
    Cc: "James E.J. Bottomley"
    Cc: Helge Deller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • If OF_ADDRESS is not configured, builds can fail with errors such as

    drivers/net/ethernet/hisilicon/hns_mdio.c:
    In function 'hns_mdio_bus_name':
    drivers/net/ethernet/hisilicon/hns_mdio.c:411:3:
    error: implicit declaration of function 'of_translate_address'

    as currently seen when building sparc:allmodconfig.

    Introduce a static inline function if OF_ADDRESS is not configured to fix
    the build failure. Return OF_BAD_ADDR in this case. For this to work, the
    definition of OF_BAD_ADDR has to be moved outside CONFIG_OF conditional
    code.

    Fixes: 876133d3161d ("net: hisilicon: add OF dependency")
    Cc: Arnd Bergmann
    Signed-off-by: Guenter Roeck
    Reviewed-by: Arnd Bergmann
    Reviewed-by: Frank Rowand
    Signed-off-by: Rob Herring

    Guenter Roeck
     
  • Pull ARM DT updates from Olof Johansson:
    "As usual, this is the massive branch we have for each release. Lots
    of various updates and additions of hardware descriptions on existing
    hardware, as well as the usual additions of new boards and SoCs.

    This is also the first release where we've started mixing 64- and
    32-bit DT updates in one branch.

    (Specific details on what's actually here and new is pretty easy to
    tell from the diffstat, so there's little point in duplicating listing
    it here)"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (499 commits)
    ARM: dts: uniphier: add system-bus-controller nodes
    ARM64: juno: disable NOR flash node by default
    ARM: dts: uniphier: add outer cache controller nodes
    arm64: defconfig: Enable PCI generic host bridge by default
    arm64: Juno: Add support for the PCIe host bridge on Juno R1
    Documentation: of: Document the bindings used by Juno R1 PCIe host bridge
    ARM: dts: uniphier: add I2C aliases for ProXstream2 boards
    dts/Makefile: Add build support for LS2080a QDS & RDB board DTS
    dts/ls2080a: Add DTS support for LS2080a QDS & RDB boards
    dts/ls2080a: Update Simulator DTS to add support of various peripherals
    dts/ls2080a: Remove text about writing to Free Software Foundation
    dts/ls2080a: Update DTSI to add support of various peripherals
    doc: DTS: Update DWC3 binding to provide reference to generic bindings
    doc/bindings: Update GPIO devicetree binding documentation for LS2080A
    Documentation/dts: Move FSL board-specific bindings out of /powerpc
    Documentation: DT: Add entry for FSL LS2080A QDS and RDB boards
    arm64: Rename FSL LS2085A SoC support code to LS2080A
    arm64: Use generic Layerscape SoC family naming
    ARM: dts: uniphier: add ProXstream2 Vodka board support
    ARM: dts: uniphier: add ProXstream2 Gentil board support
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver updates from Olof Johansson:
    "As we've enabled multiplatform kernels on ARM, and greatly done away
    with the contents under arch/arm/mach-*, there's still need for
    SoC-related drivers to go somewhere.

    Many of them go in through other driver trees, but we still have
    drivers/soc to hold some of the "doesn't fit anywhere" lowlevel code
    that might be shared between ARM and ARM64 (or just in general makes
    sense to not have under the architecture directory).

    This branch contains mostly such code:

    - Drivers for qualcomm SoCs for SMEM, SMD and SMD-RPM, used to
    communicate with power management blocks on these SoCs for use by
    clock, regulator and bus frequency drivers.

    - Allwinner Reduced Serial Bus driver, again used to communicate with
    PMICs.

    - Drivers for ARM's SCPI (System Control Processor). Not to be
    confused with PSCI (Power State Coordination Interface). SCPI is
    used to communicate with the assistant embedded cores doing power
    management, and we have yet to see how many of them will implement
    this for their hardware vs abstracting in other ways (or not at all
    like in the past).

    - To make confusion between SCPI and PSCI more likely, this release
    also includes an update of PSCI to interface version 1.0.

    - Rockchip support for power domains.

    - A driver to talk to the firmware on Raspberry Pi"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (57 commits)
    soc: qcom: smd-rpm: Correct size of outgoing message
    bus: sunxi-rsb: Add driver for Allwinner Reduced Serial Bus
    bus: sunxi-rsb: Add Allwinner Reduced Serial Bus (RSB) controller bindings
    ARM: bcm2835: add mutual inclusion protection
    drivers: psci: make PSCI 1.0 functions initialization version dependent
    dt-bindings: Correct paths in Rockchip power domains binding document
    soc: rockchip: power-domain: don't try to print the clock name in error case
    soc: qcom/smem: add HWSPINLOCK dependency
    clk: berlin: add cpuclk
    ARM: berlin: dts: add CLKID_CPU for BG2Q
    ARM: bcm2835: Add the Raspberry Pi firmware driver
    soc: qcom: smem: Move RPM message ram out of smem DT node
    soc: qcom: smd-rpm: Correct the active vs sleep state flagging
    soc: qcom: smd: delete unneeded of_node_put
    firmware: qcom-scm: build for correct architecture level
    soc: qcom: smd: Correct SMEM items for upper channels
    qcom-scm: add missing prototype for qcom_scm_is_available()
    qcom-scm: fix endianess issue in __qcom_scm_is_call_available
    soc: qcom: smd: Reject send of too big packets
    soc: qcom: smd: Handle big endian CPUs
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "New and/or improved SoC support for this release:

    Marvell Berlin:
    - Enable standard DT-based cpufreq
    - Add CPU hotplug support

    Freescale:
    - Ethernet init for i.MX7D
    - Suspend/resume support for i.MX6UL

    Allwinner:
    - Support for R8 chipset (used on NTC's $9 C.H.I.P board)

    Mediatek:
    - SMP support for some platforms

    Uniphier:
    - L2 support
    - Cleaned up SMP support, etc.

    plus a handful of other patches around above functionality, and a few
    other smaller changes"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (42 commits)
    ARM: uniphier: rework SMP operations to use trampoline code
    ARM: uniphier: add outer cache support
    Documentation: EXYNOS: Update bootloader interface on exynos542x
    ARM: mvebu: add broken-idle option
    ARM: orion5x: use mac_pton() helper
    ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
    ARM: sunxi: Add R8 support
    ARM: digicolor: select pinctrl/gpio driver
    arm: berlin: add CPU hotplug support
    arm: berlin: use non-self-cleared reset register to reset cpu
    ARM: mediatek: add smp bringup code
    ARM: mediatek: enable gpt6 on boot up to make arch timer working
    soc: mediatek: Fix random hang up issue while kernel init
    soc: ti: qmss: make acc queue support optional in the driver
    soc: ti: add firmware file name as part of the driver
    Documentation: dt: soc: Add description for knav qmss driver
    ARM: S3C64XX: Use PWM lookup table for mach-smartq
    ARM: S3C64XX: Use PWM lookup table for mach-hmt
    ARM: S3C64XX: Use PWM lookup table for mach-crag6410
    ARM: S3C64XX: Use PWM lookup table for smdk6410
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups from Olof Johansson:
    "Again we have a sizable (but not huge) cleanup branch with a net delta
    of about -3k lines.

    Main contents here is:

    - A bunch of development/cleanup of a few PXA boards
    - Removal of bockw platforms on shmobile, since the platform has now
    gone completely multiplatform. Whee!
    - move of the 32kHz timer on OMAP to a proper timesource
    - Misc cleanup of older OMAP material (incl removal of one board
    file)
    - Switch over to new common PWM lookup support for several platforms

    There's also a handful of other cleanups across the tree, but the
    above are the major pieces"

    * tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (103 commits)
    ARM: OMAP3: hwmod data: Remove legacy mailbox data and addrs
    ARM: DRA7: hwmod data: Remove spinlock hwmod addrs
    ARM: OMAP4: hwmod data: Remove spinlock hwmod addrs
    ARM: DRA7/AM335x/AM437x: hwmod: Remove gpmc address space from hwmod data
    ARM: Remove __ref on hotplug cpu die path
    ARM: Remove open-coded version of IRQCHIP_DECLARE
    arm: omap2: board-generic: use omap4_local_timer_init for AM437x
    ARM: DRA7/AM335x/AM437x: hwmod: Remove elm address space from hwmod data
    ARM: OMAP: Remove duplicated operand in OR operation
    clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE
    ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode
    ARM: pxa: raumfeld: make some variables static
    ARM: OMAP: Change all cpu_is_* occurences to soc_is_* for id.c
    ARM: OMAP2+: Rename cpu_is macros to soc_is
    arm: omap2: timer: limit hwmod usage to non-DT boots
    arm: omap2+: select 32k clocksource driver
    clocksource: add TI 32.768 Hz counter driver
    arm: omap2: timer: rename omap_sync32k_timer_init()
    arm: omap2: timer: always call clocksource_of_init() when DT
    arm: omap2: timer: move realtime_counter_init() around
    ...

    Linus Torvalds
     
  • Pull libnvdimm updates from Dan Williams:
    "Outside of the new ACPI-NFIT hot-add support this pull request is more
    notable for what it does not contain, than what it does. There were a
    handful of development topics this cycle, dax get_user_pages, dax
    fsync, and raw block dax, that need more more iteration and will wait
    for 4.5.

    The patches to make devm and the pmem driver NUMA aware have been in
    -next for several weeks. The hot-add support has not, but is
    contained to the NFIT driver and is passing unit tests. The coredump
    support is straightforward and was looked over by Jeff. All of it has
    received a 0day build success notification across 107 configs.

    Summary:

    - Add support for the ACPI 6.0 NFIT hot add mechanism to process
    updates of the NFIT at runtime.

    - Teach the coredump implementation how to filter out DAX mappings.

    - Introduce NUMA hints for allocations made by the pmem driver, and
    as a side effect all devm allocations now hint their NUMA node by
    default"

    * tag 'libnvdimm-for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
    coredump: add DAX filtering for FDPIC ELF coredumps
    coredump: add DAX filtering for ELF coredumps
    acpi: nfit: Add support for hot-add
    nfit: in acpi_nfit_init, break on a 0-length table
    pmem, memremap: convert to numa aware allocations
    devm_memremap_pages: use numa_mem_id
    devm: make allocations numa aware by default
    devm_memremap: convert to return ERR_PTR
    devm_memunmap: use devres_release()
    pmem: kill memremap_pmem()
    x86, mm: quiet arch_add_memory()

    Linus Torvalds
     
  • Pull i2c updates from Wolfram Sang:

    - New drivers: UniPhier (with and without FIFO)

    - some drivers got some bigger rework: ismt, designware, img-scb (rcar
    had to be reverted because issues were showing up just lately)

    - ACPI: reworked the device scanning and added support for muxes

    ... and quite a lot of driver bugfixes and cleanups this time. All
    files touched outside of the i2c realm have proper acks.

    * 'i2c/for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (70 commits)
    i2c: rcar: Revert the latest refactoring series
    i2c: pnx: remove superfluous assignment
    MAINTAINERS: i2c: drop i2c-pnx maintainer
    MAINTAINERS: i2c: mark also subdirectories as maintained
    i2c: cadence: enable driver for ARM64
    i2c: i801: Document Intel DNV and Broxton
    i2c: at91: manage unexpected RXRDY flag when starting a transfer
    i2c: pnx: Use setup_timer instead of open coding it
    i2c: add ACPI support for I2C mux ports
    acpi: add acpi_preset_companion() stub
    i2c: pxa: Add support for pxa910/988 & new configuration features
    i2c: au1550: Convert to devm_kzalloc and devm_ioremap_resource
    i2c-dev: Fix I2C_SLAVE ioctl comment
    i2c-dev: Fix typo in ioctl name reference
    i2c: sirf: tune the divider to make i2c bus freq more accurate
    i2c: imx: Use -ENXIO as error in the NACK case
    i2c: i801: Add support for Intel Broxton
    i2c: i801: Add support for Intel DNV
    i2c: mediatek: add i2c resume support
    i2c: imx: implement bus recovery
    ...

    Linus Torvalds
     
  • Pull watchdog update from Wim Van Sebroeck:

    - New driver for Broadcom 7038 Set-Top Box
    - imx2_wdt: Use register definition in regmap_write()
    - intel-mid: add Magic Closure flag
    - watchdog framework improvements:
    - Use device tree alias for naming watchdogs
    - propagate ping error code to the user space
    - Always evaluate new timeout against min_timeout
    - Use single variable name for struct watchdog_device
    - include clean-ups

    * git://www.linux-watchdog.org/linux-watchdog:
    watchdog: include: add units for timeout values in kerneldoc
    watchdog: include: fix some typos
    watchdog: core: propagate ping error code to the user space
    watchdog: watchdog_dev: Use single variable name for struct watchdog_device
    watchdog: Always evaluate new timeout against min_timeout
    watchdog: intel-mid: add Magic Closure flag
    watchdog: imx2_wdt: Use register definition in regmap_write()
    watchdog: watchdog_dev: Use device tree alias for naming watchdogs
    watchdog: Watchdog driver for Broadcom Set-Top Box
    watchdog: bcm7038: add device tree binding documentation

    Linus Torvalds
     
  • Pull dmaengine updates from Vinod Koul:
    "This time we have a very typical update which is mostly fixes and
    updates to drivers and no new drivers.

    - the biggest change is coming from Peter for edma cleanup which even
    caused some last minute regression, things seem settled now
    - idma64 and dw updates
    - iotdma updates
    - module autoload fixes for various drivers
    - scatter gather support for hdmac"

    * tag 'dmaengine-4.4-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (77 commits)
    dmaengine: edma: Add dummy driver skeleton for edma3-tptc
    Revert "ARM: DTS: am33xx: Use the new DT bindings for the eDMA3"
    Revert "ARM: DTS: am437x: Use the new DT bindings for the eDMA3"
    dmaengine: dw: some Intel devices has no memcpy support
    dmaengine: dw: platform: provide platform data for Intel
    dmaengine: dw: don't override platform data with autocfg
    dmaengine: hdmac: Add scatter-gathered memset support
    dmaengine: hdmac: factorise memset descriptor allocation
    dmaengine: virt-dma: Fix kernel-doc annotations
    ARM: DTS: am437x: Use the new DT bindings for the eDMA3
    ARM: DTS: am33xx: Use the new DT bindings for the eDMA3
    dmaengine: edma: New device tree binding
    dmaengine: Kconfig: edma: Select TI_DMA_CROSSBAR in case of ARCH_OMAP
    dmaengine: ti-dma-crossbar: Add support for crossbar on AM33xx/AM43xx
    dmaengine: edma: Merge the of parsing functions
    dmaengine: edma: Do not allocate memory for edma_rsv_info in case of DT boot
    dmaengine: edma: Refactor the dma device and channel struct initialization
    dmaengine: edma: Get qDMA channel information from HW also
    dmaengine: edma: Merge map_dmach_to_queue into assign_channel_eventq
    dmaengine: edma: Correct PaRAM access function names (_parm_ to _param_)
    ...

    Linus Torvalds