17 Apr, 2016

1 commit

  • Pull USB driver fixes from Greg KH:
    "Here are some small USB fixes for 4.6-rc4.

    Mostly xhci fixes for reported issues, a UAS bug that has hit a number
    of people, including stable tree users, and a few other minor things.

    All have been in linux-next for a while with no reported issues"

    * tag 'usb-4.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
    usb: hcd: out of bounds access in for_each_companion
    USB: uas: Add a new NO_REPORT_LUNS quirk
    USB: uas: Limit qdepth at the scsi-host level
    doc: usb: Fix typo in gadget_multi documentation
    usb: host: xhci-plat: Make enum xhci_plat_type start at a non zero value
    xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers
    usb: xhci: fix wild pointers in xhci_mem_cleanup
    usb: host: xhci-plat: fix cannot work if R-Car Gen2/3 run on above 4GB phys
    usb: host: xhci: add a new quirk XHCI_NO_64BIT_SUPPORT
    xhci: resume USB 3 roothub first
    usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host
    cdc-acm: fix crash if flushed with nothing buffered

    Linus Torvalds
     

15 Apr, 2016

1 commit


14 Apr, 2016

2 commits


13 Apr, 2016

1 commit

  • Pull ARM SoC fixes from Olof Johansson:
    "A batch of fixes for -rc4, for various platforms.

    Nothing really substantial and worth pointing out in particular; small
    fixes for various bugs, see shortlog for details"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: sa1100: remove references to the defunct handhelds.org
    bus: uniphier-system-bus: fix condition of overlap check
    ARM: uniphier: drop weird sizeof()
    ARM: dts: am335x-baltos-ir5221: fix cpsw_emac0 link type
    ARM: OMAP: Correct interrupt type for ARM TWD
    ARM: DRA722: Add ID detect for Silicon Rev 2.0
    ARM: dts: am43xx: fix edma memcpy channel allocation
    ARM: dts: AM43x-epos: Fix clk parent for synctimer
    ARM: OMAP2: Fix up interconnect barrier initialization for DRA7
    documentation: Fix pinctrl documentation for Meson8 / Meson8b
    ARM: dts: amlogic: Split pinctrl device for Meson8 / Meson8b
    ARM: mvebu: Correct unit address for linksys
    bus: mvebu-mbus: use %pa to print phys_addr_t
    arm64: dts: vulcan: Update PCI ranges
    ARM: u8500_defconfig: turn on the Synaptics RMI4 driver
    ARM: pxa: fix the number of DMA requestor lines
    ARM: OMAP2+: hwmod: Fix updating of sysconfig register
    ARM: OMAP2+: Use srst_udelay for USB on dm814x

    Linus Torvalds
     

11 Apr, 2016

1 commit

  • Pull i2c fixes from Wolfram Sang:
    "Some bugfixes from I2C:

    - fix a uevent triggered boot problem by removing a useless debug
    print

    - fix sysfs-attributes of the new i2c-demux-pinctrl driver to follow
    standard kernel behaviour

    - fix a potential division-by-zero error (needed two takes)"

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: jz4780: really prevent potential division by zero
    Revert "i2c: jz4780: prevent potential division by zero"
    i2c: jz4780: prevent potential division by zero
    i2c: mux: demux-pinctrl: Update docs to new sysfs-attributes
    i2c: mux: demux-pinctrl: Clean up sysfs attributes
    i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE

    Linus Torvalds
     

10 Apr, 2016

1 commit

  • Pull power management and ACPI fixes from Rafael Wysocki:
    "Fixes for some issues discovered after recent changes and for some
    that have just been found lately regardless of those changes
    (intel_pstate, intel_idle, PM core, mailbox/pcc, turbostat) plus
    support for some new CPU models (intel_idle, Intel RAPL driver,
    turbostat) and documentation updates (intel_pstate, PM core).

    Specifics:

    - intel_pstate fixes for two issues exposed by the recent switch over
    from using timers and for one issue introduced during the 4.4 cycle
    plus new comments describing data structures used by the driver
    (Rafael Wysocki, Srinivas Pandruvada).

    - intel_idle fixes related to CPU offline/online (Richard Cochran).

    - intel_idle support (new CPU IDs and state definitions mostly) for
    Skylake-X and Kabylake processors (Len Brown).

    - PCC mailbox driver fix for an out-of-bounds memory access that may
    cause the kernel to panic() (Shanker Donthineni).

    - New (missing) CPU ID for one apparently overlooked Haswell model in
    the Intel RAPL power capping driver (Srinivas Pandruvada).

    - Fix for the PM core's wakeup IRQs framework to make it work after
    wakeup settings reconfiguration from sysfs (Grygorii Strashko).

    - Runtime PM documentation update to make it describe what needs to
    be done during device removal more precisely (Krzysztof Kozlowski).

    - Stale comment removal cleanup in the cpufreq-dt driver (Viresh
    Kumar).

    - turbostat utility fixes and support for Broxton, Skylake-X and
    Kabylake processors (Len Brown)"

    * tag 'pm+acpi-4.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (28 commits)
    PM / wakeirq: fix wakeirq setting after wakup re-configuration from sysfs
    tools/power turbostat: work around RC6 counter wrap
    tools/power turbostat: initial KBL support
    tools/power turbostat: initial SKX support
    tools/power turbostat: decode BXT TSC frequency via CPUID
    tools/power turbostat: initial BXT support
    tools/power turbostat: print IRTL MSRs
    tools/power turbostat: SGX state should print only if --debug
    intel_idle: Add KBL support
    intel_idle: Add SKX support
    intel_idle: Clean up all registered devices on exit.
    intel_idle: Propagate hot plug errors.
    intel_idle: Don't overreact to a cpuidle registration failure.
    intel_idle: Setup the timer broadcast only on successful driver load.
    intel_idle: Avoid a double free of the per-CPU data.
    intel_idle: Fix dangling registration on error path.
    intel_idle: Fix deallocation order on the driver exit path.
    intel_idle: Remove redundant initialization calls.
    intel_idle: Fix a helper function's return value.
    intel_idle: remove useless return from void function.
    ...

    Linus Torvalds
     

