21 May, 2017

1 commit

  • Pull staging driver fixes from Greg KH:
    "Here are a number of staging driver fixes for 4.12-rc2

    Most of them are typec driver fixes found by reviewers and users of
    the code. There are also some removals of files no longer needed in
    the tree due to the ion driver rewrite in 4.12-rc1, as well as some
    wifi driver fixes. And to round it out, a MAINTAINERS file update.

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

    * tag 'staging-4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (22 commits)
    MAINTAINERS: greybus-dev list is members-only
    staging: fsl-dpaa2/eth: add ETHERNET dependency
    staging: typec: fusb302: refactor resume retry mechanism
    staging: typec: fusb302: reset i2c_busy state in error
    staging: rtl8723bs: remove re-positioned call to kfree in os_dep/ioctl_cfg80211.c
    staging: rtl8192e: GetTs Fix invalid TID 7 warning.
    staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
    staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
    staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
    staging: vc04_services: Fix bulk cache maintenance
    staging: ccree: remove extraneous spin_unlock_bh() in error handler
    staging: typec: Fix sparse warnings about incorrect types
    staging: typec: fusb302: do not free gpio from managed resource
    staging: typec: tcpm: Fix Port Power Role field in PS_RDY messages
    staging: typec: tcpm: Respond to Discover Identity commands
    staging: typec: tcpm: Set correct flags in PD request messages
    staging: typec: tcpm: Drop duplicate PD messages
    staging: typec: fusb302: Fix chip->vbus_present init value
    staging: typec: fusb302: Fix module autoload
    staging: typec: tcpci: declare private structure as static
    ...

    Linus Torvalds
     

20 May, 2017

1 commit

  • Pull SCSI fixes from James Bottomley:
    "This is the first sweep of mostly minor fixes. There's one security
    one: the read past the end of a buffer in qedf, and a panic fix for
    lpfc SLI-3 adapters, but the rest are a set of include and build
    dependency tidy ups and assorted other small fixes and updates"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: pmcraid: remove redundant check to see if request_size is less than zero
    scsi: lpfc: ensure els_wq is being checked before destroying it
    scsi: cxlflash: Select IRQ_POLL
    scsi: qedf: Avoid reading past end of buffer
    scsi: qedf: Cleanup the type of io_log->op
    scsi: lpfc: double lock typo in lpfc_ns_rsp()
    scsi: qedf: properly update arguments position in function call
    scsi: scsi_lib: Add #include
    scsi: MAINTAINERS: update OSD entries
    scsi: Skip deleted devices in __scsi_device_lookup
    scsi: lpfc: Fix panic on BFS configuration
    scsi: libfc: do not flood console with messages 'libfc: queue full ...'

    Linus Torvalds
     

18 May, 2017

1 commit


15 May, 2017

2 commits


13 May, 2017

2 commits

  • Cc: Tigran Aivazian
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Pull MIPS updates from James Hogan:
    "math-emu:
    - Add missing clearing of BLTZALL and BGEZALL emulation counters
    - Fix BC1EQZ and BC1NEZ condition handling
    - Fix BLEZL and BGTZL identification

    BPF:
    - Add JIT support for SKF_AD_HATYPE
    - Use unsigned access for unsigned SKB fields
    - Quit clobbering callee saved registers in JIT code
    - Fix multiple problems in JIT skb access helpers

    Loongson 3:
    - Select MIPS_L1_CACHE_SHIFT_6

    Octeon:
    - Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL
    - Remove unused L2C types and macros.
    - Remove unused SLI types and macros.
    - Fix compile error when USB is not enabled.
    - Octeon: Remove unused PCIERCX types and macros.
    - Octeon: Clean up platform code.

    SNI:
    - Remove recursive include of cpu-feature-overrides.h

    Sibyte:
    - Export symbol periph_rev to sb1250-mac network driver.
    - Fix Kconfig warning.

    Generic platform:
    - Enable Root FS on NFS in generic_defconfig

    SMP-MT:
    - Use CPU interrupt controller IPI IRQ domain support

    UASM:
    - Add support for LHU for uasm.
    - Remove needless ISA abstraction

    mm:
    - Add 48-bit VA space and 4-level page tables for 4K pages.

    PCI:
    - Add controllers before the specified head

    irqchip driver for MIPS CPU:
    - Replace magic 0x100 with IE_SW0
    - Prepare for non-legacy IRQ domains
    - Introduce IPI IRQ domain support

    MAINTAINERS:
    - Update email-id of Rahul Bedarkar

    NET:
    - sb1250-mac: Add missing MODULE_LICENSE()

    CPUFREQ:
    - Loongson2: drop set_cpus_allowed_ptr()

    Misc:
    - Disable Werror when W= is set
    - Opt into HAVE_COPY_THREAD_TLS
    - Enable GENERIC_CPU_AUTOPROBE
    - Use common outgoing-CPU-notification code
    - Remove dead define of ST_OFF
    - Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
    - Stengthen IPI IRQ domain sanity check
    - Remove confusing else statement in __do_page_fault()
    - Don't unnecessarily include kmalloc.h into .
    - Delete unused definition of SMP_CACHE_SHIFT.
    - Delete redundant definition of SMP_CACHE_BYTES"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (39 commits)
    MIPS: Sibyte: Fix Kconfig warning.
    MIPS: Sibyte: Export symbol periph_rev to sb1250-mac network driver.
    NET: sb1250-mac: Add missing MODULE_LICENSE()
    MAINTAINERS: Update email-id of Rahul Bedarkar
    MIPS: Remove confusing else statement in __do_page_fault()
    MIPS: Stengthen IPI IRQ domain sanity check
    MIPS: smp-mt: Use CPU interrupt controller IPI IRQ domain support
    irqchip: mips-cpu: Introduce IPI IRQ domain support
    irqchip: mips-cpu: Prepare for non-legacy IRQ domains
    irqchip: mips-cpu: Replace magic 0x100 with IE_SW0
    MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
    MIPS: generic: Enable Root FS on NFS in generic_defconfig
    MIPS: mach-rm: Remove recursive include of cpu-feature-overrides.h
    MIPS: Opt into HAVE_COPY_THREAD_TLS
    CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()
    MIPS: uasm: Remove needless ISA abstraction
    MIPS: Remove dead define of ST_OFF
    MIPS: Use common outgoing-CPU-notification code
    MIPS: math-emu: Fix BC1EQZ and BC1NEZ condition handling
    MIPS: r2-on-r6-emu: Clear BLTZALL and BGEZALL debugfs counters
    ...

    Linus Torvalds
     

12 May, 2017

1 commit

  • Pull MTD updates from Brian Norris:
    "NAND, from Boris:
    - some minor fixes/improvements on existing drivers (fsmc, gpio, ifc,
    davinci, brcmnand, omap)
    - a huge cleanup/rework of the denali driver accompanied with core
    fixes/improvements to simplify the driver code
    - a complete rewrite of the atmel driver to support new DT bindings
    make future evolution easier
    - the addition of per-vendor detection/initialization steps to avoid
    extending the nand_ids table with more extended-id entries

    SPI NOR, from Cyrille:
    - fixes in the hisi, intel and Mediatek SPI controller drivers
    - fixes to some SPI flash memories not supporting the Chip Erase
    command.
    - add support to some new memory parts (Winbond, Macronix, Micron,
    ESMT).
    - add new driver for the STM32 QSPI controller

    And a few fixes for Gemini and Versatile platforms on physmap-of"

    * tag 'for-linus-20170510' of git://git.infradead.org/linux-mtd: (100 commits)
    MAINTAINERS: Update NAND subsystem git repositories
    mtd: nand: gpio: update binding
    mtd: nand: add ooblayout for old hamming layout
    mtd: oxnas_nand: Allocating more than necessary in probe()
    dt-bindings: mtd: Document the STM32 QSPI bindings
    mtd: mtk-nor: set controller's address width according to nor flash
    mtd: spi-nor: add driver for STM32 quad spi flash controller
    mtd: nand: brcmnand: Check flash #WP pin status before nand erase/program
    mtd: nand: davinci: add comment on NAND subpage write status on keystone
    mtd: nand: omap2: Fix partition creation via cmdline mtdparts
    mtd: nand: NULL terminate a of_device_id table
    mtd: nand: Fix a couple error codes
    mtd: nand: allow drivers to request minimum alignment for passed buffer
    mtd: nand: allocate aligned buffers if NAND_OWN_BUFFERS is unset
    mtd: nand: denali: allow to override revision number
    mtd: nand: denali_dt: use pdev instead of ofdev for platform_device
    mtd: nand: denali_dt: remove dma-mask DT property
    mtd: nand: denali: support 64bit capable DMA engine
    mtd: nand: denali_dt: enable HW_ECC_FIXUP for Altera SOCFPGA variant
    mtd: nand: denali: support HW_ECC_FIXUP capability
    ...

    Linus Torvalds
     

