17 Jun, 2018

2 commits

  • Pull documentation fixes from Mauro Carvalho Chehab:
    "This solves a series of broken links for files under Documentation,
    and improves a script meant to detect such broken links (see
    scripts/documentation-file-ref-check).

    The changes on this series are:

    - can.rst: fix a footnote reference;

    - crypto_engine.rst: Fix two parsing warnings;

    - Fix a lot of broken references to Documentation/*;

    - improve the scripts/documentation-file-ref-check script, in order
    to help detecting/fixing broken references, preventing
    false-positives.

    After this patch series, only 33 broken references to doc files are
    detected by scripts/documentation-file-ref-check"

    * tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental: (26 commits)
    fix a series of Documentation/ broken file name references
    Documentation: rstFlatTable.py: fix a broken reference
    ABI: sysfs-devices-system-cpu: remove a broken reference
    devicetree: fix a series of wrong file references
    devicetree: fix name of pinctrl-bindings.txt
    devicetree: fix some bindings file names
    MAINTAINERS: fix location of DT npcm files
    MAINTAINERS: fix location of some display DT bindings
    kernel-parameters.txt: fix pointers to sound parameters
    bindings: nvmem/zii: Fix location of nvmem.txt
    docs: Fix more broken references
    scripts/documentation-file-ref-check: check tools/*/Documentation
    scripts/documentation-file-ref-check: get rid of false-positives
    scripts/documentation-file-ref-check: hint: dash or underline
    scripts/documentation-file-ref-check: add a fix logic for DT
    scripts/documentation-file-ref-check: accept more wildcards at filenames
    scripts/documentation-file-ref-check: fix help message
    media: max2175: fix location of driver's companion documentation
    media: v4l: fix broken video4linux docs locations
    media: dvb: point to the location of the old README.dvb-usb file
    ...

    Linus Torvalds
     
  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "There is nothing really major here, few small fixes, some cleanups and
    dead drivers removal:

    - mark omapfb drivers as orphans in MAINTAINERS file (Tomi Valkeinen)

    - add missing module license tags to omap/omapfb driver (Arnd
    Bergmann)

    - add missing GPIOLIB dependendy to omap2/omapfb driver (Arnd
    Bergmann)

    - convert savagefb, aty128fb & radeonfb drivers to use msleep & co.
    (Jia-Ju Bai)

    - allow COMPILE_TEST build for viafb driver (media part was reviewed
    by media subsystem Maintainer)

    - remove unused MERAM support from sh_mobile_lcdcfb and shmob-drm
    drivers (drm parts were acked by shmob-drm driver Maintainer)

    - remove unused auo_k190xfb drivers

    - misc cleanups (Souptick Joarder, Wolfram Sang, Markus Elfring, Andy
    Shevchenko, Colin Ian King)"

    * tag 'fbdev-v4.18' of git://github.com/bzolnier/linux: (26 commits)
    fb_omap2: add gpiolib dependency
    video/omap: add module license tags
    MAINTAINERS: make omapfb orphan
    video: fbdev: pxafb: match_string() conversion fixup
    video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"
    video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"
    video: fbdev: pxafb: Convert to use match_string() helper
    video: fbdev: via: allow COMPILE_TEST build
    video: fbdev: remove unused sh_mobile_meram driver
    drm: shmobile: remove unused MERAM support
    video: fbdev: sh_mobile_lcdcfb: remove unused MERAM support
    video: fbdev: remove unused auo_k190xfb drivers
    video: omap: Improve a size determination in omapfb_do_probe()
    video: sm501fb: Improve a size determination in sm501fb_probe()
    video: fbdev-MMP: Improve a size determination in path_init()
    video: fbdev-MMP: Delete an error message for a failed memory allocation in two functions
    video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_probe()
    video: sh_mobile_lcdcfb: Delete an error message for a failed memory allocation in two functions
    video: sh_mobile_meram: Delete an error message for a failed memory allocation in sh_mobile_meram_probe()
    video: fbdev: sh_mobile_meram: Drop SUPERH platform dependency
    ...

    Linus Torvalds
     

16 Jun, 2018