08 Apr, 2016

1 commit


05 Apr, 2016

5 commits

  • Pull pin control fixes from Linus Walleij:
    "Here is a set of pin control fixes for the v4.6 series.

    A bit bigger than what I hoped for, but all fixes are confined to
    drivers, a few of them also targeted to stable.

    Summary:

    - On Super-H PFC (Renesas) controllers: only use dummies on legacy
    systems. This fixes a serious ethernet regression on a Renesas
    board.
    - Pistachio: Fix errors in the pin table.
    - Allwinner SunXi: fix the external interrupts to work.
    - Intel: fix so the high level interrupts start working, and fix a
    spurious interrupt issue.
    - Qualcomm ipq4019: fix the number of GPIOs provided (bump to 100),
    correct register offsets and handle GPIO mode properly.
    - Revert the revert on the revert so that Xway has a .to_irq()
    callback again.
    - Minor fixes to errorpaths and debug info.
    - A MAINTAINERS update"

    * tag 'pinctrl-v4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
    Revert "Revert "pinctrl: lantiq: Implement gpio_chip.to_irq""
    pinctrl: qcom: ipq4019: fix register offsets
    pinctrl: qcom: ipq4019: fix the function enum for gpio mode
    pinctrl: qcom: ipq4019: set ngpios to correct value
    pinctrl: nomadik: fix pull debug print inversion
    MAINTAINERS: pinctrl: samsung: Add two new maintainers
    pinctrl: intel: implement gpio_irq_enable
    pinctrl: intel: make the high level interrupt working
    pinctrl: freescale: imx: fix bogus check of of_iomap() return value
    pinctrl: sunxi: Fix A33 external interrupts not working
    pinctrl: pistachio: fix mfio84-89 function description and pinmux.
    pinctrl: sh-pfc: only use dummy states for non-DT platforms

    Linus Torvalds
     
  • Put a reminder that during device removal drivers should revert all PM
    runtime changes from the probe.

    Signed-off-by: Krzysztof Kozlowski
    Acked-by: Alan Stern
    Signed-off-by: Rafael J. Wysocki

    Krzysztof Kozlowski
     
  • Pull MIPS fixes from Ralf Baechle:
    "This is the first round of MIPS fixes for 4.6:

    - Fix spelling mistakes all over arch/mips
    - Provide __bswapsi2 so XZ kernel compression will build with older GCC
    - ATH79 clock fixes.
    - Fix clock-rated copy-paste erros in ATH79 DTS.
    - Fix gisb-arb compatible string for 7435 BMIPS
    - Enable NAND and UBIFS support in CI20.
    - Fix BUG() assertion caused by inapropriate smp_processor_id() use.
    - Fix exception handling issues for the sake of debuggers
    - Fix the last remaining instance of irq_to_gpio in the db1xxx_ss PCMCIA code
    - Fix MSA unaligned load failures
    - Panic if kernel is configured for a not TLB-supported page size
    - Bail out on unsupported relocs in modules.
    - Partial fix for Qemu breakage after recent IPI rewrite
    - Wire up the preadv2 and pwrite2 syscalls
    - Fix the ar724x clock calculation"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
    MIPS: traps.c: Verify the ISA for microMIPS RDHWR emulation
    MIPS: BMIPS: Fix gisb-arb compatible string for 7435
    MIPS: Bail on unsupported module relocs
    MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: use "ref" for reference clock name
    MIPS: ath79: Fix the ar913x reference clock rate
    MIPS: ath79: Fix the ar724x clock calculation
    dt-bindings: clock: qca,ath79-pll: fix copy-paste typos
    MIPS: traps: Correct the SIGTRAP debug ABI in `do_watch' and `do_trap_or_bp'
    FIRMWARE: Broadcom: Fix grammar of warning messages in bcm47xx_sprom.c.
    MIPS: ci20: Enable NAND and UBIFS support in defconfig.
    MIPS: Fix misspellings in comments.
    MIPS: tlb-r4k: panic if the MMU doesn't support PAGE_SIZE
    MIPS: zboot: Remove copied source files on clean
    MIPS: zboot: Fix the build with XZ compression on older GCC versions
    MIPS: Wire up preadv2 and pwrite2 syscalls.
    MIPS: cpu_name_string: Use raw_smp_processor_id().
    pcmcia: db1xxx_ss: fix last irq_to_gpio user
    MIPS: Fix MSA ld unaligned failure cases
    MIPS: Fix broken malta qemu

    Linus Torvalds
     
  • Merge PAGE_CACHE_SIZE removal patches from Kirill Shutemov:
    "PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time
    ago with promise that one day it will be possible to implement page
    cache with bigger chunks than PAGE_SIZE.

    This promise never materialized. And unlikely will.

    Let's stop pretending that pages in page cache are special. They are
    not.

    The first patch with most changes has been done with coccinelle. The
    second is manual fixups on top.

    The third patch removes macros definition"

    [ I was planning to apply this just before rc2, but then I spaced out,
    so here it is right _after_ rc2 instead.

    As Kirill suggested as a possibility, I could have decided to only
    merge the first two patches, and leave the old interfaces for
    compatibility, but I'd rather get it all done and any out-of-tree
    modules and patches can trivially do the converstion while still also
    working with older kernels, so there is little reason to try to
    maintain the redundant legacy model. - Linus ]

    * PAGE_CACHE_SIZE-removal:
    mm: drop PAGE_CACHE_* and page_cache_{get,release} definition
    mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
    mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

    Linus Torvalds
     
  • Mostly direct substitution with occasional adjustment or removing
    outdated comments.

    Signed-off-by: Kirill A. Shutemov
    Acked-by: Michal Hocko
    Signed-off-by: Linus Torvalds

    Kirill A. Shutemov
     