11 May, 2017

5 commits

  • NAND branches are now hosted on MTD repos, nand/next is on l2-mtd and
    nand/fixes will be on linux-mtd.

    Signed-off-by: Boris Brezillon
    [Brian: added branch names]
    Signed-off-by: Brian Norris

    Boris Brezillon
     
  • Pull clk updates from Stephen Boyd:
    "Sort of on the quieter side this time, which is probably due more to
    me not catching up as quickly on patch review than anything else.
    Overall it seems normal though, a few small changes to the core,
    mostly small non-critical fixes here and there as well as driver
    updates for new and existing hardware support.

    The biggest things are the TI clk driver rework to lay the groundwork
    for clkctrl support in the next merge window and the AmLogic
    audio/graphics clk support.

    Core:
    - clk_possible_parents debugfs file so we know which parents a clk
    could possibly have
    - Fix to make clk rate change notifiers stop on the first failure
    instead of continuing

    New Drivers:
    - Mediatek MT6797 SoCs
    - hi655x PMIC clks
    - AmLogic Meson SoC i2s and spdif audio clks and Mali graphics clks
    - Allwinner H5 SoCs and PRCM hardware

    Updates:
    - Nvidia Tegra T210 cleanups and non-critical fixes
    - TI OMAP cleanups in preparation for clkctrl support
    - trivial fixes like kcalloc(), devm_* conversions, and seq_puts()
    - ZTE zx296718 SoC VGA clks
    - Rockchip clk-ids, fixups, and rename of rk1108 to rv1108
    - IDT VersaClock 5P49V5935 support
    - Renesas R-Car H3 and M3-W IMR clks and ES2.0 rev of R-Car H3
    support"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (151 commits)
    clk: x86: pmc-atom: Checking for IS_ERR() instead of NULL
    clk: ti: divider: try to fix ti_clk_register_divider
    clk: mvebu: Use kcalloc() in two functions
    clk: mvebu: Use kcalloc() in of_cpu_clk_setup()
    clk: nomadik: Delete error messages for a failed memory allocation in two functions
    clk: nomadik: Use seq_puts() in nomadik_src_clk_show()
    clk: Improve a size determination in two functions
    clk: Replace four seq_printf() calls by seq_putc()
    clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()
    clk: si5351: Use devm_kcalloc() in si5351_i2c_probe()
    clk: at91: Use kcalloc() in of_at91_clk_pll_get_characteristics()
    reset: mediatek: Add MT2701 ethsys reset controller include file
    clk: mediatek: add mt2701 ethernet reset
    clk: hi6220: Add the hi655x's pmic clock
    clk: ti: fix building without legacy omap3
    clk: ti: fix linker error with !SOC_OMAP4
    clk: hi3620: Fix a typo in one variable name
    clk: hi3620: Delete error messages for a failed memory allocation in two functions
    clk: hi3620: Use kcalloc() in hi3620_mmc_clk_init()
    clk: hisilicon: Delete error messages for failed memory allocations in hisi_clk_init()
    ...

    Linus Torvalds
     
  • Pull virtio updates from Michael Tsirkin:
    "Fixes, cleanups, performance

    A bunch of changes to virtio, most affecting virtio net. Also ptr_ring
    batched zeroing - first of batching enhancements that seems ready."

    * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
    s390/virtio: change maintainership
    tools/virtio: fix spelling mistake: "wakeus" -> "wakeups"
    virtio_net: tidy a couple debug statements
    ptr_ring: support testing different batching sizes
    ringtest: support test specific parameters
    ptr_ring: batch ring zeroing
    virtio: virtio_driver doc
    virtio_net: don't reset twice on XDP on/off
    virtio_net: fix support for small rings
    virtio_net: reduce alignment for buffers
    virtio_net: rework mergeable buffer handling
    virtio_net: allow specifying context for rx
    virtio: allow extra context per descriptor
    tools/virtio: fix build breakage
    virtio: add context flag to find vqs
    virtio: wrap find_vqs
    ringtest: fix an assert statement

    Linus Torvalds
     
  • Pull TEE driver infrastructure and OP-TEE drivers from Arnd Bergmann:
    "This introduces a generic TEE framework in the kernel, to handle
    trusted environemtns (security coprocessor or software implementations
    such as OP-TEE/TrustZone). I'm sending it separately from the other
    arm-soc driver changes to give it a little more visibility, once the
    subsystem is merged, we will likely keep this in the arm₋soc drivers
    branch or have the maintainers submit pull requests directly,
    depending on the patch volume.

    I have reviewed earlier versions in the past, and have reviewed the
    latest version in person during Linaro Connect BUD17.

    Here is my overall assessment of the subsystem:

    - There is clearly demand for this, both for the generic
    infrastructure and the specific OP-TEE implementation.

    - The code has gone through a large number of reviews, and the review
    comments have all been addressed, but the reviews were not coming
    up with serious issues any more and nobody volunteered to vouch for
    the quality.

    - The user space ioctl interface is sufficient to work with the
    OP-TEE driver, and it should in principle work with other TEE
    implementations that follow the GlobalPlatform[1] standards, but it
    might need to be extended in minor ways depending on specific
    requirements of future TEE implementations

    - The main downside of the API to me is how the user space is tied to
    the TEE implementation in hardware or firmware, but uses a generic
    way to communicate with it. This seems to be an inherent problem
    with what it is trying to do, and I could not come up with any
    better solution than what is implemented here.

    For a detailed history of the patch series, see

    https://lkml.org/lkml/2017/3/10/1277"

    * tag 'armsoc-tee' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    arm64: dt: hikey: Add optee node
    Documentation: tee subsystem and op-tee driver
    tee: add OP-TEE driver
    tee: generic TEE subsystem
    dt/bindings: add bindings for optee

    Linus Torvalds
     
  • Pull more power management updates from Rafael Wysocki:
    "These add new CPU IDs to a couple of drivers, fix a possible NULL
    pointer dereference in the cpuidle core, update DT-related things in
    the generic power domains framework and finally update the
    suspend/resume infrastructure to improve the handling of wakeups from
    suspend-to-idle.

    Specifics:

    - Add Intel Gemini Lake CPU IDs to the intel_idle and intel_rapl
    drivers (David Box).

    - Add a NULL pointer check to the cpuidle core to prevent it from
    crashing on platforms with incomplete cpuidle configuration (Fei
    Li).

    - Fix DT-related documentation in the generic power domains (genpd)
    framework and add a MAINTAINERS entry for DT-related material in
    genpd (Viresh Kumar).

    - Update the system suspend/resume infrastructure to improve the
    handling of aborts of suspend transitions in progress in the wakeup
    framework and rework the suspend-to-idle core loop to make it
    possible to filter out spurious wakeup events (specifically the
    ones coming from ACPI) without resuming all the way up to user
    space every time (Rafael Wysocki)"

    * tag 'pm-extra-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle
    PM / wakeup: Integrate mechanism to abort transitions in progress
    x86/intel_idle: add Gemini Lake support
    cpuidle: check dev before usage in cpuidle_use_deepest_state()
    powercap: intel_rapl: Add support for Gemini Lake
    PM / Domains: Add DT file to MAINTAINERS
    PM / Domains: Fix DT example

    Linus Torvalds
     

10 May, 2017