8 commits

  • Pull uml updates from Richard Weinberger:
    "Minor updates for UML:

    - fixes for our new vector network driver by Anton

    - initcall cleanup by Alexander

    - We have a new mailinglist, sourceforge.net sucks"

    * 'for-linus-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
    um: Fix raw interface options
    um: Fix initialization of vector queues
    um: remove uml initcalls
    um: Update mailing list address

    Linus Torvalds
     
  • …nux/kernel/git/palmer/riscv-linux

    Pull RISC-V updates from Palmer Dabbelt:
    "This contains some small RISC-V updates I'd like to target for 4.18.

    They are all fairly small this time. Here's a short summary, there's
    more info in the commits/merges:

    - a fix to __clear_user to respect the passed arguments.

    - enough support for the perf subsystem to work with RISC-V's ISA
    defined performance counters.

    - support for sparse and cleanups suggested by it.

    - support for R_RISCV_32 (a relocation, not the 32-bit ISA).

    - some MAINTAINERS cleanups.

    - the addition of CONFIG_HVC_RISCV_SBI to our defconfig, as it's
    always present.

    I've given these a simple build+boot test"

    * tag 'riscv-for-linus-4.18-merge_window' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux:
    RISC-V: Add CONFIG_HVC_RISCV_SBI=y to defconfig
    RISC-V: Handle R_RISCV_32 in modules
    riscv/ftrace: Export _mcount when DYNAMIC_FTRACE isn't set
    riscv: add riscv-specific predefines to CHECKFLAGS
    riscv: split the declaration of __copy_user
    riscv: no __user for probe_kernel_address()
    riscv: use NULL instead of a plain 0
    perf: riscv: Add Document for Future Porting Guide
    perf: riscv: preliminary RISC-V support
    MAINTAINERS: Update Albert's email, he's back at Berkeley
    MAINTAINERS: Add myself as a maintainer for SiFive's drivers
    riscv: Fix the bug in memory access fixup code

    Linus Torvalds
     
  • As files got renamed, their references broke.

    Manually fix a series of broken refs at the DT bindings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The specified locations are not right. Fix the wildcard logic
    to point to the correct directories.

    Without that, get-maintainer won't get things right:

    $ ./scripts/get_maintainer.pl --no-git-fallback --no-r --no-n --no-l -f Documentation/devicetree/bindings/arm/cpu-enable-method/nuvoton,npcm750-smp
    robh+dt@kernel.org (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
    mark.rutland@arm.com (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)

    After the patch, it will properly point to NPCM arch maintainers:
    $ ./scripts/get_maintainer.pl --no-git-fallback --no-r --no-n --no-l -f Documentation/devicetree/bindings/arm/cpu-enable-method/nuvoton,npcm750-smp
    avifishman70@gmail.com (supporter:ARM/NUVOTON NPCM ARCHITECTURE)
    tmaimon77@gmail.com (supporter:ARM/NUVOTON NPCM ARCHITECTURE)
    robh+dt@kernel.org (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
    mark.rutland@arm.com (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)

    Cc: Avi Fishman
    Cc: Tomer Maimon
    Cc: Patrick Venture
    Cc: Nancy Yuen
    Cc: Brendan Higgins
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • Those files got a manufacturer's name prepended and were moved around.
    Adjust their references accordingly.

    Also, due those movements, Documentation/devicetree/bindings/video
    doesn't exist anymore.

    Cc: David Airlie
    Cc: David Lechner
    Cc: Peter Senna Tschudin
    Cc: Martin Donnelly
    Cc: Martyn Welch
    Cc: Stefan Agner
    Cc: Alison Wang
    Cc: Eric Anholt
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • As we move stuff around, some doc references are broken. Fix some of
    them via this script:
    ./scripts/documentation-file-ref-check --fix

    Manually checked that produced results are valid.

    Acked-by: Matthias Brugger
    Acked-by: Takashi Iwai
    Acked-by: Jeff Kirsher
    Acked-by: Guenter Roeck
    Acked-by: Miguel Ojeda
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • As we move stuff around, some doc references are broken. Fix some of
    them via this script:
    ./scripts/documentation-file-ref-check --fix

    Manually checked if the produced result is valid, removing a few
    false-positives.

    Acked-by: Takashi Iwai
    Acked-by: Masami Hiramatsu
    Acked-by: Stephen Boyd
    Acked-by: Charles Keepax
    Acked-by: Mathieu Poirier
    Reviewed-by: Coly Li
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The script:
    ./scripts/documentation-file-ref-check --fix

    Gives multiple hints for broken references on some files.
    Manually use the one that applies for some files.

    Acked-by: Steven Rostedt (VMware)
    Acked-by: James Morris
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

14 Jun, 2018

1 commit

  • Pull i2c updates from Wolfram Sang:

    - mainly feature additions to drivers (stm32f7, qup, xlp9xx, mlxcpld, ...)

    - conversion to use the i2c_8bit_addr_from_msg macro consistently

    - move includes to platform_data

    - core updates to allow the (still in review) I3C subsystem to connect

    - and the regular share of smaller driver updates

    * 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (68 commits)
    i2c: qup: fix building without CONFIG_ACPI
    i2c: tegra: Remove suspend-resume
    i2c: imx-lpi2c: Switch to SPDX identifier
    i2c: mxs: Switch to SPDX identifier
    i2c: busses: make use of i2c_8bit_addr_from_msg
    i2c: algos: make use of i2c_8bit_addr_from_msg
    i2c: rcar: document R8A77980 bindings
    i2c: qup: Add command-line parameter to override SCL frequency
    i2c: qup: Correct duty cycle for FM and FM+
    i2c: qup: Add support for Fast Mode Plus
    i2c: qup: add probe path for Centriq ACPI devices
    i2c: robotfuzz-osif: drop pointless test
    i2c: robotfuzz-osif: remove pointless local variable
    i2c: rk3x: Don't print visible virtual mapping MMIO address
    i2c: opal: don't check number of messages in the driver
    i2c: ibm_iic: don't check number of messages in the driver
    i2c: imx: Switch to SPDX identifier
    i2c: mux: pca954x: merge calls to of_match_device and of_device_get_match_data
    i2c: mux: demux-pinctrl: use proper parent device for demux adapter
    i2c: mux: improve error message for failed symlink
    ...

    Linus Torvalds
     

13 Jun, 2018

2 commits

  • Pull more PCI updates from Bjorn Helgaas:

    - squash AER directory into drivers/pci/pcie/aer.c (Bjorn Helgaas)

    - collect all native hardware drivers under drivers/pci/controller/
    (Shawn Lin)

    * tag 'pci-v4.18-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    PCI/AER: Use "PCI Express" consistently in Kconfig text
    PCI/AER: Hoist aerdrv.c, aer_inject.c up to drivers/pci/pcie/
    PCI/AER: Squash Kconfig.debug into Kconfig
    PCI/AER: Move private AER things to aerdrv.c
    PCI/AER: Move aer_irq() declaration to portdrv.h
    PCI/AER: Move pcie_aer_get_firmware_first() to portdrv.h
    PCI/AER: Remove duplicate pcie_port_bus_type declaration
    PCI/AER: Squash ecrc.c into aerdrv.c
    PCI/AER: Squash aerdrv_acpi.c into aerdrv.c
    PCI/AER: Squash aerdrv_errprint.c into aerdrv.c
    PCI/AER: Squash aerdrv_core.c into aerdrv.c
    PCI/AER: Reorder code to group probe/remove stuff together
    PCI/AER: Remove forward declarations
    PCI: Collect all native drivers under drivers/pci/controller/

    Linus Torvalds
     
  • Pull MIPS updates from James Hogan:
    "These are the main MIPS changes for 4.18.

    Rough overview:

    - MAINTAINERS: Add Paul Burton as MIPS co-maintainer

    - Misc: Generic compiler intrinsics, Y2038 improvements, Perf+MT fixes

    - Platform support: Netgear WNR1000 V3, Microsemi Ocelot integrated
    switch, Ingenic watchdog cleanups

    More detailed summary:

    Maintainers:

    - Add Paul Burton as MIPS co-maintainer, as I soon won't have access
    to much MIPS hardware, nor enough time to properly maintain MIPS on
    my own.

    Miscellaneous:

    - Use generic GCC library routines from lib/
    - Add notrace to generic ucmpdi2 implementation
    - Rename compiler intrinsic selects to GENERIC_LIB_*
    - vmlinuz: Use generic ashldi3

    - y2038: Convert update/read_persistent_clock() to *_clock64()
    - sni: Remove read_persistent_clock()

    - perf: Fix perf with MT counting other threads
    - Probe for per-TC perf counters in cpu-probe.c
    - Use correct VPE ID for VPE tracing

    Minor cleanups:

    - Avoid unneeded built-in.a in DTS dirs

    - sc-debugfs: Re-use kstrtobool_from_user

    - memset.S: Reinstate delay slot indentation

    - VPE: Fix spelling "uneeded" -> "Unneeded"

    Platform support:

    BCM47xx:

    - Add support for Netgear WNR1000 V3

    - firmware: Support small NVRAM partitions

    - Use __initdata for LEDs platform data

    Ingenic:

    - Watchdog driver & platform code improvements:
    - Disable clock after stopping counter
    - Use devm_* functions
    - Drop module remove function
    - Move platform reset code to restart handler in driver
    - JZ4740: Convert watchdog instantiation to DT
    - JZ4780: Fix watchdog DT node
    - qi_lb60_defconfig: Enable watchdog driver

    Microsemi:

    - Ocelot: Add support for integrated switch
    - pcb123: Connect phys to ports"

    * tag 'mips_4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (30 commits)
    MAINTAINERS: Add Paul Burton as MIPS co-maintainer
    MIPS: ptrace: Make FPU context layout comments match reality
    MIPS: memset.S: Reinstate delay slot indentation
    MIPS: perf: Fix perf with MT counting other threads
    MIPS: perf: Use correct VPE ID when setting up VPE tracing
    MIPS: perf: More robustly probe for the presence of per-tc counters
    MIPS: Probe for MIPS MT perf counters per TC
    MIPS: mscc: Connect phys to ports on ocelot_pcb123
    MIPS: mscc: Add switch to ocelot
    MIPS: JZ4740: Drop old platform reset code
    MIPS: qi_lb60: Enable the jz4740-wdt driver
    MIPS: JZ4780: dts: Fix watchdog node
    MIPS: JZ4740: dts: Add bindings for the jz4740-wdt driver
    watchdog: JZ4740: Drop module remove function
    watchdog: JZ4740: Register a restart handler
    watchdog: JZ4740: Use devm_* functions
    watchdog: JZ4740: Disable clock after stopping counter
    MIPS: VPE: Fix spelling mistake: "uneeded" -> "unneeded"
    MIPS: Re-use kstrtobool_from_user()
    MIPS: Convert update_persistent_clock() to update_persistent_clock64()
    ...

    Linus Torvalds
     

12 Jun, 2018

2 commits

  • Pull ARM SoC late updates from Olof Johansson:
    "This is a branch with a few merge requests that either came in late,
    or took a while longer for us to review and merge than usual and thus
    cut it a bit close to the merge window. We stage them in a separate
    branch and if things look good, we still send them up -- and that's
    the case here.

    This is mostly DT additions for Renesas platforms, adding IP block
    descriptions for existing and new SoCs.

    There are also some driver updates for Qualcomm platforms for SMEM/QMI
    and GENI, which is their generalized serial protocol interface"

    * tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (186 commits)
    soc: qcom: smem: introduce qcom_smem_virt_to_phys()
    soc: qcom: qmi: fix a buffer sizing bug
    MAINTAINERS: Update pattern for qcom_scm
    soc: Unconditionally include qcom Makefile
    soc: qcom: smem: check sooner in qcom_smem_set_global_partition()
    soc: qcom: smem: fix qcom_smem_set_global_partition()
    soc: qcom: smem: fix off-by-one error in qcom_smem_alloc_private()
    soc: qcom: smem: byte swap values properly
    soc: qcom: smem: return proper type for cached entry functions
    soc: qcom: smem: fix first cache entry calculation
    soc: qcom: cmd-db: Make endian-agnostic
    drivers: qcom: add command DB driver
    arm64: dts: renesas: salvator-common: Add ADV7482 support
    ARM: dts: r8a7740: Add CEU1
    ARM: dts: r8a7740: Add CEU0
    arm64: dts: renesas: salvator-common: enable VIN
    arm64: dts: renesas: r8a77970: add VIN and CSI-2 nodes
    arm64: dts: renesas: r8a77965: add VIN and CSI-2 nodes
    arm64: dts: renesas: r8a7796: add VIN and CSI-2 nodes
    arm64: dts: renesas: r8a7795-es1: add CSI-2 node
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "Here are the main updates for SoC support (besides DT additions) for
    ARM 32- and 64-bit platforms. The branch also contains defconfig
    updates to turn on drivers and options as needed on the various
    platforms.

    The largest parts of the delta are from cleanups moving platform data
    and board file setup of TI platforms to ti-sysc bus drivers. There are
    also some sweeping changes of eeprom and nand setup on Davinci, i.MX
    and other platforms.

    Samsung is removing support for Exynos5440, which was an oddball SoC
    that hasn't been seen much use in designs.

    Renesas is adding support for new SoCs (R-Car E3, RZ/G1C and RZ/N1D).

    Linus Walleij is also removing support for ux500 (Sony Ericsson)
    U8540/9540 SoCs that never made it to significant mass production and
    products"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (133 commits)
    MAINTAINERS: add NXP linux team maillist as i.MX reviewer
    ARM: stm32: Don't select DMA unconditionally on STM32MP157C
    arm64: defconfig: Enable PCIe on msm8996 and db820c
    ARM: pxa3xx: enable external wakeup pins
    ARM: pxa: stargate2: use device properties for at24 eeprom
    arm64: defconfig: Enable HISILICON_LPC
    arm64: defconfig: enable drivers for Poplar support
    arm64: defconfig: Enable UFS on msm8996
    ARM: berlin: switch to SPDX license identifier
    arm: berlin: remove non-necessary flush_cache_all()
    ARM: berlin: extend BG2CD Kconfig entry
    OMAP: CLK: CLKSRC: Add suspend resume hooks
    ARM: AM43XX: Add functions to save/restore am43xx control registers
    ASoC: ams_delta: use GPIO lookup table
    ARM: OMAP1: ams-delta: add GPIO lookup tables
    bus: ti-sysc: Fix optional clocks array access
    ARM: OMAP2+: Make sure LOGICRETSTATE bits are not cleared
    ARM: OMAP2+: prm44xx: Inroduce cpu_pm notifiers for context save/restore
    ARM: OMAP2+: prm44xx: Introduce context save/restore for am43 PRCM IO
    ARM: OMAP2+: powerdomain: Introduce cpu_pm notifiers for context save/restore
    ...

    Linus Torvalds
     

11 Jun, 2018

6 commits

  • Pull backlight updates from Lee Jones:
    "Core Frameworks
    - Provide helpers to enable/disable backlight
    - Provide standard and devres versions OF find helpers

    New Drivers:
    - Add support for the Zodiac Inflight Innovations RAVE Supervisory
    Processor

    New Functionality:
    - Allow pwm-on/pwm-off delay to be specified via DT

    Bug Fixes:
    - Fix ordering of the power {en,dis}able and PWM {en,dis}able
    signals
    - Fix Device Tree node look-up"

    * tag 'backlight-next-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
    backlight: as3711_bl: Fix Device Tree node leaks
    backlight: tps65217_bl: Fix Device Tree node lookup
    backlight: max8925_bl: Fix Device Tree node lookup
    backlight: as3711_bl: Fix Device Tree node lookup
    MAINTAINERS: Add dri-devel for backlight subsystem patches
    backlight: Nuke BL_CORE_DRIVER1
    staging: fbtft: Stop using BL_CORE_DRIVER1
    backlight: pandora: Stop using BL_CORE_DRIVER1
    backlight: generic-bl: Remove DRIVER1 state
    backlight: Nuke unused backlight.props.state states
    backlight: otm3225a: Add support for ORISE OTM3225A LCD SoC
    backlight: pwm_bl: Don't use GPIOF_* with gpiod_get_direction
    pwm-backlight: Add support for PWM delays proprieties.
    dt-bindings: pwm-backlight: Add PWM delay proprieties.
    pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.
    dt-bindings: backlight: Add binding for RAVE SP backlight driver
    backlight: Add RAVE SP backlight driver

    Linus Torvalds
     
  • Pull MFD updates from Lee Jones:
    "New Device Support:
    - Add support for AXP813 ADC to AXP20x
    - Add support for PM8005, PM8998 and PMI8998

    New Functionality:
    - Add support for Battery Power Supply to AXP813
    - Add support for SYSCON to SPARD SC27XX SPI
    - Add support for RTC to ChromeOS Embedded-Controller

    Fix-ups:
    - Remove unused code; exynos{4,5}-pmu, cros_ec, cros_ec_acpi_gpe
    - Remove duplicate error messages (-ENOMEM, etc); htc-i2cpld,
    janz-cmodio, max8997, rc5t583, sm501, smsc-ece1099, abx500-core,
    si476x-i2c, ti_am335x_tscadc, tps65090, tps6586x, tps65910,
    tps80031, twl6030-irq, viperboard
    - Succinctly use ptr to struct in sizeof(); rc5t583, abx500-core,
    sm501, smsc-ece1099
    - Simplify syntax for NULL ptr checking; abx500-core, sm501
    - No not unnecessarily initialise variables; tps65910, tps65910
    - Reorganise and simplify driver data; omap-usb-tll
    - Move to SPDX license statement; tps68470
    - Probe ADCs via DT; axp20x
    - Use new GPIOD API; arizona-core
    - Constify things; axp20x
    - Reduce code-size (use MACROS, etc); axp20x, omap-usb-host
    - Add DT support/docs; motorola-cpcap
    - Remove VLAs; rave-sp
    - Use devm_* managed resources; cros_ec
    - Interrogate HW for firmware version; rave-sp
    - Provide ACPI support for ChromeOS Embedded-Controller

    Bug Fixes:
    - Reorder ordered (enum) device list; tps65218
    - Only accept valid data from the offset; rave-sp
    - Refrain from copying junk from failed SPI read; cros_ec_dev
    - Fix potential memory leaks; pcf50633-core
    - Fix clock initialisation; twl-core
    - Fix build-issue; tps65911
    - Fix off-by-one error; tps65911
    - Fix code ordering issues; intel-lpss
    - Fix COMPILE_TEST related issues; pwm-stm32
    - Fix broken MMC card detection; asic3
    - Fix clocking related issues; intel-lpss-pci"

    * tag 'mfd-next-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (84 commits)
    mfd: cros_ec: Remove unused __remove function
    mfd: wm97xx-core: Platform data can be NULL
    mfd: cros_ec_dev: Don't advertise junk features on failure
    mfd: cros_ec: Use devm_kzalloc for private data
    mfd: intel-lpss: Fix Intel Cannon Lake LPSS I2C input clock
    mfd: asic3: Fix broken MMC card detection
    mfd: timberdale: Fix spelling mistake "Uknown" -> "Unknown"
    mfd: omap-usb-host: Use match_string() helper
    mfd: stm32-timers: Fix pwm-stm32 linker issue with COMPILE_TEST
    pwm: stm32: Initialize raw local variables
    mfd: arizona: Update DT doc to support more standard Reset binding
    dt-bindings: mfd: Add bindings for DA9063L
    mfd: intel-lpss: Correct names of RESETS register bits
    mfd: qcom-spmi-pmic: Add support for pm8005, pm8998 and pmi8998
    mfd: intel-lpss: Program REMAP register in PIO mode
    mfd: cros_ec_i2c: Moving the system sleep pm ops to late
    mfd: cros_ec_i2c: Add ACPI module device table
    mfd: cros_ec_dev: Register shutdown function for debugfs
    mfd: cros_ec_dev: Register cros-ec-rtc driver as a subdevice
    mfd: cros_ec: Don't try to grab log when suspended
    ...

    Linus Torvalds
     
  • I soon won't have access to much MIPS hardware, nor enough time to
    properly maintain MIPS on my own, so add Paul Burton as a co-maintainer.

    Also add a link to a new shared git repository on kernel.org for
    linux-next branches and pull request tags.

    Signed-off-by: James Hogan
    Acked-by: Paul Burton
    Acked-by: Florian Fainelli
    Cc: Ralf Baechle
    Cc: Matt Redfearn
    Cc: Maciej W. Rozycki
    Cc: Huacai Chen
    Cc: Aaro Koskinen
    Cc: John Crispin
    Cc: Steven J. Hill
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/19473/

    James Hogan
     
  • We have a new mailing list, so update the MAINTAINERS file.

    Signed-off-by: Richard Weinberger

    Richard Weinberger
     
  • Pull SCSI updates from James Bottomley:
    "This is mostly updates to the usual drivers: ufs, qedf, mpt3sas, lpfc,
    xfcp, hisi_sas, cxlflash, qla2xxx.

    In the absence of Nic, we're also taking target updates which are
    mostly minor except for the tcmu refactor.

    The only real core change to worry about is the removal of high page
    bouncing (in sas, storvsc and iscsi). This has been well tested and no
    problems have shown up so far"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (268 commits)
    scsi: lpfc: update driver version to 12.0.0.4
    scsi: lpfc: Fix port initialization failure.
    scsi: lpfc: Fix 16gb hbas failing cq create.
    scsi: lpfc: Fix crash in blk_mq layer when executing modprobe -r lpfc
    scsi: lpfc: correct oversubscription of nvme io requests for an adapter
    scsi: lpfc: Fix MDS diagnostics failure (Rx < Tx)
    scsi: hisi_sas: Mark PHY as in reset for nexus reset
    scsi: hisi_sas: Fix return value when get_free_slot() failed
    scsi: hisi_sas: Terminate STP reject quickly for v2 hw
    scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command
    scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot
    scsi: hisi_sas: Try wait commands before before controller reset
    scsi: hisi_sas: Init disks after controller reset
    scsi: hisi_sas: Create a scsi_host_template per HW module
    scsi: hisi_sas: Reset disks when discovered
    scsi: hisi_sas: Add LED feature for v3 hw
    scsi: hisi_sas: Change common allocation mode of device id
    scsi: hisi_sas: change slot index allocation mode
    scsi: hisi_sas: Introduce hisi_sas_phy_set_linkrate()
    scsi: hisi_sas: fix a typo in hisi_sas_task_prep()
    ...

    Linus Torvalds
     
  • Pull restartable sequence support from Thomas Gleixner:
    "The restartable sequences syscall (finally):

    After a lot of back and forth discussion and massive delays caused by
    the speculative distraction of maintainers, the core set of
    restartable sequences has finally reached a consensus.

    It comes with the basic non disputed core implementation along with
    support for arm, powerpc and x86 and a full set of selftests

    It was exposed to linux-next earlier this week, so it does not fully
    comply with the merge window requirements, but there is really no
    point to drag it out for yet another cycle"

    * 'core-rseq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    rseq/selftests: Provide Makefile, scripts, gitignore
    rseq/selftests: Provide parametrized tests
    rseq/selftests: Provide basic percpu ops test
    rseq/selftests: Provide basic test
    rseq/selftests: Provide rseq library
    selftests/lib.mk: Introduce OVERRIDE_TARGETS
    powerpc: Wire up restartable sequences system call
    powerpc: Add syscall detection for restartable sequences
    powerpc: Add support for restartable sequences
    x86: Wire up restartable sequence system call
    x86: Add support for restartable sequences
    arm: Wire up restartable sequences system call
    arm: Add syscall detection for restartable sequences
    arm: Add restartable sequences support
    rseq: Introduce restartable sequences system call
    uapi/headers: Provide types_32_64.h

    Linus Torvalds
     

10 Jun, 2018

3 commits

  • Pull power supply and reset updates from Sebastian Reichel:
    - bq27xxx: Add BQ27426 support
    - ab8500: Drop AB8540/9540 support
    - Introduced new usb_type property
    - Properly document the power-supply ABI
    - misc. cleanups and fixes

    * tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
    MAINTAINERS: add entry for LEGO MINDSTORMS EV3
    power: supply: ab8500_charger: fix spelling mistake: "faile" -> "failed"
    power: supply: axp288_fuel_gauge: Remove polling from the driver
    power: supply: axp288_fuelguage: Do not bind when the fg function is not used
    power: supply: axp288_charger: Do not bind when the charge function is not used
    power: supply: axp288_charger: Support 3500 and 4000 mA input current limit
    power: supply: s3c-adc-battery: fix driver data initialization
    power: supply: charger-manager: Verify polling interval only when polling requested
    power: supply: sysfs: Use enum to specify property
    power: supply: ab8500: Drop AB8540/9540 support
    power: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge"
    power: supply: simplify getting .drvdata
    power: supply: bq27xxx: Add support for BQ27426
    gpio-poweroff: Use gpiod_set_value_cansleep

    Linus Torvalds
     
  • Pull clk updates from Stephen Boyd:
    "This time we have a good set of changes to the core framework that do
    some general cleanups, but nothing too major. The majority of the diff
    goes to two SoCs, Actions Semi and Qualcomm. A brand new driver is
    introduced for Actions Semi so it takes up some lines to add all the
    different types, and the Qualcomm diff is there because we add support
    for two SoCs and it's quite a bit of data.

    Otherwise the big driver updates are on TI Davinci and Amlogic
    platforms. And then the long tail of driver updates for various fixes
    and stuff follows after that.

    Core:
    - debugfs cleanups removing error checking and an unused provider API
    - Removal of a clk init typedef that isn't used
    - Usage of match_string() to simplify parent string name matching
    - OF clk helpers moved to their own file (linux/of_clk.h)
    - Make clk warnings more readable across kernel versions

    New Drivers:
    - Qualcomm SDM845 GCC and Video clk controllers
    - Qualcomm MSM8998 GCC
    - Actions Semi S900 SoC support
    - Nuvoton npcm750 microcontroller clks
    - Amlogic axg AO clock controller

    Removed Drivers:
    - Deprecated Rockchip clk-gate driver

    Updates:
    - debugfs functions stopped checking return values
    - Support for the MSIOF module clocks on Rensas R-Car M3-N
    - Support for the new Rensas RZ/G1C and R-Car E3 SoCs
    - Qualcomm GDSC, RCG, and PLL updates for clk changes in new SoCs
    - Berlin and Amlogic SPDX tagging
    - Usage of of_clk_get_parent_count() in more places
    - Proper implementation of the CDEV1/2 clocks on Tegra20
    - Allwinner H6 PRCM clock support and R40 EMAC support
    - Add critical flag to meson8b's fdiv2 as temporary fixup for ethernet
    - Round closest support for meson's mpll driver
    - Support for meson8b nand clocks and gxbb video decoder clocks
    - Mediatek mali clks
    - STM32MP1 fixes
    - Uniphier LD11/LD20 stream demux system clock"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (134 commits)
    clk: qcom: Export clk_fabia_pll_configure()
    clk: bcm: Update and add Stingray clock entries
    dt-bindings: clk: Update Stingray binding doc
    clk-si544: Properly round requested frequency to nearest match
    clk: ingenic: jz4770: Add 150us delay after enabling VPU clock
    clk: ingenic: jz4770: Enable power of AHB1 bus after ungating VPU clock
    clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle
    clk: ingenic: jz4770: Change OTG from custom to standard gated clock
    clk: ingenic: Support specifying "wait for clock stable" delay
    clk: ingenic: Add support for clocks whose gate bit is inverted
    clk: use match_string() helper
    clk: bcm2835: use match_string() helper
    clk: Return void from debug_init op
    clk: remove clk_debugfs_add_file()
    clk: tegra: no need to check return value of debugfs_create functions
    clk: davinci: no need to check return value of debugfs_create functions
    clk: bcm2835: no need to check return value of debugfs_create functions
    clk: no need to check return value of debugfs_create functions
    clk: imx6: add EPIT clock support
    clk: mvebu: use correct bit for 98DX3236 NAND
    ...

    Linus Torvalds
     
  • Pull staging/IIO updates from Greg KH:
    "Here is the big staging and IIO driver update for 4.18-rc1.

    It was delayed as I wanted to make sure the final driver deletions did
    not cause any major merge issues, and all now looks good.

    There are a lot of patches here, just over 1000. The diffstat summary
    shows the major changes here:

    1007 files changed, 16828 insertions(+), 227770 deletions(-)

    Because of this, we might be close to shrinking the overall kernel
    source code size for two releases in a row.

    There was loads of work in this release cycle, primarily:

    - tons of ks7010 driver cleanups

    - lots of mt7621 driver fixes and cleanups

    - most driver cleanups

    - wilc1000 fixes and cleanups

    - lots and lots of IIO driver cleanups and new additions

    - debugfs cleanups for all staging drivers

    - lots of other staging driver cleanups and fixes, the shortlog has
    the full details.

    but the big user-visable things here are the removal of 3 chunks of
    code:

    - ncpfs and ipx were removed on schedule, no one has cared about this
    code since it moved to staging last year, and if it needs to come
    back, it can be reverted.

    - lustre file system is removed.

    I've ranted at the lustre developers about once a year for the past
    5 years, with no real forward progress at all to clean things up
    and get the code into the "real" part of the kernel.

    Given that the lustre developers continue to work on an external
    tree and try to port those changes to the in-kernel tree every once
    in a while, this whole thing really really is not working out at
    all. So I'm deleting it so that the developers can spend the time
    working in their out-of-tree location and get things cleaned up
    properly to get merged into the tree correctly at a later date.

    Because of these file removals, you will have merge issues on some of
    these files (2 in the ipx code, 1 in the ncpfs code, and 1 in the
    atomisp driver). Just delete those files, it's a simple merge :)

    All of this has been in linux-next for a while with no reported
    problems"

    * tag 'staging-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1011 commits)
    staging: ipx: delete it from the tree
    ncpfs: remove uapi .h files
    ncpfs: remove Documentation
    ncpfs: remove compat functionality
    staging: ncpfs: delete it
    staging: lustre: delete the filesystem from the tree.
    staging: vc04_services: no need to save the log debufs dentries
    staging: vc04_services: vchiq_debugfs_log_entry can be a void *
    staging: vc04_services: remove struct vchiq_debugfs_info
    staging: vc04_services: move client dbg directory into static variable
    staging: vc04_services: remove odd vchiq_debugfs_top() wrapper
    staging: vc04_services: no need to check debugfs return values
    staging: mt7621-gpio: reorder includes alphabetically
    staging: mt7621-gpio: change gc_map to don't use pointers
    staging: mt7621-gpio: use GPIOF_DIR_OUT and GPIOF_DIR_IN macros instead of custom values
    staging: mt7621-gpio: change 'to_mediatek_gpio' to make just a one line return
    staging: mt7621-gpio: dt-bindings: update documentation for #interrupt-cells property
    staging: mt7621-gpio: update #interrupt-cells for the gpio node
    staging: mt7621-gpio: dt-bindings: complete documentation for the gpio
    staging: mt7621-dts: add missing properties to gpio node
    ...

    Linus Torvalds
     

09 Jun, 2018

4 commits

  • Pull regulator updates from Mark Brown:
    "Quite a lot of core work this time around, though not 100% successful.

    We gained support for runtime mode changes thanks to David Collins and
    improved support for write only regulators (ones where we can't read
    back the configuration) from Douglas Anderson.

    There's been quite a bit of work from Linus Walleij on converting from
    specfying GPIOs by numbers to descriptors. Sadly the testing turned
    out to be less good than we had hoped and so a lot of this had to be
    reverted.

    We also have the start of updates to use coupled regulators from
    Maciej Purski, unfortunately there are further problems there so the
    last couple of patches have been reverted.

    We also have new drivers for BD71837 and SY8106A devices, SAW
    regulators on Qualcomm SPMI and dropped support for some preproduction
    chips that never made it to market from the AB8500 driver"

    * tag 'regulator-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (57 commits)
    regulator: gpio: Revert
    ARM: pxa, regulator: fix building ezx e680
    regulator: Revert coupled regulator support again
    regulator: wm8994: Fix shared GPIOs
    regulator: max77686: Fix shared GPIOs
    regulator: bd71837: BD71837 PMIC regulator driver
    regulator: bd71837: Devicetree bindings for BD71837 regulators
    regulator: gpio: Get enable GPIO using GPIO descriptor
    regulator: fixed: Convert to use GPIO descriptor only
    regulator: s2mps11: Fix boot on Odroid XU3
    dt-bindings: qcom_spmi: Document SAW support
    regulator: qcom_spmi: Add support for SAW
    regulator: tps65090: Pass descriptor instead of GPIO number
    regulator: s5m8767: Pass descriptor instead of GPIO number
    regulator: pfuze100: Delete reference to ena_gpio
    regulator: max8952: Pass descriptor instead of GPIO number
    regulator: lp8788-ldo: Pass descriptor instead of GPIO number
    regulator: lm363x: Pass descriptor instead of GPIO number
    regulator: max8973: Pass descriptor instead of GPIO number
    regulator: mc13xxx-core: Switch to SPDX identifier
    ...

    Linus Torvalds
     
  • Pull dmaengine updates from Vinod Koul:

    - updates to sprd, bam_dma, stm drivers

    - remove VLAs in dmatest

    - move TI drivers to their own subdir

    - switch to SPDX tags for ima/mxs dma drivers

    - simplify getting .drvdata on bunch of drivers by Wolfram Sang

    * tag 'dmaengine-4.18-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (32 commits)
    dmaengine: sprd: Add Spreadtrum DMA configuration
    dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()
    dmaengine: imx-dma: Switch to SPDX identifier
    dmaengine: mxs-dma: Switch to SPDX identifier
    dmaengine: imx-sdma: Switch to SPDX identifier
    dmaengine: usb-dmac: Document R8A7799{0,5} bindings
    dmaengine: qcom: bam_dma: fix some doc warnings.
    dmaengine: qcom: bam_dma: fix invalid assignment warning
    dmaengine: sprd: fix an NULL vs IS_ERR() bug
    dmaengine: sprd: Use devm_ioremap_resource() to map memory
    dmaengine: sprd: Fix potential NULL dereference in sprd_dma_probe()
    dmaengine: pl330: flush before wait, and add dev burst support.
    dmaengine: axi-dmac: Request IRQ with IRQF_SHARED
    dmaengine: stm32-mdma: fix spelling mistake: "avalaible" -> "available"
    dmaengine: rcar-dmac: Document R-Car D3 bindings
    dmaengine: sprd: Move DMA request mode and interrupt type into head file
    dmaengine: sprd: Define the DMA data width type
    dmaengine: sprd: Define the DMA transfer step type
    dmaengine: ti: New directory for Texas Instruments DMA drivers
    dmaengine: shdmac: Change platform check to CONFIG_ARCH_RENESAS
    ...

    Linus Torvalds
     
  • Pull MTD updates from Boris Brezillon:
    "Core changes:
    - Add a sysfs attribute to expose available OOB size

    Driver changes:
    - Remove HAS_DMA dependency on various drivers
    - Use dev_get_drvdata() instead of platform_get_drvdata() in docg3
    - Replace msleep by usleep_range() in the dataflash driver
    - Avoid VLA usage in nftl layers
    - Remove useless .owner assignment in pismo
    - Fix various issues in the CFI driver
    - Improve TRX partition handling expose a DT compat for this part
    parser
    - Clarify OFFSET_CONTINUOUS meaning

    NAND core changes:
    - Add Miquel as a NAND maintainer
    - Add access mode to the nand_page_io_req struct
    - Fix kernel-doc in rawnand.h
    - Support bit-wise majority to recover from corrupted ONFI parameter
    pages
    - Stop checking FAIL bit after a SET_FEATURES, as documented in the
    ONFI spec

    Raw NAND Driver changes:
    - Fix and cleanup the error path of many NAND controller drivers
    - GPMI:
    + Cleanup/simplification of a few aspects in the driver
    + Take ECC setup specified in the DT into account
    - sunxi: remove support for GPIO-based R/B polling
    - MTK:
    + Use of_device_get_match_data() instead of of_match_device()
    + Add an entry in MAINTAINERS for this driver
    + Fix nand-ecc-step-size and nand-ecc-strength description in the
    DT bindings doc
    - fsl_ifc: fix ->cmdfunc() to read more than one ONFI parameter page

    OneNAND driver changes:
    - samsung: use dev_get_drvdata() instead of platform_get_drvdata()

    SPI NOR core changes:
    - Add support for a bunch of SPI NOR chips
    - Clear EAR reg when switching to 3-byte addressing mode on Winbond
    chips

    SPI NOR controller driver changes:
    - cadence: Add DMA support for direct mode reads
    - hisi: Prefix a few functions with hisi_
    - intel:
    + Mark the driver as "dangerous" in Kconfig
    + Fix atomic sequence handling
    + Pass a 40us delay (instead of 0us) to readl_poll_timeout()
    - fsl:
    + fix a typo in a function name
    + add support for IP variants embedded in the ls2080a and ls1080a
    SoCs
    - stm32: request exclusive control of the reset line"

    * tag 'mtd/for-4.18' of git://git.infradead.org/linux-mtd: (66 commits)
    mtd: nand: Pass mode information to nand_page_io_req
    mtd: cfi_cmdset_0002: Change erase one block to enable XIP once
    mtd: cfi_cmdset_0002: Change erase functions to check chip good only
    mtd: cfi_cmdset_0002: Change erase functions to retry for error
    mtd: cfi_cmdset_0002: Change definition naming to retry write operation
    mtd: cfi_cmdset_0002: Change write buffer to check correct value
    mtd: cmdlinepart: Update comment for introduction of OFFSET_CONTINUOUS
    mtd: bcm47xxpart: add of_match_table with a new DT binding
    dt-bindings: mtd: document Broadcom's BCM47xx partitions
    mtd: spi-nor: Add support for EN25QH32
    mtd: spi-nor: Add support for is25wp series chips
    mtd: spi-nor: Add Winbond w25q32jv support
    mtd: spi-nor: fsl-quadspi: add support for ls2080a/ls1080a
    mtd: spi-nor: stm32-quadspi: explicitly request exclusive reset control
    mtd: spi-nor: intel: provide a range for poll_timout
    mtd: spi-nor: fsl-quadspi: fix api naming typo _init_ahb_read
    mtd: spi-nor: intel-spi: Explicitly mark the driver as dangerous in Kconfig
    mtd: spi-nor: intel-spi: Fix atomic sequence handling
    mtd: rawnand: Do not check FAIL bit when executing a SET_FEATURES op
    mtd: rawnand: use bit-wise majority to recover the ONFI param page
    ...

    Linus Torvalds
     
  • omapfb is not maintained by me anymore, so drop my name from the
    maintainers, and mark omapfb as orphan.

    At some point in the future we should mark omapfb as obsolete, but there
    are still some features supported by omapfb which are not supported by
    omapdrm, so we're not there yet.

    Signed-off-by: Tomi Valkeinen
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Tomi Valkeinen
     

08 Jun, 2018

8 commits

  • Native PCI drivers for root complex devices were originally all in
    drivers/pci/host/. Some of these devices can also be operated in endpoint
    mode. Drivers for endpoint mode didn't seem to fit in the "host"
    directory, so we put both the root complex and endpoint drivers in
    per-device directories, e.g., drivers/pci/dwc/, drivers/pci/cadence/, etc.

    These per-device directories contain trivial Kconfig and Makefiles and
    clutter drivers/pci/. Make a new drivers/pci/controllers/ directory and
    collect all the device-specific drivers there.

    No functional change intended.

    Link: https://lkml.kernel.org/r/1520304202-232891-1-git-send-email-shawn.lin@rock-chips.com
    Signed-off-by: Shawn Lin
    [bhelgaas: changelog]
    Signed-off-by: Bjorn Helgaas

    Shawn Lin
     
  • Merge updates from Andrew Morton:

    - a few misc things

    - ocfs2 updates

    - v9fs updates

    - MM

    - procfs updates

    - lib/ updates

    - autofs updates

    * emailed patches from Andrew Morton : (118 commits)
    autofs: small cleanup in autofs_getpath()
    autofs: clean up includes
    autofs: comment on selinux changes needed for module autoload
    autofs: update MAINTAINERS entry for autofs
    autofs: use autofs instead of autofs4 in documentation
    autofs: rename autofs documentation files
    autofs: create autofs Kconfig and Makefile
    autofs: delete fs/autofs4 source files
    autofs: update fs/autofs4/Makefile
    autofs: update fs/autofs4/Kconfig
    autofs: copy autofs4 to autofs
    autofs4: use autofs instead of autofs4 everywhere
    autofs4: merge auto_fs.h and auto_fs4.h
    fs/binfmt_misc.c: do not allow offset overflow
    checkpatch: improve patch recognition
    lib/ucs2_string.c: add MODULE_LICENSE()
    lib/mpi: headers cleanup
    lib/percpu_ida.c: use _irqsave() instead of local_irq_save() + spin_lock
    lib/idr.c: remove simple_ida_lock
    lib/bitmap.c: micro-optimization for __bitmap_complement()
    ...

    Linus Torvalds
     
  • Update the autofs entry in MAINTAINERS to reflect the rename of autofs4
    to autofs.

    Link: http://lkml.kernel.org/r/152626709611.28589.456596640024354223.stgit@pluto.themaw.net
    Signed-off-by: Ian Kent
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ian Kent
     
  • Pull DeviceTree updates from Rob Herring:

    - Sync dtc with upstream version v1.4.6-21-g84e414b0b5bc. This adds new
    warnings which are either fixed or disabled by default (enabled with
    W=1).

    - Validate an untrusted offset in DT overlay function
    update_usages_of_a_phandle_reference

    - Fix a use after free error of_platform_device_destroy

    - Fix an off by 1 string errors in unittest

    - Avoid creating a struct device for OPP nodes

    - Update DT specific submitting-patches.txt with patch content and
    subject requirements.

    - Move some bindings to their proper subsystem locations

    - Add vendor prefixes for Kaohsiung, SiFive, Avnet, Wi2Wi, Logic PD,
    and ArcherMind

    - Add documentation for "no-gpio-delays" property in FSI bus GPIO
    master

    - Add compatible for r8a77990 SoC ravb ethernet block

    - More wack-a-mole removal of 'status' property in examples

    * tag 'devicetree-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (25 commits)
    dt-bindings: submitting-patches: add guidance on patch content and subject
    of: platform: stop accessing invalid dev in of_platform_device_destroy
    dt-bindings: net: ravb: Add support for r8a77990 SoC
    dt-bindings: Add vendor prefix for ArcherMind
    dt-bindings: fsi-master-gpio: Document "no-gpio-delays" property
    dt-bindings: Add vendor prefix for Logic PD
    of: overlay: validate offset from property fixups
    of: unittest: for strings, account for trailing \0 in property length field
    drm: rcar-du: disable dtc graph-endpoint warnings on DT overlays
    kbuild: disable new dtc graph and unit-address warnings
    scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc
    MAINTAINERS: add keyword for devicetree overlay notifiers
    dt-bindings: define vendor prefix for Wi2Wi, Inc.
    dt-bindings: Add vendor prefix for Avnet, Inc.
    dt-bindings: Relocate Tegra20 memory controller bindings
    dt-bindings: Add "sifive" vendor prefix
    dt-bindings: exynos: move ADC binding to iio/adc/ directory
    dt-bindings: powerpc/4xx: move 4xx NDFC and EMAC bindings to subsystem directories
    dt-bindings: move various RNG bindings to rng/ directory
    dt-bindings: move various timer bindings to timer/ directory
    ...

    Linus Torvalds
     
  • Pull auxdisplay updates from Miguel Ojeda:
    "Mostly small fixes and cleanups, plus a non-trivial fix for charlcd

    - charlcd: fixes and cleanups (Robert Abel and Sean Young)

    - Kconfig fixes (Randy Dunlap, Corentin Labbe and Ulf Magnusson)

    - cfag12864bfb: const cleanup (Gustavo A. R. Silva)

    - Docs/licenses/warnings cleanups"

    * tag 'auxdisplay-for-linus-v4.18-rc1' of git://github.com/ojeda/linux:
    auxdisplay: Replace licenses with SPDX identifiers
    auxdisplay: make PANEL a menuconfig
    auxdisplay: fix broken menu
    auxdisplay: charlcd: Fix and clean up handling of x/y commands
    auxdisplay: charlcd: fix hex literal ranges for graphics command
    auxdisplay: charlcd: fix two-line command ^[[LN not marked as processed
    auxdisplay: charlcd: replace octal literal with form-feed escape sequence
    auxdisplay: charlcd: use null character instead of zero literal to terminate strings
    auxdisplay: charlcd: no need to call charlcd_gotoxy() if nothing changes
    auxdisplay: cfag12864bfb: constify fb_fix_screeninfo and fb_var_screeninfo structures
    auxdisplay: img-ascii-lcd: fix typo on select SYSCON/MFD_SYSCON
    auxdisplay: img-ascii-lcd: kconfig: Remove MIPS_SEAD3 reference
    auxdisplay: arm-charlcd: Fix struct charlcd doc line
    MAINTAINERS: auxdisplay: remove obsolete webpages
    Doc: misc-devices: move lcd-panel-cgram.txt to auxdisplay/

    Linus Torvalds
     
  • Pull pin control updates from Linus Walleij:
    "This is the bulk of pin control changes for v4.18.

    No core changes this time! Just a calm all-over-the-place drivers,
    updates and fixes cycle as it seems.

    New drivers/subdrivers:

    - Actions Semiconductor S900 driver with more Actions variants for
    S700, S500 in the pipe. Also generic GPIO support on top of the
    same driver and IRQ support is in the pipe.

    - Renesas r8a77470 PFC support.

    - Renesas r8a77990 PFC support.

    - Allwinner Sunxi H6 R_PIO support.

    - Rockchip PX30 support.

    - Meson Meson8m2 support.

    - Remove support for the ill-fated Samsung Exynos 5440 SoC.

    Improvements:

    - Context save/restore support in pinctrl-single.

    - External interrupt support for the Mediatek MT7622.

    - Qualcomm ACPI HID QCOM8002 supported.

    Fixes:

    - Fix up suspend/resume support for Exynos 5433.

    - Fix Strago DMI fixes on the Intel Cherryview"

    * tag 'pinctrl-v4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (72 commits)
    pinctrl: cherryview: limit Strago DMI workarounds to version 1.0
    pinctrl: at91-pio4: add missing of_node_put
    pinctrl: armada-37xx: Fix spurious irq management
    gpiolib: discourage gpiochip_add_pin[group]_range for DT pinctrls
    pinctrl: msm: fix gpio-hog related boot issues
    MAINTAINERS: update entry for Mediatek pin controller
    pinctrl: mediatek: remove unused fields in struct mtk_eint_hw
    pinctrl: mediatek: use generic EINT register maps for each SoC
    pinctrl: mediatek: add EINT support to MT7622 SoC
    pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit
    dt-bindings: pinctrl: add external interrupt support to MT7622 pinctrl
    pinctrl: freescale: Switch to SPDX identifier
    pinctrl: samsung: Fix suspend/resume for Exynos5433 GPF1..5 banks
    pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments
    pinctrl: sh-pfc: r8a77965: Add I2C pin support
    pinctrl: sh-pfc: r8a77990: Add EthernetAVB pins, groups and functions
    pinctrl: sh-pfc: r8a77990: Add I2C{1,2,4,5,6,7} pins, groups and functions
    pinctrl: sh-pfc: r8a77990: Add SCIF pins, groups and functions
    pinctrl: sh-pfc: r8a77990: Add bias pinconf support
    pinctrl: sh-pfc: Initial R8A77990 PFC support
    ...

    Linus Torvalds
     
  • Pull PCI updates from Bjorn Helgaas:

    - unify AER decoding for native and ACPI CPER sources (Alexandru
    Gagniuc)

    - add TLP header info to AER tracepoint (Thomas Tai)

    - add generic pcie_wait_for_link() interface (Oza Pawandeep)

    - handle AER ERR_FATAL by removing and re-enumerating devices, as
    Downstream Port Containment does (Oza Pawandeep)

    - factor out common code between AER and DPC recovery (Oza Pawandeep)

    - stop triggering DPC for ERR_NONFATAL errors (Oza Pawandeep)

    - share ERR_FATAL recovery path between AER and DPC (Oza Pawandeep)

    - disable ASPM L1.2 substate if we don't have LTR (Bjorn Helgaas)

    - respect platform ownership of LTR (Bjorn Helgaas)

    - clear interrupt status in top half to avoid interrupt storm (Oza
    Pawandeep)

    - neaten pci=earlydump output (Andy Shevchenko)

    - avoid errors when extended config space inaccessible (Gilles Buloz)

    - prevent sysfs disable of device while driver attached (Christoph
    Hellwig)

    - use core interface to report PCIe link properties in bnx2x, bnxt_en,
    cxgb4, ixgbe (Bjorn Helgaas)

    - remove unused pcie_get_minimum_link() (Bjorn Helgaas)

    - fix use-before-set error in ibmphp (Dan Carpenter)

    - fix pciehp timeouts caused by Command Completed errata (Bjorn
    Helgaas)

    - fix refcounting in pnv_php hotplug (Julia Lawall)

    - clear pciehp Presence Detect and Data Link Layer Status Changed on
    resume so we don't miss hotplug events (Mika Westerberg)

    - only request pciehp control if we support it, so platform can use
    ACPI hotplug otherwise (Mika Westerberg)

    - convert SHPC to be builtin only (Mika Westerberg)

    - request SHPC control via _OSC if we support it (Mika Westerberg)

    - simplify SHPC handoff from firmware (Mika Westerberg)

    - fix an SHPC quirk that mistakenly included *all* AMD bridges as well
    as devices from any vendor with device ID 0x7458 (Bjorn Helgaas)

    - assign a bus number even to non-native hotplug bridges to leave
    space for acpiphp additions, to fix a common Thunderbolt xHCI
    hot-add failure (Mika Westerberg)

    - keep acpiphp from scanning native hotplug bridges, to fix common
    Thunderbolt hot-add failures (Mika Westerberg)

    - improve "partially hidden behind bridge" messages from core (Mika
    Westerberg)

    - add macros for PCIe Link Control 2 register (Frederick Lawler)

    - replace IB/hfi1 custom macros with PCI core versions (Frederick
    Lawler)

    - remove dead microblaze and xtensa code (Bjorn Helgaas)

    - use dev_printk() when possible in xtensa and mips (Bjorn Helgaas)

    - remove unused pcie_port_acpi_setup() and portdrv_acpi.c (Bjorn
    Helgaas)

    - add managed interface to get PCI host bridge resources from OF (Jan
    Kiszka)

    - add support for unbinding generic PCI host controller (Jan Kiszka)

    - fix memory leaks when unbinding generic PCI host controller (Jan
    Kiszka)

    - request legacy VGA framebuffer only for VGA devices to avoid false
    device conflicts (Bjorn Helgaas)

    - turn on PCI_COMMAND_IO & PCI_COMMAND_MEMORY in pci_enable_device()
    like everybody else, not in pcibios_fixup_bus() (Bjorn Helgaas)

    - add generic enable function for simple SR-IOV hardware (Alexander
    Duyck)

    - use generic SR-IOV enable for ena, nvme (Alexander Duyck)

    - add ACS quirk for Intel 7th & 8th Gen mobile (Alex Williamson)

    - add ACS quirk for Intel 300 series (Mika Westerberg)

    - enable register clock for Armada 7K/8K (Gregory CLEMENT)

    - reduce Keystone "link already up" log level (Fabio Estevam)

    - move private DT functions to drivers/pci/ (Rob Herring)

    - factor out dwc CONFIG_PCI Kconfig dependencies (Rob Herring)

    - add DesignWare support to the endpoint test driver (Gustavo
    Pimentel)

    - add DesignWare support for endpoint mode (Gustavo Pimentel)

    - use devm_ioremap_resource() instead of devm_ioremap() in dra7xx and
    artpec6 (Gustavo Pimentel)

    - fix Qualcomm bitwise NOT issue (Dan Carpenter)

    - add Qualcomm runtime PM support (Srinivas Kandagatla)

    - fix DesignWare enumeration below bridges (Koen Vandeputte)

    - use usleep() instead of mdelay() in endpoint test (Jia-Ju Bai)

    - add configfs entries for pci_epf_driver device IDs (Kishon Vijay
    Abraham I)

    - clean up pci_endpoint_test driver (Gustavo Pimentel)

    - update Layerscape maintainer email addresses (Minghuan Lian)

    - add COMPILE_TEST to improve build test coverage (Rob Herring)

    - fix Hyper-V bus registration failure caused by domain/serial number
    confusion (Sridhar Pitchai)

    - improve Hyper-V refcounting and coding style (Stephen Hemminger)

    - avoid potential Hyper-V hang waiting for a response that will never
    come (Dexuan Cui)

    - implement Mediatek chained IRQ handling (Honghui Zhang)

    - fix vendor ID & class type for Mediatek MT7622 (Honghui Zhang)

    - add Mobiveil PCIe host controller driver (Subrahmanya Lingappa)

    - add Mobiveil MSI support (Subrahmanya Lingappa)

    - clean up clocks, MSI, IRQ mappings in R-Car probe failure paths
    (Marek Vasut)

    - poll more frequently (5us vs 5ms) while waiting for R-Car data link
    active (Marek Vasut)

    - use generic OF parsing interface in R-Car (Vladimir Zapolskiy)

    - add R-Car V3H (R8A77980) "compatible" string (Sergei Shtylyov)

    - add R-Car gen3 PHY support (Sergei Shtylyov)

    - improve R-Car PHYRDY polling (Sergei Shtylyov)

    - clean up R-Car macros (Marek Vasut)

    - use runtime PM for R-Car controller clock (Dien Pham)

    - update arm64 defconfig for Rockchip (Shawn Lin)

    - refactor Rockchip code to facilitate both root port and endpoint
    mode (Shawn Lin)

    - add Rockchip endpoint mode driver (Shawn Lin)

    - support VMD "membar shadow" feature (Jon Derrick)

    - support VMD bus number offsets (Jon Derrick)

    - add VMD "no AER source ID" quirk for more device IDs (Jon Derrick)

    - remove unnecessary host controller CONFIG_PCIEPORTBUS Kconfig
    selections (Bjorn Helgaas)

    - clean up quirks.c organization and whitespace (Bjorn Helgaas)

    * tag 'pci-v4.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (144 commits)
    PCI/AER: Replace struct pcie_device with pci_dev
    PCI/AER: Remove unused parameters
    PCI: qcom: Include gpio/consumer.h
    PCI: Improve "partially hidden behind bridge" log message
    PCI: Improve pci_scan_bridge() and pci_scan_bridge_extend() doc
    PCI: Move resource distribution for single bridge outside loop
    PCI: Account for all bridges on bus when distributing bus numbers
    ACPI / hotplug / PCI: Drop unnecessary parentheses
    ACPI / hotplug / PCI: Mark stale PCI devices disconnected
    ACPI / hotplug / PCI: Don't scan bridges managed by native hotplug
    PCI: hotplug: Add hotplug_is_native()
    PCI: shpchp: Add shpchp_is_native()
    PCI: shpchp: Fix AMD POGO identification
    PCI: mobiveil: Add MSI support
    PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver
    PCI/AER: Decode Error Source Requester ID
    PCI/AER: Remove aer_recover_work_func() forward declaration
    PCI/DPC: Use the generic pcie_do_fatal_recovery() path
    PCI/AER: Pass service type to pcie_do_fatal_recovery()
    PCI/DPC: Disable ERR_NONFATAL handling by DPC
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:

    - remove of atomisp driver from staging, as nobody would have time to
    dedicate huge efforts to fix all the problems there. Also, we have a
    feeling that the driver may not even run the way it is.

    - move Zoran driver to staging, in order to be either fixed to use VB2
    and the proper media kAPIs or to be removed

    - remove videobuf-dvb driver, with is unused for a while

    - some V4L2 documentation fixes/improvements

    - new sensor drivers: imx258 and ov7251

    - a new driver was added to allow using I2C transparent drivers

    - several improvements at the ddbridge driver

    - several improvements at the ISDB pt1 driver, making it more coherent
    with the DVB framework

    - added a new platform driver for MIPI CSI-2 RX: cadence

    - now, all media drivers can be compiled on x86 with COMPILE_TEST

    - almost all media drivers now build on non-x86 architectures with
    COMPILE_TEST

    - lots of other random stuff: cleanups, support for new board models,
    bug fixes, etc

    * tag 'media/v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (464 commits)
    media: omap2: fix compile-testing with FB_OMAP2=m
    media: media/radio/Kconfig: add back RADIO_ISA
    media: v4l2-ioctl.c: fix missing unlock in __video_do_ioctl()
    media: pxa_camera: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
    media: arch: sh: migor: Fix TW9910 PDN gpio
    media: staging: tegra-vde: Reset VDE regardless of memory client resetting failure
    media: marvel-ccic: mmp: select VIDEOBUF2_VMALLOC/DMA_CONTIG
    media: marvel-ccic: allow ccic and mmp drivers to coexist
    media: uvcvideo: Prevent setting unavailable flags
    media: ddbridge: conditionally enable fast TS for stv0910-equipped bridges
    media: dvb-frontends/stv0910: make TS speed configurable
    media: ddbridge/mci: add identifiers to function definition arguments
    media: ddbridge/mci: protect against out-of-bounds array access in stop()
    media: rc: ensure input/lirc device can be opened after register
    media: rc: nuvoton: Keep device enabled during reg init
    media: rc: nuvoton: Keep track of users on CIR enable/disable
    media: rc: nuvoton: Tweak the interrupt enabling dance
    media: uvcvideo: Support realtek's UVC 1.5 device
    media: uvcvideo: Fix driver reference counting
    media: gspca_zc3xx: Enable short exposure times for OV7648
    ...

    Linus Torvalds
     

07 Jun, 2018

4 commits

  • Pull networking updates from David Miller:

    1) Add Maglev hashing scheduler to IPVS, from Inju Song.

    2) Lots of new TC subsystem tests from Roman Mashak.

    3) Add TCP zero copy receive and fix delayed acks and autotuning with
    SO_RCVLOWAT, from Eric Dumazet.

    4) Add XDP_REDIRECT support to mlx5 driver, from Jesper Dangaard
    Brouer.

    5) Add ttl inherit support to vxlan, from Hangbin Liu.

    6) Properly separate ipv6 routes into their logically independant
    components. fib6_info for the routing table, and fib6_nh for sets of
    nexthops, which thus can be shared. From David Ahern.

    7) Add bpf_xdp_adjust_tail helper, which can be used to generate ICMP
    messages from XDP programs. From Nikita V. Shirokov.

    8) Lots of long overdue cleanups to the r8169 driver, from Heiner
    Kallweit.

    9) Add BTF ("BPF Type Format"), from Martin KaFai Lau.

    10) Add traffic condition monitoring to iwlwifi, from Luca Coelho.

    11) Plumb extack down into fib_rules, from Roopa Prabhu.

    12) Add Flower classifier offload support to igb, from Vinicius Costa
    Gomes.

    13) Add UDP GSO support, from Willem de Bruijn.

    14) Add documentation for eBPF helpers, from Quentin Monnet.

    15) Add TLS tx offload to mlx5, from Ilya Lesokhin.

    16) Allow applications to be given the number of bytes available to read
    on a socket via a control message returned from recvmsg(), from
    Soheil Hassas Yeganeh.

    17) Add x86_32 eBPF JIT compiler, from Wang YanQing.

    18) Add AF_XDP sockets, with zerocopy support infrastructure as well.
    From Björn Töpel.

    19) Remove indirect load support from all of the BPF JITs and handle
    these operations in the verifier by translating them into native BPF
    instead. From Daniel Borkmann.

    20) Add GRO support to ipv6 gre tunnels, from Eran Ben Elisha.

    21) Allow XDP programs to do lookups in the main kernel routing tables
    for forwarding. From David Ahern.

    22) Allow drivers to store hardware state into an ELF section of kernel
    dump vmcore files, and use it in cxgb4. From Rahul Lakkireddy.

    23) Various RACK and loss detection improvements in TCP, from Yuchung
    Cheng.

    24) Add TCP SACK compression, from Eric Dumazet.

    25) Add User Mode Helper support and basic bpfilter infrastructure, from
    Alexei Starovoitov.

    26) Support ports and protocol values in RTM_GETROUTE, from Roopa
    Prabhu.

    27) Support bulking in ->ndo_xdp_xmit() API, from Jesper Dangaard
    Brouer.

    28) Add lots of forwarding selftests, from Petr Machata.

    29) Add generic network device failover driver, from Sridhar Samudrala.

    * ra.kernel.org:/pub/scm/linux/kernel/git/davem/net-next: (1959 commits)
    strparser: Add __strp_unpause and use it in ktls.
    rxrpc: Fix terminal retransmission connection ID to include the channel
    net: hns3: Optimize PF CMDQ interrupt switching process
    net: hns3: Fix for VF mailbox receiving unknown message
    net: hns3: Fix for VF mailbox cannot receiving PF response
    bnx2x: use the right constant
    Revert "net: sched: cls: Fix offloading when ingress dev is vxlan"
    net: dsa: b53: Fix for brcm tag issue in Cygnus SoC
    enic: fix UDP rss bits
    netdev-FAQ: clarify DaveM's position for stable backports
    rtnetlink: validate attributes in do_setlink()
    mlxsw: Add extack messages for port_{un, }split failures
    netdevsim: Add extack error message for devlink reload
    devlink: Add extack to reload and port_{un, }split operations
    net: metrics: add proper netlink validation
    ipmr: fix error path when ipmr_new_table fails
    ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
    net: hns3: remove unused hclgevf_cfg_func_mta_filter
    netfilter: provide udp*_lib_lookup for nf_tproxy
    qed*: Utilize FW 8.37.2.0
    ...

    Linus Torvalds
     
  • - update arm64 defconfig for Rockchip (Shawn Lin)

    - refactor Rockchip code to facilitate both root port and endpoint mode
    (Shawn Lin)

    - add Rockchip endpoint mode driver (Shawn Lin)

    * lorenzo/pci/rockchip:
    arm64: defconfig: update config for Rockchip PCIe
    dt-bindings: PCI: rockchip: Add DT bindings for Rockchip PCIe EP driver
    PCI: rockchip: Add EP driver for Rockchip PCIe controller
    dt-bindings: PCI: rockchip: Rename rockchip-pcie.txt to rockchip-pcie-host.txt
    PCI: rockchip: Split out common function to init controller
    PCI: rockchip: Split out rockchip_pcie_parse_dt() to parse DT
    PCI: rockchip: Separate common code from RC driver

    # Conflicts:
    # drivers/pci/host/pcie-rockchip.c

    Bjorn Helgaas
     
  • - add Mobiveil PCIe host controller driver (Subrahmanya Lingappa)

    - add Mobiveil MSI support (Subrahmanya Lingappa)

    * pci/host/mobiveil:
    PCI: mobiveil: Add MSI support
    PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver
    PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver DT bindings

    Bjorn Helgaas
     
  • …l/git/shuah/linux-kselftest

    Pull Kselftest update from Shuah Khan:

    - Work to restructure timers test suite to move PIE out of rtctest from
    Alexandre Belloni.

    - Several minor spelling and bug fixes.

    - New cgroup tests from Roman Gushchin and Mike Rapoport.

    - Kselftest framework changes to handle and report skipped tests
    correctly.

    Prior to these changes, framework treated all non-zero return codes
    from tests as failures. When tests are skipped with non-zero return
    code, due to unmet dependencies and/or unsupported configuration,
    reporting them as failed lead to false negatives on the tests that
    couldn't be run.

    - Fixes to test Makefiles to remove unnecessary RUN_TESTS and
    EMIT_TESTS overrides and use common defines from lib.mk.

    - Fixes to several tests to return correct Kselftest skip code.

    - Changes to improve test output.

    * tag 'linux-kselftest-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (55 commits)
    selftests: lib: fix prime_numbers module search and skip logic
    selftests: intel_pstate: notification about privilege required to run intel_pstate testing script
    selftests: cgroup/memcontrol: add basic test for socket accounting
    selftest: intel_pstate: debug support message from aperf.c and return value
    kselftest/cgroup: fix variable dereferenced before check warning
    selftests/intel_pstate: Enhance table printing
    selftests/intel_pstate: Improve test, minor fixes
    selftests: cgroup/memcontrol: add basic test for swap controls
    selftests: cgroup: add memory controller self-tests
    selftests: memfd: split regular and hugetlbfs tests
    selftests: net: return Kselftest Skip code for skipped tests
    selftests: mqueue: return Kselftest Skip code for skipped tests
    selftests: memory-hotplug: return Kselftest Skip code for skipped tests
    selftests: memfd: return Kselftest Skip code for skipped tests
    selftests: membarrier: return Kselftest Skip code for skipped tests
    selftests: media_tests: return Kselftest Skip code for skipped tests
    selftests: locking: return Kselftest Skip code for skipped tests
    selftests: locking: add Makefile for locking test
    selftests: lib: return Kselftest Skip code for skipped tests
    selftests: lib: add prime_numbers.sh test to Makefile
    ...

    Linus Torvalds