03 Apr, 2016

2 commits

  • Pull x86 fixes from Thomas Gleixner:
    "This lot contains:

    - Some fixups for the fallout of the topology consolidation which
    unearthed AMD/Intel inconsistencies
    - Documentation for the x86 topology management
    - Support for AMD advanced power management bits
    - Two simple cleanups removing duplicated code"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/cpu: Add advanced power management bits
    x86/thread_info: Merge two !__ASSEMBLY__ sections
    x86/cpufreq: Remove duplicated TDP MSR macro definitions
    x86/Documentation: Start documenting x86 topology
    x86/cpu: Get rid of compute_unit_id
    perf/x86/amd: Cleanup Fam10h NB event constraints
    x86/topology: Fix AMD core count

    Linus Torvalds
     
  • Signed-off-by: Antony Pavlov
    Acked-by: Rob Herring
    Cc: Alban Bedel
    Cc: Ralf Baechle
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/12869/
    Signed-off-by: Ralf Baechle

    Antony Pavlov
     

02 Apr, 2016

1 commit

  • Pull networking fixes from David Miller:

    1) Missing device reference in IPSEC input path results in crashes
    during device unregistration. From Subash Abhinov Kasiviswanathan.

    2) Per-queue ISR register writes not being done properly in macb
    driver, from Cyrille Pitchen.

    3) Stats accounting bugs in bcmgenet, from Patri Gynther.

    4) Lightweight tunnel's TTL and TOS were swapped in netlink dumps, from
    Quentin Armitage.

    5) SXGBE driver has off-by-one in probe error paths, from Rasmus
    Villemoes.

    6) Fix race in save/swap/delete options in netfilter ipset, from
    Vishwanath Pai.

    7) Ageing time of bridge not set properly when not operating over a
    switchdev device. Fix from Haishuang Yan.

    8) Fix GRO regression wrt nested FOU/GUE based tunnels, from Alexander
    Duyck.

    9) IPV6 UDP code bumps wrong stats, from Eric Dumazet.

    10) FEC driver should only access registers that actually exist on the
    given chipset, fix from Fabio Estevam.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (73 commits)
    net: mvneta: fix changing MTU when using per-cpu processing
    stmmac: fix MDIO settings
    Revert "stmmac: Fix 'eth0: No PHY found' regression"
    stmmac: fix TX normal DESC
    net: mvneta: use cache_line_size() to get cacheline size
    net: mvpp2: use cache_line_size() to get cacheline size
    net: mvpp2: fix maybe-uninitialized warning
    tun, bpf: fix suspicious RCU usage in tun_{attach, detach}_filter
    net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card
    rtnl: fix msg size calculation in if_nlmsg_size()
    fec: Do not access unexisting register in Coldfire
    net: mvneta: replace MVNETA_CPU_D_CACHE_LINE_SIZE with L1_CACHE_BYTES
    net: mvpp2: replace MVPP2_CPU_D_CACHE_LINE_SIZE with L1_CACHE_BYTES
    net: dsa: mv88e6xxx: Clear the PDOWN bit on setup
    net: dsa: mv88e6xxx: Introduce _mv88e6xxx_phy_page_{read, write}
    bpf: make padding in bpf_tunnel_key explicit
    ipv6: udp: fix UDP_MIB_IGNOREDMULTI updates
    bnxt_en: Fix ethtool -a reporting.
    bnxt_en: Fix typo in bnxt_hwrm_set_pause_common().
    bnxt_en: Implement proper firmware message padding.
    ...

    Linus Torvalds
     

31 Mar, 2016

1 commit

  • Fix pin controller documentation introducing the new compatibles for
    the pinctrl drivers specific for aobus / cbus.

    This is needed because we have changed the pin controller driver: we
    have now a single specialized pinctrl driver / compatible for each bus
    the controller is attached to, instead of one single driver dealing with
    all the controllers we have on different buses.

    Signed-off-by: Carlo Caione
    Acked-by: Rob Herring

    Carlo Caione
     

30 Mar, 2016

1 commit

  • mfio 84 to 89 are described wrongly, fix it to describe
    the right pin and add them to right pin-mux group.

    The correct order is:
    pll1_lock => mips_pll -- MFIO_83
    pll2_lock => audio_pll -- MFIO_84
    pll3_lock => rpu_v_pll -- MFIO_85
    pll4_lock => rpu_l_pll -- MFIO_86
    pll5_lock => sys_pll -- MFIO_87
    pll6_lock => wifi_pll -- MFIO_88
    pll7_lock => bt_pll -- MFIO_89

    Cc: linux-gpio@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: James Hartley
    Cc: # v4.2+
    Fixes: cefc03e5995e("pinctrl: Add Pistachio SoC pin control driver")
    Signed-off-by: Govindraj Raja
    Acked-by: Andrew Bresticker
    Acked-by: Rob Herring
    Signed-off-by: Linus Walleij

    Govindraj Raja
     

29 Mar, 2016

2 commits

  • Stefan Richter noticed that the X86_INTEL_MEMORY_PROTECTION_KEYS option
    in arch/x86/Kconfig references Documentation/x86/protection-keys.txt,
    but the file does not exist.

    This is a patch merging mishap: the final (v8) version of the pkeys
    series did not include the documentation patch 32 and v7 included.
    Add it now.

    Reported-by: Stefan Richter
    Signed-off-by: Dave Hansen
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Dave Hansen
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-mm@kvack.org
    Link: http://lkml.kernel.org/r/20151214190634.426BEE41@viggo.jf.intel.com
    [ Added changelog. ]
    Signed-off-by: Ingo Molnar

    Signed-off-by: Ingo Molnar

    Dave Hansen
     
  • This should contain important aspects of how we represent the system
    topology on x86. If people have questions about it and this file doesn't
    answer it, then it must be updated.

    Signed-off-by: Borislav Petkov
    Link: http://lkml.kernel.org/r/20160328095609.GD26651@pd.tnic
    Signed-off-by: Thomas Gleixner

    Borislav Petkov
     