6 commits

  • Pull btrfs updates from Chris Mason:
    "This has fixes and cleanups Dave Sterba collected for the merge
    window.

    The biggest functional fixes are between btrfs raid5/6 and scrub, and
    raid5/6 and device replacement. Some of our pending qgroup fixes are
    included as well while I bash on the rest in testing.

    We also have the usual set of cleanups, including one that makes
    __btrfs_map_block() much more maintainable, and conversions from
    atomic_t to refcount_t"

    * 'for-linus-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (71 commits)
    btrfs: fix the gfp_mask for the reada_zones radix tree
    Btrfs: fix reported number of inode blocks
    Btrfs: send, fix file hole not being preserved due to inline extent
    Btrfs: fix extent map leak during fallocate error path
    Btrfs: fix incorrect space accounting after failure to insert inline extent
    Btrfs: fix invalid attempt to free reserved space on failure to cow range
    btrfs: Handle delalloc error correctly to avoid ordered extent hang
    btrfs: Fix metadata underflow caused by btrfs_reloc_clone_csum error
    btrfs: check if the device is flush capable
    btrfs: delete unused member nobarriers
    btrfs: scrub: Fix RAID56 recovery race condition
    btrfs: scrub: Introduce full stripe lock for RAID56
    btrfs: Use ktime_get_real_ts for root ctime
    Btrfs: handle only applicable errors returned by btrfs_get_extent
    btrfs: qgroup: Fix qgroup corruption caused by inode_cache mount option
    btrfs: use q which is already obtained from bdev_get_queue
    Btrfs: switch to div64_u64 if with a u64 divisor
    Btrfs: update scrub_parity to use u64 stripe_len
    Btrfs: enable repair during read for raid56 profile
    btrfs: use clear_page where appropriate
    ...

    Linus Torvalds
     
  • * pm-domains:
    PM / Domains: Add DT file to MAINTAINERS
    PM / Domains: Fix DT example

    * pm-cpuidle:
    x86/intel_idle: add Gemini Lake support
    cpuidle: check dev before usage in cpuidle_use_deepest_state()

    * pm-sleep:
    ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle
    PM / wakeup: Integrate mechanism to abort transitions in progress

    * powercap:
    powercap: intel_rapl: Add support for Gemini Lake

    Rafael J. Wysocki
     
  • Pull ARM SoC 64-bit changes from Olof Johansson:
    "Changes to platform code for 64-bit ARM platforms.

    Most of these are small changes to the one defconfig we use on arm64
    (no per-platform configs there), to enable new drivers.

    There are also a few other changes. Broadcom sold off their 'Vulcan'
    design to Cavium, where it is now called ThunderX2. While we normally
    don't rename stuff based on marketing's whims, it seemed appropriate
    to bring in renames on a few things such as MAINTAINERS, etc"

    * tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    arm64: sunxi: always enable reset controller
    arm64: defconfig: enable the Safexcel crypto engine as a module
    arm64: configs: enable SDHCI driver for Xenon
    MAINTAINERS: Broadcom Vulcan is now Cavium ThunderX2
    arm64: defconfig: add Allwinner USB PHY
    arm64: defconfig: enable MVPP2
    arm64: defconfig: Enable video, DRM and LPASS drivers for Exynos5433 and Exynos7
    arm64: exynos: Enable Exynos PMU and PM domains drivers
    arm64: only select PINCTRL for Allwinner platforms
    arm64: set CONFIG_MMC_BCM2835=y in defconfig
    arm64: defconfig: enable I2C_PXA
    arm64: defconfig: enable MVNETA
    ARM64: defconfig: enable the leds-pwm driver and default-on trigger
    arm64: defconfig: Enable SH Mobile I2C controller

    Linus Torvalds
     
  • Pull ARM SoC driver updates from Olof Johansson:
    "Driver updates for ARM SoCs:

    Reset subsystem, merged through arm-soc by tradition:
    - Make bool drivers explicitly non-modular
    - New support for i.MX7 and Arria10 reset controllers

    PATA driver for Palmchip BK371 (acked by Tejun)

    Power domain drivers for i.MX (GPC, GPCv2)
    - Moved out of mach-imx for GPC
    - Bunch of tweaks, fixes, etc

    PMC support for Tegra186

    SoC detection support for Renesas RZ/G1H and RZ/G1N

    Move Tegra flow controller driver from mach directory to drivers/soc
    - (Power management / CPU power driver)

    Misc smaller tweaks for other platforms"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (60 commits)
    soc: pm-domain: Fix the mangled urls
    soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0
    soc: renesas: rcar-sysc: Add support for fixing up power area tables
    soc: renesas: Register SoC device early
    soc: imx: gpc: add workaround for i.MX6QP to the GPC PD driver
    dt-bindings: imx-gpc: add i.MX6 QuadPlus compatible
    soc: imx: gpc: add defines for domain index
    soc: imx: Add GPCv2 power gating driver
    dt-bindings: Add GPCv2 power gating driver
    ARM/clk: move the ICST library to drivers/clk
    ARM: plat-versatile: remove stale clock header
    ARM: keystone: Drop PM domain support for k2g
    soc: ti: Add ti_sci_pm_domains driver
    dt-bindings: Add TI SCI PM Domains
    PM / Domains: Do not check if simple providers have phandle cells
    PM / Domains: Add generic data pointer to genpd data struct
    soc/tegra: Add initial flowctrl support for Tegra132/210
    soc/tegra: flowctrl: Add basic platform driver
    soc/tegra: Move Tegra flowctrl driver
    ARM: tegra: Remove unnecessary inclusion of flowctrl header
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "SoC platform changes (arch/arm/mach-*). This merge window, the bulk is
    for a few platforms:

    Gemini:
    - Legacy platform that Linus Walleij has converted to multiplatform
    and DT, so a handful of various tweaks there, removal of some old
    stale support, etc.

    Atmel AT91:
    - Fixup of various power management related pieces
    - Move of SoC detection to a drivers/soc driver instead

    ST Micro STM32:
    - New SoC support: STM32H743

    TI platforms:
    - More driver support for Davinci (SATA in particular)
    - Removal of some old stale hwmod files (linkspace platform)

    Misc:
    - A couple of smaller patches for i.MX, sunxi, hisi"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (57 commits)
    ARM: davinci: Add clock for CPPI 4.1 DMA engine
    ARM: mxs: add support for I2SE Duckbill 2 boards
    MAINTAINERS: Update the Allwinner sunXi entry
    ARM: i.MX25: globally disable supervisor protect
    ARM: at91: move SoC detection to its own driver
    ARM: at91: pm: correct typo
    ARM: at91: pm: Remove at91_pm_set_standby
    ARM: at91: pm: Merge all at91sam9*_pm_init
    ARM: at91: pm: Tie the USB clock mask to the pmc
    ARM: at91: pm: Tie the memory controller type to the ramc id
    ARM: at91: pm: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.
    ARM: at91: pm: Simplify at91rm9200_standby
    ARM: at91: pm: Use struct at91_pm_data in pm_suspend.S
    ARM: at91: pm: Move global variables into at91_pm_data
    ARM: at91: pm: Move at91_ramc_read/write to pm.c
    ARM: at91: pm: Cleanup headers
    MAINTAINERS: Add memory drivers to AT91 entry
    MAINTAINERS: Update AT91 entry
    ARM: davinci: add pata_bk3710 libata driver support
    ARM: OMAP2+: mark omap_init_rng as __init
    ...

    Linus Torvalds
     
  • Pull misc ARM SoC fixes from Olof Johansson:
    "ARM SoC non-urgent fixes for merge window

    Smaller patches that didn't seem to find a home in other branches, and
    low-priority fixes from late in the merge window. A number of these
    are MAINTAINER updates, it seems.

    Highlights:

    * Maintainers:
    - Remove Alexandre Courbot and Stephen Warren from Tegra
    maintainership, add Jon Hunter
    - Remove Stephen Warren and add Stefan Wahren to bcm2835
    - Tweaks for file flagging for Marvell Dove

    * Fixes:
    - For two non-common-clk platform, handle clk_disable with NULL arg
    - Remove redundant Kconfig select for Oxnas"

    * tag 'armsoc-fixes-nc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: mmp: let clk_disable() return immediately if clk is NULL
    ARM: w90x900: let clk_disable() return immediately if clk is NULL
    MAINTAINERS: Add file patterns for dove device tree bindings
    ARM: oxnas: remove redundant select CPU_V6K
    MAINTAINERS: tegra: Remove self as maintainer
    MAINTAINERS: tegra: Replace Stephen with Jon
    MAINTAINERS: Add Stefan Wahren to bcm2835.
    MAINTAINERS: remove swarren from bcm2835
    MAINTAINERS: Add Jon Mason to BCM5301X maintainers

    Linus Torvalds
     

09 May, 2017

5 commits

  • Halil is doing a lot more work in the virtio area on s390 than I
    do. Let's reflect the reality in the maintainers file.

    Signed-off-by: Christian Borntraeger
    Acked-by: Halil Pasic
    Acked-by: Cornelia Huck
    Signed-off-by: Michael S. Tsirkin

    Christian Borntraeger
     
  • Pull PCI updates from Bjorn Helgaas:

    - add framework for supporting PCIe devices in Endpoint mode (Kishon
    Vijay Abraham I)

    - use non-postable PCI config space mappings when possible (Lorenzo
    Pieralisi)

    - clean up and unify mmap of PCI BARs (David Woodhouse)

    - export and unify Function Level Reset support (Christoph Hellwig)

    - avoid FLR for Intel 82579 NICs (Sasha Neftin)

    - add pci_request_irq() and pci_free_irq() helpers (Christoph Hellwig)

    - short-circuit config access failures for disconnected devices (Keith
    Busch)

    - remove D3 sleep delay when possible (Adrian Hunter)

    - freeze PME scan before suspending devices (Lukas Wunner)

    - stop disabling MSI/MSI-X in pci_device_shutdown() (Prarit Bhargava)

    - disable boot interrupt quirk for ASUS M2N-LR (Stefan Assmann)

    - add arch-specific alignment control to improve device passthrough by
    avoiding multiple BARs in a page (Yongji Xie)

    - add sysfs sriov_drivers_autoprobe to control VF driver binding
    (Bodong Wang)

    - allow slots below PCI-to-PCIe "reverse bridges" (Bjorn Helgaas)

    - fix crashes when unbinding host controllers that don't support
    removal (Brian Norris)

    - add driver for MicroSemi Switchtec management interface (Logan
    Gunthorpe)

    - add driver for Faraday Technology FTPCI100 host bridge (Linus
    Walleij)

    - add i.MX7D support (Andrey Smirnov)

    - use generic MSI support for Aardvark (Thomas Petazzoni)

    - make Rockchip driver modular (Brian Norris)

    - advertise 128-byte Read Completion Boundary support for Rockchip
    (Shawn Lin)

    - advertise PCI_EXP_LNKSTA_SLC for Rockchip root port (Shawn Lin)

    - convert atomic_t to refcount_t in HV driver (Elena Reshetova)

    - add CPU IRQ affinity in HV driver (K. Y. Srinivasan)

    - fix PCI bus removal in HV driver (Long Li)

    - add support for ThunderX2 DMA alias topology (Jayachandran C)

    - add ThunderX pass2.x 2nd node MCFG quirk (Tomasz Nowicki)

    - add ITE 8893 bridge DMA alias quirk (Jarod Wilson)

    - restrict Cavium ACS quirk only to CN81xx/CN83xx/CN88xx devices
    (Manish Jaggi)

    * tag 'pci-v4.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (146 commits)
    PCI: Don't allow unbinding host controllers that aren't prepared
    ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP
    MAINTAINERS: Add PCI Endpoint maintainer
    Documentation: PCI: Add userguide for PCI endpoint test function
    tools: PCI: Add sample test script to invoke pcitest
    tools: PCI: Add a userspace tool to test PCI endpoint
    Documentation: misc-devices: Add Documentation for pci-endpoint-test driver
    misc: Add host side PCI driver for PCI test function device
    PCI: Add device IDs for DRA74x and DRA72x
    dt-bindings: PCI: dra7xx: Add DT bindings to enable unaligned access
    PCI: dwc: dra7xx: Workaround for errata id i870
    dt-bindings: PCI: dra7xx: Add DT bindings for PCI dra7xx EP mode
    PCI: dwc: dra7xx: Add EP mode support
    PCI: dwc: dra7xx: Facilitate wrapper and MSI interrupts to be enabled independently
    dt-bindings: PCI: Add DT bindings for PCI designware EP mode
    PCI: dwc: designware: Add EP mode support
    Documentation: PCI: Add binding documentation for pci-test endpoint function
    ixgbe: Use pcie_flr() instead of duplicating it
    IB/hfi1: Use pcie_flr() instead of duplicating it
    PCI: imx6: Fix spelling mistake: "contol" -> "control"
    ...

    Linus Torvalds
     
  • Pull tty/serial updates from Greg KH:
    "Here is the "big" TTY/Serial patch updates for 4.12-rc1

    Not a lot of new things here, the normal number of serial driver
    updates and additions, tiny bugs fixed, and some core files split up
    to make future changes a bit easier for Nicolas's "tiny-tty" work.

    All of these have been in linux-next for a while"

    * tag 'tty-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (62 commits)
    serial: small Makefile reordering
    tty: split job control support into a file of its own
    tty: move baudrate handling code to a file of its own
    console: move console_init() out of tty_io.c
    serial: 8250_early: Add earlycon support for Palmchip UART
    tty: pl011: use "qdf2400_e44" as the earlycon name for QDF2400 E44
    vt: make mouse selection of non-ASCII consistent
    vt: set mouse selection word-chars to gpm's default
    imx-serial: Reduce RX DMA startup latency when opening for reading
    serial: omap: suspend device on probe errors
    serial: omap: fix runtime-pm handling on unbind
    tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
    serial: samsung: Remove useless spinlock
    serial: samsung: Add missing checks for dma_map_single failure
    serial: samsung: Use right device for DMA-mapping calls
    serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off
    tty: fix comment typo s/repsonsible/responsible/
    tty: amba-pl011: Fix spurious TX interrupts
    serial: xuartps: Enable clocks in the pm disable case also
    serial: core: Re-use struct uart_port {name} field
    ...

    Linus Torvalds
     
  • The open-osd domain doesn't exist anymore, and mails to the list lead to
    really annoying bounced that repeat every day.

    Also the primarydata address for Benny bounces, and while I have a new
    one for him he doesn't seem to be maintaining the OSD code any more.

    Which beggs the question: should we really leave the Supported status in
    MAINTAINERS given that the code is barely maintained?

    Signed-off-by: Christoph Hellwig
    Acked-by: Jeff Layton
    Acked-by: Boaz Harrosh
    Acked-by: Benny Halevy
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • Pull fscrypt updates from Ted Ts'o:
    "Only bug fixes and cleanups for this merge window"

    * tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt:
    fscrypt: correct collision claim for digested names
    MAINTAINERS: fscrypt: update mailing list, patchwork, and git
    ext4: clean up ext4_match() and callers
    f2fs: switch to using fscrypt_match_name()
    ext4: switch to using fscrypt_match_name()
    fscrypt: introduce helper function for filename matching
    fscrypt: avoid collisions when presenting long encrypted filenames
    f2fs: check entire encrypted bigname when finding a dentry
    ubifs: check for consistent encryption contexts in ubifs_lookup()
    f2fs: sync f2fs_lookup() with ext4_lookup()
    ext4: remove "nokey" check from ext4_lookup()
    fscrypt: fix context consistency check when key(s) unavailable
    fscrypt: Remove __packed from fscrypt_policy
    fscrypt: Move key structure and constants to uapi
    fscrypt: remove fscrypt_symlink_data_len()
    fscrypt: remove unnecessary checks for NULL operations

    Linus Torvalds
     

06 May, 2017