27 Mar, 2016

2 commits

  • Pull orangefs filesystem from Mike Marshall.

    This finally merges the long-pending orangefs filesystem, which has been
    much cleaned up with input from Al Viro over the last six months. From
    the documentation file:

    "OrangeFS is an LGPL userspace scale-out parallel storage system. It
    is ideal for large storage problems faced by HPC, BigData, Streaming
    Video, Genomics, Bioinformatics.

    Orangefs, originally called PVFS, was first developed in 1993 by Walt
    Ligon and Eric Blumer as a parallel file system for Parallel Virtual
    Machine (PVM) as part of a NASA grant to study the I/O patterns of
    parallel programs.

    Orangefs features include:

    - Distributes file data among multiple file servers
    - Supports simultaneous access by multiple clients
    - Stores file data and metadata on servers using local file system
    and access methods
    - Userspace implementation is easy to install and maintain
    - Direct MPI support
    - Stateless"

    see Documentation/filesystems/orangefs.txt for more in-depth details.

    * tag 'ofs-pull-tag-1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux: (174 commits)
    orangefs: fix orangefs_superblock locking
    orangefs: fix do_readv_writev() handling of error halfway through
    orangefs: have ->kill_sb() evict the VFS side of things first
    orangefs: sanitize ->llseek()
    orangefs-bufmap.h: trim unused junk
    orangefs: saner calling conventions for getting a slot
    orangefs_copy_{to,from}_bufmap(): don't pass bufmap pointer
    orangefs: get rid of readdir_handle_s
    ornagefs: ensure that truncate has an up to date inode size
    orangefs: move code which sets i_link to orangefs_inode_getattr
    orangefs: remove needless wrapper around GFP_KERNEL
    orangefs: remove wrapper around mutex_lock(&inode->i_mutex)
    orangefs: refactor inode type or link_target change detection
    orangefs: use new getattr for revalidate and remove old getattr
    orangefs: use new getattr in inode getattr and permission
    orangefs: use new orangefs_inode_getattr to get size in write and llseek
    orangefs: use new orangefs_inode_getattr to create new inodes
    orangefs: rename orangefs_inode_getattr to orangefs_inode_old_getattr
    orangefs: remove inode->i_lock wrapper
    orangefs: put register_chrdev immediately before register_filesystem
    ...

    Linus Torvalds
     
  • Pull more SCSI updates from James Bottomley:
    "The only new stuff which missed the first pull request is an update to
    the UFS driver.

    The rest is an assortment of bug fixes and minor tweaks which appeared
    recently (some are fixes for recent code and some are stuff spotted
    recently by the checkers or the new gcc-6 compiler [most of Arnd's
    stuff])"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (32 commits)
    scsi_common: do not clobber fixed sense information
    scsi: ufs: select CONFIG_NLS
    scsi: fc: use get/put_unaligned64 for wwn access
    fnic: move printk()s outside of the critical code section.
    qla2xxx: avoid maybe_uninitialized warning
    megaraid_sas: add missing curly braces in ioctl handler
    lpfc: fix misleading indentation
    scsi_transport_sas: add 'scsi_target_id' sysfs attribute
    scsi_dh_alua: uninitialized variable in alua_check_vpd()
    scsi: ufs-qcom: add printouts of testbus debug registers
    scsi: ufs-qcom: enable/disable the device ref clock
    scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startup
    scsi: ufs: add device quirk delay before putting UFS rails in LPM
    scsi: ufs: fix leakage during link off state
    scsi: ufs: tune UniPro parameters to optimize hibern8 exit time
    scsi: ufs: handle non spec compliant bkops behaviour by device
    scsi: ufs: add retry for query descriptors
    scsi: ufs: add error recovery after DL NAC error
    scsi: ufs: make error handling bit faster
    scsi: ufs: disable vccq if it's not needed by UFS device
    ...

    Linus Torvalds
     

26 Mar, 2016

1 commit

  • Add KASAN hooks to SLAB allocator.

    This patch is based on the "mm: kasan: unified support for SLUB and SLAB
    allocators" patch originally prepared by Dmitry Chernenkov.

    Signed-off-by: Alexander Potapenko
    Cc: Christoph Lameter
    Cc: Pekka Enberg
    Cc: David Rientjes
    Cc: Joonsoo Kim
    Cc: Andrey Konovalov
    Cc: Dmitry Vyukov
    Cc: Andrey Ryabinin
    Cc: Steven Rostedt
    Cc: Konstantin Serebryany
    Cc: Dmitry Chernenkov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexander Potapenko
     

25 Mar, 2016