5 commits

  • Pull staging/IIO updates from Greg KH:
    "Here is the big staging tree update for 4.12-rc1.

    It's a big one, adding about 350k new lines of crap^Wcode, mostly all
    in a big dump of media drivers from Intel. But there's other new
    drivers in here as well, yet-another-wifi driver, new IIO drivers, and
    a new crypto accelerator.

    We also deleted a bunch of stuff, mostly in patch cleanups, but also
    the Android ION code has shrunk a lot, and the Android low memory
    killer driver was finally deleted, much to the celebration of the -mm
    developers.

    All of these have been in linux-next with a few build issues that will
    show up when you merge to your tree"

    Merge conflicts in the new rtl8723bs driver (due to the wifi changes
    this merge window) handled as per linux-next, courtesy of Stephen
    Rothwell.

    * tag 'staging-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1182 commits)
    staging: fsl-mc/dpio: add cpu LE conversion for dpaa2_fd
    staging: ks7010: remove line continuations in quoted strings
    staging: vt6656: use tabs instead of spaces
    staging: android: ion: Fix unnecessary initialization of static variable
    staging: media: atomisp: fix range checking on clk_num
    staging: media: atomisp: fix misspelled word in comment
    staging: media: atomisp: kmap() can't fail
    staging: atomisp: remove #ifdef for runtime PM functions
    staging: atomisp: satm include directory is gone
    atomisp: remove some more unused files
    atomisp: remove hmm_load/store/clear indirections
    atomisp: kill off mmgr_free
    atomisp: clean up the hmm init/cleanup indirections
    atomisp: handle allocation calls before init in the hmm layer
    staging: fsl-dpaa2/eth: Add maintainer for Ethernet driver
    staging: fsl-dpaa2/eth: Add TODO file
    staging: fsl-dpaa2/eth: Add trace points
    staging: fsl-dpaa2/eth: Add driver specific stats
    staging: fsl-dpaa2/eth: Add ethtool support
    staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:
    "Media updates for v4.12-rc1:

    - new driver to support mediatek jpeg in hardware codec

    - rc-lirc, s5p-cec and st-cec staging drivers got promoted

    - hardware histogram support for vsp1 driver

    - added Virtual Media Controller driver, to make easier to test the
    media controller

    - added a new CEC driver (rainshadow-cec)

    - removed two staging LIRC drivers for obscure hardware that are too
    obsolete

    - added support for Intel SR300 Depth camera

    - some improvements at CEC and RC core

    - lots of driver cleanups, improvements all over the tree

    With this series, we're finally getting rid of the LIRC staging
    driver. There's just one left (lirc_zilog), with require more care,
    as part of its functionality (IR RX) is already provided by another
    driver. Work in progress to convert it on the proper way"

    * tag 'media/v4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (304 commits)
    [media] ov2640: print error if devm_*_optional*() fails
    [media] atmel-isc: Fix the static checker warning
    [media] ov2640: add support for MEDIA_BUS_FMT_YVYU8_2X8 and MEDIA_BUS_FMT_VYUY8_2X8
    [media] ov2640: fix vflip control
    [media] ov2640: fix duplicate width+height returning from ov2640_select_win()
    [media] ov2640: add missing write to size change preamble
    [media] ov2640: add information about DSP register 0xc7
    [media] ov2640: improve banding filter register definitions/documentation
    [media] ov2640: fix init sequence alignment
    [media] ov2640: make GPIOLIB an optional dependency
    [media] xc5000: fix spelling mistake: "calibration"
    [media] vidioc-queryctrl.rst: fix menu/int menu references
    [media] media-entity: only call dev_dbg_obj if mdev is not NULL
    [media] pixfmt-meta-vsp1-hgo.rst: remove spurious '-'
    [media] mtk-vcodec: avoid warnings because of empty macros
    [media] coda: bump maximum number of internal framebuffers to 17
    [media] media: mtk-vcodec: remove informative log
    [media] subdev-formats.rst: remove spurious '-'
    [media] dw2102: limit messages to buffer size
    [media] ttusb2: limit messages to buffer size
    ...

    Linus Torvalds
     
  • Pull drm tegra updates from Dave Airlie:
    "I missed a pull request from Thierry, this stuff has been in
    linux-next for a while anyways.

    It does contain a branch from the iommu tree, but Thierry said it
    should be fine"

    * tag 'drm-forgot-about-tegra-for-v4.12-rc1' of git://people.freedesktop.org/~airlied/linux:
    gpu: host1x: Fix host1x driver shutdown
    gpu: host1x: Support module reset
    gpu: host1x: Sort includes alphabetically
    drm/tegra: Add VIC support
    dt-bindings: Add bindings for the Tegra VIC
    drm/tegra: Add falcon helper library
    drm/tegra: Add Tegra DRM allocation API
    drm/tegra: Add tiling FB modifiers
    drm/tegra: Don't leak kernel pointer to userspace
    drm/tegra: Protect IOMMU operations by mutex
    drm/tegra: Enable IOVA API when IOMMU support is enabled
    gpu: host1x: Add IOMMU support
    gpu: host1x: Fix potential out-of-bounds access
    iommu/iova: Fix compile error with CONFIG_IOMMU_IOVA=m
    iommu: Add dummy implementations for !IOMMU_IOVA
    MAINTAINERS: Add related headers to IOMMU section
    iommu/iova: Consolidate code for adding new node to iovad domain rbtree

    Linus Torvalds
     
  • Pull arm64 updates from Catalin Marinas:

    - kdump support, including two necessary memblock additions:
    memblock_clear_nomap() and memblock_cap_memory_range()

    - ARMv8.3 HWCAP bits for JavaScript conversion instructions, complex
    numbers and weaker release consistency

    - arm64 ACPI platform MSI support

    - arm perf updates: ACPI PMU support, L3 cache PMU in some Qualcomm
    SoCs, Cortex-A53 L2 cache events and DTLB refills, MAINTAINERS update
    for DT perf bindings

    - architected timer errata framework (the arch/arm64 changes only)

    - support for DMA_ATTR_FORCE_CONTIGUOUS in the arm64 iommu DMA API

    - arm64 KVM refactoring to use common system register definitions

    - remove support for ASID-tagged VIVT I-cache (no ARMv8 implementation
    using it and deprecated in the architecture) together with some
    I-cache handling clean-up

    - PE/COFF EFI header clean-up/hardening

    - define BUG() instruction without CONFIG_BUG

    * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (92 commits)
    arm64: Fix the DMA mmap and get_sgtable API with DMA_ATTR_FORCE_CONTIGUOUS
    arm64: Print DT machine model in setup_machine_fdt()
    arm64: pmu: Wire-up Cortex A53 L2 cache events and DTLB refills
    arm64: module: split core and init PLT sections
    arm64: pmuv3: handle pmuv3+
    arm64: Add CNTFRQ_EL0 trap handler
    arm64: Silence spurious kbuild warning on menuconfig
    arm64: pmuv3: use arm_pmu ACPI framework
    arm64: pmuv3: handle !PMUv3 when probing
    drivers/perf: arm_pmu: add ACPI framework
    arm64: add function to get a cpu's MADT GICC table
    drivers/perf: arm_pmu: split out platform device probe logic
    drivers/perf: arm_pmu: move irq request/free into probe
    drivers/perf: arm_pmu: split cpu-local irq request/free
    drivers/perf: arm_pmu: rename irq request/free functions
    drivers/perf: arm_pmu: handle no platform_device
    drivers/perf: arm_pmu: simplify cpu_pmu_request_irqs()
    drivers/perf: arm_pmu: factor out pmu registration
    drivers/perf: arm_pmu: fold init into alloc
    drivers/perf: arm_pmu: define armpmu_init_fn
    ...

    Linus Torvalds
     
  • Pull powerpc updates from Michael Ellerman:
    "Highlights include:

    - Larger virtual address space on 64-bit server CPUs. By default we
    use a 128TB virtual address space, but a process can request access
    to the full 512TB by passing a hint to mmap().

    - Support for the new Power9 "XIVE" interrupt controller.

    - TLB flushing optimisations for the radix MMU on Power9.

    - Support for CAPI cards on Power9, using the "Coherent Accelerator
    Interface Architecture 2.0".

    - The ability to configure the mmap randomisation limits at build and
    runtime.

    - Several small fixes and cleanups to the kprobes code, as well as
    support for KPROBES_ON_FTRACE.

    - Major improvements to handling of system reset interrupts,
    correctly treating them as NMIs, giving them a dedicated stack and
    using a new hypervisor call to trigger them, all of which should
    aid debugging and robustness.

    - Many fixes and other minor enhancements.

    Thanks to: Alastair D'Silva, Alexey Kardashevskiy, Alistair Popple,
    Andrew Donnellan, Aneesh Kumar K.V, Anshuman Khandual, Anton
    Blanchard, Balbir Singh, Ben Hutchings, Benjamin Herrenschmidt,
    Bhupesh Sharma, Chris Packham, Christian Zigotzky, Christophe Leroy,
    Christophe Lombard, Daniel Axtens, David Gibson, Gautham R. Shenoy,
    Gavin Shan, Geert Uytterhoeven, Guilherme G. Piccoli, Hamish Martin,
    Hari Bathini, Kees Cook, Laurent Dufour, Madhavan Srinivasan, Mahesh J
    Salgaonkar, Mahesh Salgaonkar, Masami Hiramatsu, Matt Brown, Matthew
    R. Ochs, Michael Neuling, Naveen N. Rao, Nicholas Piggin, Oliver
    O'Halloran, Pan Xinhui, Paul Mackerras, Rashmica Gupta, Russell
    Currey, Sukadev Bhattiprolu, Thadeu Lima de Souza Cascardo, Tobin C.
    Harding, Tyrel Datwyler, Uma Krishnan, Vaibhav Jain, Vipin K Parashar,
    Yang Shi"

    * tag 'powerpc-4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (214 commits)
    powerpc/64s: Power9 has no LPCR[VRMASD] field so don't set it
    powerpc/powernv: Fix TCE kill on NVLink2
    powerpc/mm/radix: Drop support for CPUs without lockless tlbie
    powerpc/book3s/mce: Move add_taint() later in virtual mode
    powerpc/sysfs: Move #ifdef CONFIG_HOTPLUG_CPU out of the function body
    powerpc/smp: Document irq enable/disable after migrating IRQs
    powerpc/mpc52xx: Don't select user-visible RTAS_PROC
    powerpc/powernv: Document cxl dependency on special case in pnv_eeh_reset()
    powerpc/eeh: Clean up and document event handling functions
    powerpc/eeh: Avoid use after free in eeh_handle_special_event()
    cxl: Mask slice error interrupts after first occurrence
    cxl: Route eeh events to all drivers in cxl_pci_error_detected()
    cxl: Force context lock during EEH flow
    powerpc/64: Allow CONFIG_RELOCATABLE if COMPILE_TEST
    powerpc/xmon: Teach xmon oops about radix vectors
    powerpc/mm/hash: Fix off-by-one in comment about kernel contexts ids
    powerpc/pseries: Enable VFIO
    powerpc/powernv: Fix iommu table size calculation hook for small tables
    powerpc/powernv: Check kzalloc() return value in pnv_pci_table_alloc
    powerpc: Add arch/powerpc/tools directory
    ...

    Linus Torvalds
     