12 commits

  • Pull drm fixes from Dave Airlie:
    "Just a couple of dma-buf related fixes and some amdgpu fixes, along
    with a regression fix for radeon off but default feature, but makes my
    30" monitor happy again"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux:
    drm/radeon/mst: cleanup code indentation
    drm/radeon/mst: fix regression in lane/link handling.
    drm/amdgpu: add invalidate_page callback for userptrs
    drm/amdgpu: Revert "remove the userptr rmn->lock"
    drm/amdgpu: clean up path handling for powerplay
    drm/amd/powerplay: fix memory leak of tdp_table
    dma-buf/fence: fix fence_is_later v2
    dma-buf: Update docs for SYNC ioctl
    drm: remove excess description
    dma-buf, drm, ion: Propagate error code from dma_buf_start_cpu_access()
    drm/atmel-hlcdc: use helper to get crtc state
    drm/atomic: use helper to get crtc state

    Linus Torvalds
     
  • Pull more power management and ACPI updates from Rafael Wysocki:
    "The second batch of power management and ACPI updates for v4.6.

    Included are fixups on top of the previous PM/ACPI pull request and
    other material that didn't make into it but still should go into 4.6.

    Among other things, there's a fix for an intel_pstate driver issue
    uncovered by recent cpufreq changes, a workaround for a boot hang on
    Skylake-H related to the handling of deep C-states by the platform and
    a PCI/ACPI fix for the handling of IO port resources on non-x86
    architectures plus some new device IDs and similar.

    Specifics:

    - Fix for an intel_pstate driver issue related to the handling of MSR
    updates uncovered by the recent cpufreq rework (Rafael Wysocki).

    - cpufreq core cleanups related to starting governors and frequency
    synchronization during resume from system suspend and a locking fix
    for cpufreq_quick_get() (Rafael Wysocki, Richard Cochran).

    - acpi-cpufreq and powernv cpufreq driver updates (Jisheng Zhang,
    Michael Neuling, Richard Cochran, Shilpasri Bhat).

    - intel_idle driver update preventing some Skylake-H systems from
    hanging during initialization by disabling deep C-states mishandled
    by the platform in the problematic configurations (Len Brown).

    - Intel Xeon Phi Processor x200 support for intel_idle
    (Dasaratharaman Chandramouli).

    - cpuidle menu governor updates to make it always honor PM QoS
    latency constraints (and prevent C1 from being used as the fallback
    C-state on x86 when they are set below its exit latency) and to
    restore the previous behavior to fall back to C1 if the next timer
    event is set far enough in the future that was changed in 4.4 which
    led to an energy consumption regression (Rik van Riel, Rafael
    Wysocki).

    - New device ID for a future AMD UART controller in the ACPI driver
    for AMD SoCs (Wang Hongcheng).

    - Rockchip rk3399 support for the rockchip-io-domain adaptive voltage
    scaling (AVS) driver (David Wu).

    - ACPI PCI resources management fix for the handling of IO space
    resources on architectures where the IO space is memory mapped
    (IA64 and ARM64) broken by the introduction of common ACPI
    resources parsing for PCI host bridges in 4.4 (Lorenzo Pieralisi).

    - Fix for the ACPI backend of the generic device properties API to
    make it parse non-device (data node only) children of an ACPI
    device correctly (Irina Tirdea).

    - Fixes for the handling of global suspend flags (introduced in 4.4)
    during hibernation and resume from it (Lukas Wunner).

    - Support for obtaining configuration information from Device Trees
    in the PM clocks framework (Jon Hunter).

    - ACPI _DSM helper code and devfreq framework cleanups (Colin Ian
    King, Geert Uytterhoeven)"

    * tag 'pm+acpi-4.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (23 commits)
    PM / AVS: rockchip-io: add io selectors and supplies for rk3399
    intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
    intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
    ACPI / PM: Runtime resume devices when waking from hibernate
    PM / sleep: Clear pm_suspend_global_flags upon hibernate
    cpufreq: governor: Always schedule work on the CPU running update
    cpufreq: Always update current frequency before startig governor
    cpufreq: Introduce cpufreq_update_current_freq()
    cpufreq: Introduce cpufreq_start_governor()
    cpufreq: powernv: Add sysfs attributes to show throttle stats
    cpufreq: acpi-cpufreq: make Intel/AMD MSR access, io port access static
    PCI: ACPI: IA64: fix IO port generic range check
    ACPI / util: cast data to u64 before shifting to fix sign extension
    cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path
    cpuidle: menu: Fall back to polling if next timer event is near
    cpufreq: acpi-cpufreq: Clean up hot plug notifier callback
    intel_pstate: Do not call wrmsrl_on_cpu() with disabled interrupts
    cpufreq: Make cpufreq_quick_get() safe to call
    ACPI / property: fix data node parsing in acpi_get_next_subnode()
    ACPI / APD: Add device HID for future AMD UART controller
    ...

    Linus Torvalds
     
  • Pull more RTC updates from Alexandre Belloni:
    "A second pull request for v4.6 with a few fixesi before -rc1. The new
    features for abx80x actually make the RTC behave correctly.

    Drivers:
    - abx80x: handle both XT and RC oscillators, XT failure bit and
    autocalibration
    - m41t80: avoid out of range year values
    - rv8803: workaround an i2c HW issue"

    * tag 'rtc-4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
    rtc: abx80x: handle the oscillator failure bit
    rtc: abx80x: handle autocalibration
    rtc: rv8803: workaround i2c HW issue
    rtc: mcp795: add devicetree support
    rtc: asm9260: remove incorrect __init/__exit annotations
    rtc: m41t80: avoid out of range year values
    rtc: s3c: Don't print an error on probe deferral
    rtc: rv3029: stop mentioning rv3029c2

    Linus Torvalds
     
  • Pull MTD updates from Brian Norris:
    "NAND:
    - Add sunxi_nand randomizer support
    - begin refactoring NAND ecclayout structs
    - fix pxa3xx_nand dmaengine usage
    - brcmnand: fix support for v7.1 controller
    - add Qualcomm NAND controller driver

    SPI NOR:
    - add new ls1021a, ls2080a support to Freescale QuadSPI
    - add new flash ID entries
    - support bottom-block protection for Winbond flash
    - support Status Register Write Protect
    - remove broken QPI support for Micron SPI flash

    JFFS2:
    - improve post-mount CRC scan efficiency

    General:
    - refactor bcm63xxpart parser, to later extend for NAND
    - add writebuf size parameter to mtdram

    Other minor code quality improvements"

    * tag 'for-linus-20160324' of git://git.infradead.org/linux-mtd: (72 commits)
    mtd: nand: remove kerneldoc for removed function parameter
    mtd: nand: Qualcomm NAND controller driver
    dt/bindings: qcom_nandc: Add DT bindings
    mtd: nand: don't select chip in nand_chip's block_bad op
    mtd: spi-nor: support lock/unlock for a few Winbond chips
    mtd: spi-nor: add TB (Top/Bottom) protect support
    mtd: spi-nor: add SPI_NOR_HAS_LOCK flag
    mtd: spi-nor: use BIT() for flash_info flags
    mtd: spi-nor: disallow further writes to SR if WP# is low
    mtd: spi-nor: make lock/unlock bounds checks more obvious and robust
    mtd: spi-nor: silently drop lock/unlock for already locked/unlocked region
    mtd: spi-nor: wait for SR_WIP to clear on initial unlock
    mtd: nand: simplify nand_bch_init() usage
    mtd: mtdswap: remove useless if (!mtd->ecclayout) test
    mtd: create an mtd_oobavail() helper and make use of it
    mtd: kill the ecclayout->oobavail field
    mtd: nand: check status before reporting timeout
    mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'
    mtd: mtdram: Add parameter for setting writebuf size
    mtd: nand: pxa3xx_nand: kill unused field 'drcmr_cmd'
    ...

    Linus Torvalds
     
  • Pull more nfsd updates from Bruce Fields:
    "Apologies for the previous request, which omitted the top 8 commits
    from my for-next branch (including the SCSI layout commits). Thanks
    to Trond for spotting my error!"

    This actually includes the new layout types, so here's that part of
    the pull message repeated:

    "Support for a new pnfs layout type from Christoph Hellwig. The new
    layout type is a variant of the block layout which uses SCSI features
    to offer improved fencing and device identification.

    Note this pull request also includes the client side of SCSI layout,
    with Trond's permission"

    * tag 'nfsd-4.6-1' of git://linux-nfs.org/~bfields/linux:
    nfsd: use short read as well as i_size to set eof
    nfsd: better layoutupdate bounds-checking
    nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK
    nfsd: add SCSI layout support
    nfsd: move some blocklayout code
    nfsd: add a new config option for the block layout driver
    nfs/blocklayout: add SCSI layout support
    nfs4.h: add SCSI layout definitions

    Linus Torvalds
     
  • Pull more ARM DT changes from Arnd Bergmann:
    "Here are some final updates for ARM SoC specific dts files:

    - The i.MX changes were sent relatively late, and had a dependency on
    the clk tree, so I delayed that a bit. Support for the new i.MX6qp
    SoC and a couple of new boards is added in this branch.

    - Uniphier renames a few files to match the final product names that
    were decided by the company, kudos to the kernel developer(s) for
    getting support upstream before the product release. Also two
    boards are added. The patches were posted early enough and nice
    overall, but we forgot to apply them and decided to give it some
    more time in linux-next

    - at91 has two small bug fixes"

    * tag 'armsoc-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits)
    ARM: dts: at91: sama5d4 Xplained: don't disable hsmci regulator
    ARM: dts: at91: sama5d3 Xplained: don't disable hsmci regulator
    ARM: dts: uniphier: add pinmux node for I2C ch4
    ARM: dts: uniphier: add @{address} to EEPROM node
    ARM: dts: uniphier: add PH1-Pro4 Sanji board support
    ARM: dts: uniphier: add PH1-Pro4 Ace board support
    ARM: dts: uniphier: enable I2C channel 2 of ProXstream2 Gentil board
    ARM: dts: uniphier: add EEPROM node for ProXstream2 Gentil board
    ARM: dts: uniphier: add reference clock nodes
    ARM: dts: uniphier: rework UniPhier System Bus nodes
    ARM: dts: uniphier: factor out ranges property of support card
    arm64: dts: uniphier: rename PH1-LD10 to PH1-LD20
    ARM: dts: imx53-qsb: Fix gpio button polarity
    ARM: dts: vfxxx: Add DAC node for Vybrid SoC
    ARM: dts: imx6q: add missing links between ipu2 and mipi dsi
    ARM: dts: imx: Add support for Advantech/GE B850v3
    ARM: dts: imx: Add support for Advantech/GE B650v3
    ARM: dts: imx: Add support for Advantech/GE B450v3
    ARM: dts: imx: Add support for Advantech/GE Bx50v3
    ARM: dts: imx: Add Advantech BA-16 Qseven module
    ...

    Linus Torvalds
     
  • * pm-avs:
    PM / AVS: rockchip-io: add io selectors and supplies for rk3399

    * pm-clk:
    PM / clk: Add support for obtaining clocks from device-tree

    * pm-devfreq:
    PM / devfreq: Spelling s/frequnecy/frequency/

    * pm-sleep:
    ACPI / PM: Runtime resume devices when waking from hibernate
    PM / sleep: Clear pm_suspend_global_flags upon hibernate

    Rafael J. Wysocki
     
  • * pm-cpufreq:
    cpufreq: governor: Always schedule work on the CPU running update
    cpufreq: Always update current frequency before startig governor
    cpufreq: Introduce cpufreq_update_current_freq()
    cpufreq: Introduce cpufreq_start_governor()
    cpufreq: powernv: Add sysfs attributes to show throttle stats
    cpufreq: acpi-cpufreq: make Intel/AMD MSR access, io port access static
    cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path
    cpufreq: acpi-cpufreq: Clean up hot plug notifier callback
    intel_pstate: Do not call wrmsrl_on_cpu() with disabled interrupts
    cpufreq: Make cpufreq_quick_get() safe to call

    * pm-cpuidle:
    intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
    intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
    cpuidle: menu: Fall back to polling if next timer event is near
    cpuidle: menu: use high confidence factors only when considering polling

    Rafael J. Wysocki
     
  • Two minor typo.

    Signed-off-by: Nicolas Dichtel
    Signed-off-by: David S. Miller

    Nicolas Dichtel
     
  • Pull thermal updates from Zhang Rui:

    - Fix a regression where bogus trip points on some Lenovo laptops start
    to screw up thermal control after commit 81ad4276b505 ("Thermal:
    initialize thermal zone device correctly").

    On these Lenovo laptops, a bogus passive trip point is reported,
    which is 0 degree Celsius. Without commit 81ad4276b505, thermal zone
    fails to set cooling devices to proper cooling state, which is a bug.
    But with commit 81ad4276b505 applied, the processors are always
    throttled on these Lenovo laptops because the current temperature is
    always higher than the passive trip point.

    Fix things to ignore such bogus trip points. (Zhang Rui)

    - Introduce Mediatek thermal driver. (Sascha Hauer)

    - Introduce devm_ versions of OF thermal sensor register API. (Laxman
    Dewangan)

    - Changes in Kconfigs to allow compile test on UM arch. (Krzysztof
    Kozlowski)

    - Introduce Skylake support in intel_pch_thermal driver. (Srinivas
    Pandruvada)

    - Several small fixes on Rockchip, TI-SoC, Tegra, RCar, and Exynos
    thermal drivers.

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (26 commits)
    Thermal: Ignore invalid trip points
    thermal: trace: migrating thermal traces to use TRACE_DEFINE_ENUM() macros
    thermal: intel_pch_thermal: Enable Skylake PCH thermal
    thermal: doc: Add details of devm_thermal_zone_of_sensor_{register,unregister}
    thermal: of-thermal: Add devm version of thermal_zone_of_sensor_register
    thermal: doc: Add details of thermal_zone_of_sensor_{register,unregister}
    thermal: exynos: Defer probe if vtmu is present but not registered
    thermal: exynos: Use devm_regulator_get_optional() for vtmu
    thermal: exynos: List vtmu-supply as optional property in DT binding
    thermal: exynos: Print a message about exceeded number of supported trip-points
    thermal: exynos: Document number of supported trip-points
    thermal: exynos: Document compatible for Exynos5433 TMU
    thermal: mtk: allow compile testing on UM
    thermal: tegra_soctherm: fix sign bit of temperature
    thermal: Fix build error of missing devm_ioremap_resource on UM
    thermal: ti-soc-thermal: clean up the error handling a bit
    thermal: rcar: Use ARCH_RENESAS
    thermal: rcar_thermal: don't open code of_device_get_match_data()
    thermal: db8500_cpufreq_cooling: Compile with COMPILE_TEST
    thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399
    ...

    Linus Torvalds
     
  • Pull irq fixes from Thomas Gleixner:
    "A small set of fixes for the usual ARM/SOC irqchip drivers

    - A set of fixes for mbigen to handle multiple devices in a hardware
    module proper

    - A cleanup for the mbigen config option which was pointlessly user
    configurable.

    - A cleanup for tegra replacing open coded functionality by the
    proper core function

    The config cleanup touches arch/arm64/Kconfig.platforms to select the
    irq chip for the related platform"

    * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    irqchip/mbigen: Make CONFIG_HISILICON_IRQ_MBIGEN a hidden option
    ARM64: Kconfig: Select mbigen interrupt controller on Hisilicon platform
    irqchip/mbigen: Handle multiple device nodes in a mbigen module
    irqchip/mbigen: Adjust DT bindings to handle multiple devices in a module
    irqchip/tegra: Switch to use irq_domain_free_irqs_common

    Linus Torvalds
     
  • Pull locking fixes from Ingo Molnar:
    "Documentation updates and a bitops ordering fix"

    * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    bitops: Do not default to __clear_bit() for __clear_bit_unlock()
    documentation: Clarify compiler store-fusion example
    documentation: Transitivity is not cumulativity
    documentation: Add alternative release-acquire outcome
    documentation: Distinguish between local and global transitivity
    documentation: Subsequent writes ordered by rcu_dereference()
    documentation: Remove obsolete reference to RCU-protected indexes
    documentation: Fix memory-barriers.txt section references
    documentation: Fix control dependency and identical stores

    Linus Torvalds
     

24 Mar, 2016

5 commits

  • Pull networking bugfixes from David Miller:
    "Several bug fixes rolling in, some for changes introduced in this
    merge window, and some for problems that have existed for some time:

    1) Fix prepare_to_wait() handling in AF_VSOCK, from Claudio Imbrenda.

    2) The new DST_CACHE should be a silent config option, from Dave
    Jones.

    3) inet_current_timestamp() unintentionally truncates timestamps to
    16-bit, from Deepa Dinamani.

    4) Missing reference to netns in ppp, from Guillaume Nault.

    5) Free memory reference in hv_netvsc driver, from Haiyang Zhang.

    6) Missing kernel doc documentation for function arguments in various
    spots around the networking, from Luis de Bethencourt.

    7) UDP stopped receiving broadcast packets properly, due to
    overzealous multicast checks, fix from Paolo Abeni"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (59 commits)
    net: ping: make ping_v6_sendmsg static
    hv_netvsc: Fix the order of num_sc_offered decrement
    net: Fix typos and whitespace.
    hv_netvsc: Fix the array sizes to be max supported channels
    hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
    ppp: take reference on channels netns
    net: Reset encap_level to avoid resetting features on inner IP headers
    net: mediatek: fix checking for NULL instead of IS_ERR() in .probe
    net: phy: at803x: Request 'reset' GPIO only for AT8030 PHY
    at803x: fix reset handling
    AF_VSOCK: Shrink the area influenced by prepare_to_wait
    Revert "vsock: Fix blocking ops call in prepare_to_wait"
    macb: fix PHY reset
    ipv4: initialize flowi4_flags before calling fib_lookup()
    fsl/fman: Workaround for Errata A-007273
    ipv4: fix broadcast packets reception
    net: hns: bug fix about the overflow of mss
    net: hns: adds limitation for debug port mtu
    net: hns: fix the bug about mtu setting
    net: hns: fixes a bug of RSS
    ...

    Linus Torvalds
     
  • …linux-platform-drivers-x86

    Pull x86 platform driver updates from Darren Hart:
    "Significant refactoring of Dell laptop drivers, modularizing the
    smbios code. Multiple new platforms added for ideapad, asus, dell,
    and alienware using existing quirks. A few fixes and cleanups.

    hp-wmi:
    - Remove GPS rfkill support via pre-2009 interface
    - fix unregister order in hp_wmi_rfkill_setup() once again

    ideapad-laptop:
    - Add ideapad Y700 (15) to the no_hw_rfkill DMI list

    fujitsu-laptop:
    - Support radio toggle button

    intel-hid:
    - allocate correct amount of memory for private struct

    platform/x86:
    - Make intel_scu_ipc explicitly non-modular

    intel_pmc_ipc:
    - Avoid pending IPC1 command during legacy suspend
    - Fix GCR register base address and length

    asus-nb-wmi:
    - add wapf=4 quirk for ASUS X75VD

    intel_telemetry_pltdrv:
    - Change verbosity control bits

    dell-rbtn:
    - Add a comment about the XPS 13 9350

    dell-wmi, dell-laptop:
    - depends DMI

    dell-wmi:
    - support Dell Inspiron M5110
    - properly process Dell Instant Launch hotkey
    - enable receiving WMI events on Dell Vostro V131
    - Support new hotkeys on the XPS 13 9350 (Skylake)
    - Clean up hotkey table size check
    - Stop storing pointers to DMI tables

    dell-laptop:
    - move dell_smi_error() to dell-smbios
    - use dell_smbios_find_token() instead of find_token_location()
    - use dell_smbios_find_token() instead of find_token_id()
    - extract SMBIOS-related code to a separate module

    dell-smbios:
    - rename dell_smi_error() to dell_smbios_error()
    - make da_tokens static
    - remove find_token_{id,location}()
    - implement new function for finding DMI table 0xDA tokens
    - make the SMBIOS buffer static
    - return the SMBIOS buffer from dell_smbios_get_buffer()
    - don't return an SMBIOS buffer from dell_smbios_send_request()
    - don't pass an SMBIOS buffer to dell_smbios_send_request()
    - rename dell_send_request() to dell_smbios_send_request()
    - rename release_buffer() to dell_smbios_release_buffer()
    - rename clear_buffer() to dell_smbios_clear_buffer()
    - rename get_buffer() to dell_smbios_get_buffer()

    dell-led:
    - use dell_smbios_send_request() for performing SMBIOS calls
    - use dell_smbios_find_token() for finding mic DMI tokens

    toshiba_acpi:
    - Add a module parameter to disable hotkeys registration
    - Add sysfs entries for the Cooling Method feature
    - Add support for cooling method feature

    Documentation/ABI:
    - Update sysfs-driver-toshiba_acpi file

    thinkpad_acpi:
    - Remove ambiguous logging for "Unsupported brightness interface"

    alienware-wmi:
    - whitespace improvements
    - Add support for two new systems: ASM200 and ASM201.
    - Add support for deep sleep control.
    - Add initial support for alienware graphics amplifier.
    - Add support for new platform: X51-R3
    - Clean up whitespace for ASM100 platform"

    * tag 'platform-drivers-x86-v4.6-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: (47 commits)
    hp-wmi: Remove GPS rfkill support via pre-2009 interface
    hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again
    dell-wmi: support Dell Inspiron M5110
    dell-wmi: properly process Dell Instant Launch hotkey
    dell-wmi: enable receiving WMI events on Dell Vostro V131
    dell-smbios: rename dell_smi_error() to dell_smbios_error()
    dell-laptop: move dell_smi_error() to dell-smbios
    ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list
    fujitsu-laptop: Support radio toggle button
    intel-hid: allocate correct amount of memory for private struct
    platform/x86: Make intel_scu_ipc explicitly non-modular
    intel_pmc_ipc: Avoid pending IPC1 command during legacy suspend
    intel_pmc_ipc: Fix GCR register base address and length
    asus-nb-wmi: add wapf=4 quirk for ASUS X75VD
    intel_telemetry_pltdrv: Change verbosity control bits
    dell-rbtn: Add a comment about the XPS 13 9350
    dell-wmi: Support new hotkeys on the XPS 13 9350 (Skylake)
    dell-wmi: Clean up hotkey table size check
    dell-wmi, dell-laptop: depends DMI
    dell-wmi: Stop storing pointers to DMI tables
    ...

    Linus Torvalds
     
  • Bunch of small fixupes all over. Plus a dma-buf patch that Sumit asked me
    to cherry-pick since that's the only one he had in his tree.

    There's a sparse issue outstanding in the color mgr stuff, but Lionel is
    still working on something that actually appeases sparse.

    * tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel:
    dma-buf/fence: fix fence_is_later v2
    dma-buf: Update docs for SYNC ioctl
    drm: remove excess description
    dma-buf, drm, ion: Propagate error code from dma_buf_start_cpu_access()
    drm/atmel-hlcdc: use helper to get crtc state
    drm/atomic: use helper to get crtc state

    Dave Airlie
     
  • This adds the necessary data for handling io voltage domains on the rk3399.
    As interesting tidbit, the rk3399 contains two separate iodomain areas.
    One in the regular General Register Files (GRF) and one in PMUGRF in the
    pmu power domain.

    Signed-off-by: David Wu
    Reviewed-by: Heiko Stuebner
    Acked-by: Kevin Hilman
    Signed-off-by: Rafael J. Wysocki

    David Wu
     
  • This patch updates the documentation file adding the Cooling Method
    entry.

    Signed-off-by: Azael Avalos
    Signed-off-by: Darren Hart

    Azael Avalos