05 May, 2017

6 commits

  • Pull char/misc driver updates from Greg KH:
    "Here is the big set of new char/misc driver drivers and features for
    4.12-rc1.

    There's lots of new drivers added this time around, new firmware
    drivers from Google, more auxdisplay drivers, extcon drivers, fpga
    drivers, and a bunch of other driver updates. Nothing major, except if
    you happen to have the hardware for these drivers, and then you will
    be happy :)

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

    * tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (136 commits)
    firmware: google memconsole: Fix return value check in platform_memconsole_init()
    firmware: Google VPD: Fix return value check in vpd_platform_init()
    goldfish_pipe: fix build warning about using too much stack.
    goldfish_pipe: An implementation of more parallel pipe
    fpga fr br: update supported version numbers
    fpga: region: release FPGA region reference in error path
    fpga altera-hps2fpga: disable/unprepare clock on error in alt_fpga_bridge_probe()
    mei: drop the TODO from samples
    firmware: Google VPD sysfs driver
    firmware: Google VPD: import lib_vpd source files
    misc: lkdtm: Add volatile to intentional NULL pointer reference
    eeprom: idt_89hpesx: Add OF device ID table
    misc: ds1682: Add OF device ID table
    misc: tsl2550: Add OF device ID table
    w1: Remove unneeded use of assert() and remove w1_log.h
    w1: Use kernel common min() implementation
    uio_mf624: Align memory regions to page size and set correct offsets
    uio_mf624: Refactor memory info initialization
    uio: Allow handling of non page-aligned memory regions
    hangcheck-timer: Fix typo in comment
    ...

    Linus Torvalds
     
  • drm/tegra: Changes for v4.12-rc1

    This contains various fixes to the host1x driver as well as a plug for a
    leak of kernel pointers to userspace.

    A fairly big addition this time around is the Video Image Composer (VIC)
    support that can be used to accelerate some 2D and image compositing
    operations.

    Furthermore the driver now supports FB modifiers, so we no longer rely
    on a custom IOCTL to set those.

    Finally this contains a few preparatory patches for Tegra186 support
    which unfortunately didn't quite make it this time, but will hopefully
    be ready for v4.13.

    * tag 'drm/tegra/for-4.12-rc1' of git://anongit.freedesktop.org/tegra/linux:
    gpu: host1x: Fix host1x driver shutdown
    gpu: host1x: Support module reset
    gpu: host1x: Sort includes alphabetically
    drm/tegra: Add VIC support
    dt-bindings: Add bindings for the Tegra VIC
    drm/tegra: Add falcon helper library
    drm/tegra: Add Tegra DRM allocation API
    drm/tegra: Add tiling FB modifiers
    drm/tegra: Don't leak kernel pointer to userspace
    drm/tegra: Protect IOMMU operations by mutex
    drm/tegra: Enable IOVA API when IOMMU support is enabled
    gpu: host1x: Add IOMMU support
    gpu: host1x: Fix potential out-of-bounds access
    iommu/iova: Fix compile error with CONFIG_IOMMU_IOVA=m
    iommu: Add dummy implementations for !IOMMU_IOVA
    MAINTAINERS: Add related headers to IOMMU section
    iommu/iova: Consolidate code for adding new node to iovad domain rbtree

    Dave Airlie
     
  • Pull USB updates from Greg KH:
    "Here is the big USB patchset for 4.12-rc1.

    Lots of good stuff here, after many many many attempts, the kernel
    finally has a working typeC interface, many thanks to Heikki and
    Guenter and others who have taken the time to get this merged. It
    wasn't an easy path for them at all.

    There's also a staging driver that uses this new api, which is why
    it's coming in through this tree.

    Along with that, there's the usual huge number of changes for gadget
    drivers, xhci, and other stuff. Johan also finally refactored pretty
    much every driver that was looking at USB endpoints to do it in a
    common way, which will help prevent any "badly-formed" devices from
    causing problems in drivers. That too wasn't a simple task.

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

    * tag 'usb-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (263 commits)
    staging: typec: Fairchild FUSB302 Type-c chip driver
    staging: typec: Type-C Port Controller Interface driver (tcpci)
    staging: typec: USB Type-C Port Manager (tcpm)
    usb: host: xhci: remove #ifdef around PM functions
    usb: musb: don't mark of_dev_auxdata as initdata
    usb: misc: legousbtower: Fix buffers on stack
    USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"
    usb: Make sure usb/phy/of gets built-in
    USB: storage: e-mail update in drivers/usb/storage/unusual_devs.h
    usb: host: xhci: print correct command ring address
    usb: host: xhci: delete sp_dma_buffers for scratchpad
    usb: host: xhci: using correct specification chapter reference for DCBAAP
    xhci: switch to pci_alloc_irq_vectors
    usb: host: xhci-plat: set resume_quirk() for R-Car controllers
    usb: host: xhci-plat: add resume_quirk()
    usb: host: xhci-plat: enable clk in resume timing
    usb: host: plat: Enable xHCI plat runtime PM
    USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
    USB: serial: constify static arrays
    usb: fix some references for /proc/bus/usb
    ...

    Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) The wireless rate info fix from Johannes Berg.

    2) When a RAW socket is in hdrincl mode, we need to make sure that the
    user provided at least a minimally sized ipv4/ipv6 header. Fix from
    Alexander Potapenko.

    3) We must emit IFLA_PHYS_PORT_NAME netlink attributes using
    nla_put_string() so that it is NULL terminated.

    4) Fix a bug in TCP fastopen handling, wherein child sockets
    erroneously inherit the fastopen_req from the parent, and later can
    end up derefencing freed memory or doing a double free. From Eric
    Dumazet.

    5) Don't clear out netdev stats at close time in tg3 driver, from
    YueHaibing.

    6) Fix refcount leak in xt_CT, from Gao Feng.

    7) In nft_set_bitmap() don't leak dummy elements, from Liping Zhang.

    8) Fix deadlock due to taking the expectation lock twice, also from
    Liping Zhang.

    9) Make xt_socket work again with ipv6, from Peter Tirsek.

    10) Don't allow IPV6 to be used with IPVS if ipv6.disable=1, from Paolo
    Abeni.

    11) Make the BPF loader more flexible wrt. changes to the bpf MAP entry
    layout. From Jesper Dangaard Brouer.

    12) Fix ethtool reported device name in aquantia driver, from Pavel
    Belous.

    13) Fix build failures due to the compile time size test not working in
    netfilter conntrack. From Geert Uytterhoeven.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (52 commits)
    cfg80211: make RATE_INFO_BW_20 the default
    ipv6: initialize route null entry in addrconf_init()
    qede: Fix possible misconfiguration of advertised autoneg value.
    qed: Fix overriding of supported autoneg value.
    qed*: Fix possible overflow for status block id field.
    rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
    netvsc: make sure napi enabled before vmbus_open
    aquantia: Fix driver name reported by ethtool
    ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
    net/sched: remove redundant null check on head
    tcp: do not inherit fastopen_req from parent
    forcedeth: remove unnecessary carrier status check
    ibmvnic: Move queue restarting in ibmvnic_tx_complete
    ibmvnic: Record SKB RX queue during poll
    ibmvnic: Continue skb processing after skb completion error
    ibmvnic: Check for driver reset first in ibmvnic_xmit
    ibmvnic: Wait for any pending scrqs entries at driver close
    ibmvnic: Clean up tx pools when closing
    ibmvnic: Whitespace correction in release_rx_pools
    ibmvnic: Delete napi's when releasing driver resources
    ...

    Linus Torvalds
     
  • Pull SCSI updates from James Bottomley:
    "This update includes the usual round of major driver updates
    (hisi_sas, ufs, fnic, cxlflash, be2iscsi, ipr, stex). There's also the
    usual amount of cosmetic and spelling stuff"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (155 commits)
    scsi: qla4xxx: fix spelling mistake: "Tempalate" -> "Template"
    scsi: stex: make S6flag static
    scsi: mac_esp: fix to pass correct device identity to free_irq()
    scsi: aacraid: pci_alloc_consistent() failures on ARM64
    scsi: ufs: make ufshcd_get_lists_status() register operation obvious
    scsi: ufs: use MASK_EE_STATUS
    scsi: mac_esp: Replace bogus memory barrier with spinlock
    scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static
    scsi: sd_zbc: Do not write lock zones for reset
    scsi: sd_zbc: Remove superfluous assignments
    scsi: sd: sd_zbc: Rename sd_zbc_setup_write_cmnd
    scsi: Improve scsi_get_sense_info_fld
    scsi: sd: Cleanup sd_done sense data handling
    scsi: sd: Improve sd_completed_bytes
    scsi: sd: Fix function descriptions
    scsi: mpt3sas: remove redundant wmb
    scsi: mpt: Move scsi_remove_host() out of mptscsih_remove_host()
    scsi: sg: reset 'res_in_use' after unlinking reserved array
    scsi: mvumi: remove code handling zero scsi_sg_count(scmd) case
    scsi: fusion: fix spelling mistake: "Persistancy" -> "Persistency"
    ...

    Linus Torvalds
     
  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v4.12 kernel cycle.

    Core changes:

    - Return NULL from gpiod_get_optional() when GPIOLIB is disabled.
    This was a much discussed change. It affects use cases where people
    write drivers that might or might not be using GPIO resources. I
    have decided that this is the lesser evil right now.

    - Make gpiod_count() behave consistently across different hardware
    descriptions.

    - Fix the syntax around open drain/open source to not infer active
    high/low semantics.

    New drivers:

    - A new single-register fixed-direction framework driver for hardware
    that have lines controlled by a single register that just work in
    one direction (out or in), including IRQ support.

    - Support the Fintek F71889A GPIO SuperIO controller.

    - Support the National NI 169445 MMIO GPIO.

    - Support for the X-Gene derivative of the DWC GPIO controller

    - Support for the Rohm BD9571MWV-M PMIC GPIO controller.

    - Refactor the Gemini GPIO driver to a generic Faraday FTGPIO driver
    and replace both the Gemini and the Moxa ART custom drivers with
    this driver.

    Driver improvements:

    - A whole slew of drivers have their spinlocks chaned to raw
    spinlocks as they provide irqchips, and thus we are progressing on
    realtime compliance.

    - Use devm_irq_alloc_descs() in a slew of drivers, getting managed
    resources.

    - Support for the embedded PWM controller inside the MVEBU driver.

    - Debounce, open source and open drain support for the Aspeed driver.

    - Misc smaller fixes like spelling and syntax and whatnot"

    * tag 'gpio-v4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (77 commits)
    gpio: f7188x: Add a missing break
    gpio: omap: return error if requested debounce time is not possible
    gpio: Add ROHM BD9571MWV-M PMIC GPIO driver
    gpio: gpio-wcove: fix GPIO IRQ status mask
    gpio: DT bindings, move tca9554 from pcf857x to pca953x
    gpio: move tca9554 from pcf857x to pca953x
    gpio: arizona: Correct check whether the pin is an input
    gpio: Add XRA1403 DTS binding documentation
    dt-bindings: add exar to vendor prefixes list
    gpio: gpio-wcove: fix irq pending status bit width
    gpio: dwapb: use dwapb_read instead of readl_relaxed
    gpio: aspeed: Add open-source and open-drain support
    gpio: aspeed: Add debounce support
    gpio: aspeed: dt: Add optional clocks property
    gpio: aspeed: dt: Fix description alignment in bindings document
    gpio: mvebu: Add limited PWM support
    gpio: Use unsigned int for interrupt numbers
    gpio: f7188x: Add F71889A GPIO support.
    gpio: core: Decouple open drain/source flag with active low/high
    gpio: arizona: Correct handling for reading input GPIOs
    ...

    Linus Torvalds
     

04 May, 2017

5 commits

  • Now that there has been a dedicated mailing list, patchwork project, and
    git repository set up for filesystem encryption, update the MAINTAINERS
    file accordingly.

    Signed-off-by: Eric Biggers
    Signed-off-by: Theodore Ts'o

    Eric Biggers
     
  • Pull rdma updates from Doug Ledford:
    "More exchaustive description of primary updates in this release:

    - Lots of driver fixes and misc fixes across the board.

    - I had to base on a net-next tree because the IPoIB Accelorator
    patches needed it.

    Unfortunately, it was known to Mellanox that there would need to be
    an IPoIB accelorator patch to the net tree (which left some
    functions turned off by an #ifdef construct to avoid warnings about
    defined but unused functions), then one to the RDMA tree, then a
    fixup that went back and re-enabled the functions in the net tree
    and enabled their use in the rdma tree

    Also, a sparse fix was sent to the net tree after I did my pull,
    and the fixup patch conflicts quite directly with that sparse fix,
    so I'm going to submit the fixup patch towards the end of the merge
    window by itself and based upon your master branch at the time.

    - Two separate rounds of hfi1 fixes, one that got dropped from last
    release because it came in just a day or two before the end of the
    merge window and then the one from this release cycle.

    Of note is that I now have a third series that just landed from
    Intel yesterday. It is not included in this pull request, but I may
    submit it by the end of the week. I'll talk to Intel about
    improving the timing of thier submissions for my workflow.

    - Changes to our idr usage in the RDMA subsystem that will tie into
    our cgroup management and also into the upcoming changes for the
    RDMA kerneluserspace API.

    - Addition of support for a netdev to be tied to an RDMA device at
    the core level

    - Addition of the VNIC driver from Intel.

    While IPoIB provides IP over InfiniBand (and *only* IP, no lower
    layer protocol headers are allowed or supported), the VNIC driver
    presents a virtual Ethernet device with support for things like
    varying Ethertypes, VLANs, priorities and other features of
    Ethernet.

    The virtual devices are centrally managed by the OPA fabric
    manager, making this (for the time being) a strictly OPA specific
    feature.

    - Improvements to the On-Demand Paging support in the RDMA subsystem.

    - Addition of three significant OPA changes.

    While we added OPA support some time ago (via the hfi1 driver), the
    RDMA subsystem has so far glossed over the areas where OPA and
    InfiniBand differ.

    With this release we are starting to add support for the OPA
    extensions into the RDMA core in the following area: Extended port
    information for OPA is now supported, extended Address Handle
    attributes for OPA are now supported, and extended SA Queries to
    get OPA specific subnet information is now supported.

    Concise summary from the tag:
    - idr usage and locking changes
    - build fix for hns
    - ipoib debug path record file fix
    - hfi1 updates
    - core RDMA netdev addition
    - Intel VNIC driver addition
    - Enhanced accelerators for IPoIB addition
    - Debug cleanups in cxgb3/4
    - Trivial cleanups from SF Markus Elfring
    - Misc rxe fixes from Mellanox
    - Misc ipoib fixes from Mellanox
    - Lots of mlx4/mlx5 changes from Mellanox
    - Misc fixes across the RDMA subsystem
    - ODP paging fixes and improvements
    - qedr updates
    - hfi1 updates
    - OPA port info patches
    - OPA AH patches
    - OPA SA Query patches"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (191 commits)
    infiniband: avoid dereferencing uninitialized dst on error path
    IB/SA: Add OPA addr header
    IB/mlx5: Add port_xmit_wait to counter registers read
    IB/ocrdma: fix out of bounds access to local buffer
    IB/mlx4: Fix incorrect order of formal and actual parameters
    IB/mlx4: Change flush logic so it adheres to the variable name
    mlx5: Fix mlx5_ib_map_mr_sg mr length
    IB/rxe: Don't clamp residual length to mtu
    IB/SA: Add support to query OPA path records
    IB/SA: Add OPA path record type
    IB/SA: Split struct sa_path_rec based on IB and ROCE specific fields
    IB/SA: Introduce path record specific types
    IB/SA: Rename ib_sa_path_rec to sa_path_rec
    IB/CM: Add braces when using sizeof
    IB/core: Define 'opa' rdma_ah_attr type
    IB/core: Define 'ib' and 'roce' rdma_ah_attr types
    IB/core: Use rdma_ah_attr accessor functions
    IB/core: Add accessor functions for rdma_ah_attr fields
    IB/PVRDMA: Rename ib_ah_attr related functions
    IB/mthca: Rename to_ib_ah_attr to to_rdma_ah_attr
    ...

    Linus Torvalds
     
  • Pull input subsystem updates from Dmitry Torokhov:

    - a big update from Mauro converting input documentation to ReST format

    - Synaptics PS/2 is now aware of SMBus companion devices, which means
    that we can now use native RMI4 protocol to handle touchpads, instead
    of relying on legacy PS/2 mode.

    - we removed support from BMA180 accelerometer from input devices as it
    is now handled properly by IIO

    - update to TSC2007 to corretcly report pressure

    - other miscellaneous driver fixes.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (152 commits)
    Input: ar1021_i2c - use BIT to check for a bit
    Input: twl4030-pwrbutton - use input_set_capability() helper
    Input: twl4030-pwrbutton - use correct device for irq request
    Input: ar1021_i2c - enable touch mode during open
    Input: add uinput documentation
    dt-bindings: input: add bindings document for ar1021_i2c driver
    dt-bindings: input: rotary-encoder: fix typo
    Input: xen-kbdfront - add module parameter for setting resolution
    ARM: pxa/raumfeld: fix compile error in rotary controller resources
    Input: xpad - do not suggest writing to Dominic
    Input: xpad - don't use literal blocks inside footnotes
    Input: xpad - note that usb/devices is now at /sys/kernel/debug/
    Input: docs - freshen up introduction
    Input: docs - split input docs into kernel- and user-facing
    Input: docs - note that MT-A protocol is obsolete
    Input: docs - update joystick documentation a bit
    Input: docs - remove disclaimer/GPL notice
    Input: fix "Game console" heading level in joystick documentation
    Input: rotary-encoder - remove references to platform data from docs
    Input: move documentation for Amiga CD32
    ...

    Linus Torvalds
     
  • Pull regulator updates from Mark Brown:
    "Quite a lot going on with the regulator API for this release, much
    more in the core than in the drivers for a change:

    - Fixes for voltage change propagation through dumb power switches.

    - A notification when regulators are enabled.

    - A new settling time property for regulators where the time taken to
    move to a new voltage is not related to the size of the change.

    - Some reorganization of the Arizona drivers in preparation for
    sharing the code with the next generation devices they've been
    integrated with.

    - Support for newer Freescale chips in the Anatop regulator.

    - A new driver for voltage controlled regulators to cope with some
    exciting ChromeOS hardware designs.

    - Support for Rohm BD9571MWV-M and TI TPS65132"

    * tag 'regulator-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (51 commits)
    regulator: Add ROHM BD9571MWV-M PMIC regulator driver
    regulator: arizona-ldo1: Factor out generic initialization
    regulator: arizona-ldo1: Make arizona_ldo1 independent of struct arizona
    regulator: arizona-ldo1: Move pdata into a separate structure
    regulator: arizona-micsupp: Factor out generic initialization
    regulator: arizona-micsupp: Make arizona_micsupp independent of struct arizona
    regulator: arizona-micsupp: Move pdata into a separate structure
    regulator: arizona: Split KConfig options for LDO1 and MICSUPP regulators
    regulator: anatop: make regulator name property required
    regulator: tps65023: Fix inverted core enable logic.
    regulator: anatop: make sure regulator name is properly defined
    regulator: core: Allow dummy regulators for supplies
    regulator: core: Only propagate voltage changes to if it can change voltages
    regulator: vctrl: Fix out of bounds array access for vctrl->vtable
    regulator: tps65132: fix platform_no_drv_owner.cocci warnings
    regulator: tps65132: Fix off-by-one for .max_register setting
    regulator: anatop: set default voltage selector for pcie
    regulator: tps65132: add device-tree binding
    regulator: tps65132: add regulator driver for TI TPS65132
    regulator: anatop: remove unneeded name field of struct anatop_regulator
    ...

    Linus Torvalds
     
  • Pull i2c updates from Wilfram Sang:
    "I2C has the following updates for you:

    - an immutable cross-subsystem branch fixing PMIC access on Intel
    Baytrail

    - bigger driver updates to the designware, meson, exynos5 drivers

    - new i2c_acpi_new_device() function to create devices from ACPI

    - struct i2c_driver has now a flag 'disable_i2c_core_irq_mapping' to
    allow custom IRQ mapping in case the default does not fit

    - mux subsystem centralized error messages in its core

    - new driver for ltc4306 i2c mux

    - usual set of small updates"

    * 'i2c/for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (44 commits)
    i2c: thunderx: Enable HWMON class probing
    i2c: rcar: clarify PM handling with more comments
    i2c: rcar: fix resume by always initializing registers before transfer
    i2c: tegra: fix spelling mistake: "contoller" -> "controller"
    i2c: exynos5: use core helper to get driver data
    i2c: exynos5: de-duplicate error logs on clock setup
    i2c: exynos5: simplify clock frequency handling
    i2c: exynos5: simplify timings calculation
    i2c: designware-baytrail: fix potential null pointer dereference on dev
    i2c: designware: Get selected speed mode sda-hold-time via ACPI
    [media] cx231xx: stop double error reporting
    i2c: core: Allow drivers to disable i2c-core irq mapping
    i2c: core: Add new i2c_acpi_new_device helper function
    i2c: core: Allow getting ACPI info by index
    i2c: img-scb: use setup_timer
    i2c: i2c-scmi: add a MS HID
    i2c: mux: ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch
    dt-bindings: i2c: mux: ltc4306: Add dt-bindings for I2C multiplexer/switch
    i2c: mux: reg: stop double error reporting
    i2c: mux: pinctrl: stop double error reporting
    ...

    Linus Torvalds