20 Mar, 2019

3 commits


16 Mar, 2019

1 commit

  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "Just a couple of small fixes and cleanups:

    - fix memory access if logo is bigger than the screen (Manfred
    Schlaegl)

    - silence fbcon logo on 'quiet' boots (Prarit Bhargava)

    - use kvmalloc() for scrollback buffer in fbcon (Konstantin Khorenko)

    - misc fixes (Colin Ian King, YueHaibing, Matteo Croce, Mathieu
    Malaterre, Anders Roxell, Arnd Bergmann)

    - misc cleanups (Rob Herring, Lubomir Rintel, Greg Kroah-Hartman,
    Jani Nikula, Michal Vokáč)"

    * tag 'fbdev-v5.1' of git://github.com/bzolnier/linux:
    fbdev: mbx: fix a misspelled variable name
    fbdev: omap2: fix warnings in dss core
    video: fbdev: Fix potential NULL pointer dereference
    fbcon: Silence fbcon logo on 'quiet' boots
    printk: Export console_printk
    ARM: dts: imx28-cfa10036: Fix the reset gpio signal polarity
    video: ssd1307fb: Do not hard code active-low reset sequence
    dt-bindings: display: ssd1307fb: Remove reset-active-low from examples
    fbdev: fbmem: fix memory access if logo is bigger than the screen
    video/fbdev: refactor video= cmdline parsing
    fbdev: mbx: fix up debugfs file creation
    fbdev: omap2: no need to check return value of debugfs_create functions
    video: fbdev: geode: remove ifdef OLPC noise
    video: offb: annotate implicit fall throughs
    omapfb: fix typo
    fbdev: Use of_node_name_eq for node name comparisons
    fbcon: use kvmalloc() for scrollback buffer
    fbdev: chipsfb: remove set but not used variable 'size'
    fbdev/via: fix spelling mistake "Expandsion" -> "Expansion"

    Linus Torvalds
     

15 Mar, 2019

3 commits

  • Pull networking fixes from David Miller:
    "More fixes in the queue:

    1) Netfilter nat can erroneously register the device notifier twice,
    fix from Florian Westphal.

    2) Use after free in nf_tables, from Pablo Neira Ayuso.

    3) Parallel update of steering rule fix in mlx5 river, from Eli
    Britstein.

    4) RX processing panic in lan743x, fix from Bryan Whitehead.

    5) Use before initialization of TCP_SKB_CB, fix from Christoph Paasch.

    6) Fix locking in SRIOV mode of mlx4 driver, from Jack Morgenstein.

    7) Fix TX stalls in lan743x due to mishandling of interrupt ACKing
    modes, from Bryan Whitehead.

    8) Fix infoleak in l2tp_ip6_recvmsg(), from Eric Dumazet"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (43 commits)
    pptp: dst_release sk_dst_cache in pptp_sock_destruct
    MAINTAINERS: GENET & SYSTEMPORT: Add internal Broadcom list
    l2tp: fix infoleak in l2tp_ip6_recvmsg()
    net/tls: Inform user space about send buffer availability
    net_sched: return correct value for *notify* functions
    lan743x: Fix TX Stall Issue
    net/mlx4_core: Fix qp mtt size calculation
    net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
    net/mlx4_core: Fix reset flow when in command polling mode
    mlxsw: minimal: Initialize base_mac
    mlxsw: core: Prevent duplication during QSFP module initialization
    net: dwmac-sun8i: fix a missing check of of_get_phy_mode
    net: sh_eth: fix a missing check of of_get_phy_mode
    net: 8390: fix potential NULL pointer dereferences
    net: fujitsu: fix a potential NULL pointer dereference
    net: qlogic: fix a potential NULL pointer dereference
    isdn: hfcpci: fix potential NULL pointer dereference
    Documentation: devicetree: add a new optional property for port mac address
    net: rocker: fix a potential NULL pointer dereference
    net: qlge: fix a potential NULL pointer dereference
    ...

    Linus Torvalds
     
  • Pull dmaengine updates from Vinod Koul:

    - dmatest updates for modularizing common struct and code

    - remove SG support for VDMA xilinx IP and updates to driver

    - Update to dw driver to support Intel iDMA controllers multi-block
    support

    - tegra updates for proper reporting of residue

    - Add Snow Ridge ioatdma device id and support for IOATDMA v3.4

    - struct_size() usage and useless LIST_HEAD cleanups in subsystem.

    - qDMA controller driver for Layerscape SoCs

    - stm32-dma PM Runtime support

    - And usual updates to imx-sdma, sprd, Documentation, fsl-edma,
    bcm2835, qcom_hidma etc

    * tag 'dmaengine-5.1-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (81 commits)
    dmaengine: imx-sdma: fix consistent dma test failures
    dmaengine: imx-sdma: add a test for imx8mq multi sdma devices
    dmaengine: imx-sdma: add clock ratio 1:1 check
    dmaengine: dmatest: move test data alloc & free into functions
    dmaengine: dmatest: add short-hand `buf_size` var in dmatest_func()
    dmaengine: dmatest: wrap src & dst data into a struct
    dmaengine: ioatdma: support latency tolerance report (LTR) for v3.4
    dmaengine: ioatdma: add descriptor pre-fetch support for v3.4
    dmaengine: ioatdma: disable DCA enabling on IOATDMA v3.4
    dmaengine: ioatdma: Add Snow Ridge ioatdma device id
    dmaengine: sprd: Change channel id to slave id for DMA cell specifier
    dt-bindings: dmaengine: sprd: Change channel id to slave id for DMA cell specifier
    dmaengine: mv_xor: Use correct device for DMA API
    Documentation :dmaengine: clarify DMA desc. pointer after submission
    Documentation: dmaengine: fix dmatest.rst warning
    dmaengine: k3dma: Add support for dma-channel-mask
    dmaengine: k3dma: Delete axi_config
    dmaengine: k3dma: Upgrade k3dma driver to support hisi_asp_dma hardware
    Documentation: bindings: dma: Add binding for dma-channel-mask
    Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp
    ...

    Linus Torvalds
     
  • Pull remoteproc updates from Bjorn Andersson:
    "This contains the last patches in Loic's remoteproc resource table
    handling changes, a number of updates to documentation, support for
    invoking the crash handler (for testing purposes), a fix for the
    handling of virtio devices during recovery, performance state votes in
    Qualcomm modem driver, support for specifying board specific firmware
    path for Qualcomm modem driver and improved support for graceful
    shutdown of Qualcomm remoteprocs"

    * tag 'rproc-v5.1' of git://github.com/andersson/remoteproc: (33 commits)
    remoteproc: fix for "dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flag"
    remoteproc: fix rproc_check_carveout_da() returned error and comments
    remoteproc: fix trace buffer va initialization
    remoteproc: fix rproc_alloc_carveout() for rproc with iommu domain
    remoteproc: add warning on resource table cast
    remoteproc: fix rproc_alloc_carveout() bad variable cast
    remoteproc: fix rproc_da_to_va in case of unallocated carveout
    remoteproc: correct rproc_mem_entry_init() comments
    remoteproc: fix recovery procedure
    rpmsg: virtio: change header file sort style
    rpmsg: virtio: allocate buffer from parent
    remoteproc: st: add reserved memory support
    remoteproc: create vdev subdevice with specific dma memory pool
    remoteproc: q6v5_adsp: Remove voting for lpass_aon clock
    dt-binding: remoteproc: Remove lpass_aon clock from adsp pil clock list
    remoteproc: q6v5-mss: Active powerdomain for SDM845
    remoteproc: q6v5-mss: Vote for rpmh power domains
    remoteproc: qcom: Add support for parsing fw dt bindings
    remoteproc: qcom_q6v5: don't auto boot remote processor
    remoteproc: qcom: Wait for shutdown-ack/ind on sysmon shutdown
    ...

    Linus Torvalds
     

14 Mar, 2019

3 commits

  • Pull clk subsystem updates from Stephen Boyd:
    "We have a fairly balanced mix of clk driver updates and clk framework
    updates this time around. It's the usual pile of new drivers for new
    hardware out there and the normal small fixes and updates, but then we
    have some core framework changes too.

    In the core framework, we introduce support for a clk_get_optional()
    API to get clks that may not always be populated and a way to devm
    manage clkdev lookups registered by provider drivers. We also do some
    refactoring to simplify the interface between clkdev and the common
    clk framework so we can reuse the DT parsing and clk_get() path in
    provider drivers in the future. This work will continue in the next
    few cycles while we convert how providers specify clk parents.

    On the driver side, the biggest part of the dirstat is the Amlogic clk
    driver that got support for the G12A SoC. It dominates with almost
    half the overall diff, while the second largest part of the diff is in
    the i.MX clk driver that gained support for imx8mm SoCs. After that,
    we have the Actions Semiconductor and Qualcomm drivers rounding out
    the big part of the dirstat because they both got new hardware support
    for SoCs. The rest is just various updates and non-critical fixes for
    existing drivers.

    Core:
    - Convert a few clk bindings to JSON schema format
    - Add a {devm_}clk_get_optional() API
    - Add devm_clk_hw_register_clkdev() API to manage clkdev lookups
    - Start rewriting clk parent registration and supporting device links
    by moving around code that supports clk_get() and DT parsing of the
    'clocks' property

    New Drivers:
    - Add Qualcomm MSM8998 RPM managed clks
    - IPA clk support on Qualcomm RPMh clk controllers
    - Actions Semi S500 SoC clk support
    - Support for fixed rate clks populated from an MMIO register
    - Add RPC (QSPI/HyperFLASH) clocks on Renesas R-Car V3H
    - Add TMU (timer) clocks on Renesas RZ/G2E
    - Add Amlogic G12A Always-On Clock Controller
    - Add 32k clock generation for Amlogic AXG
    - Add support for the Mali GPU clocks on Amlogic Meson8
    - Add Amlogic G12A EE clock controller driver
    - Add missing CANFD clocks on Renesas RZ/G2M and RZ/G2E
    - Add i.MX8MM SoC clk driver support

    Removed Drivers:
    - Remove clps711x driver as the board support is gone

    Updates:
    - 3rd ECO fix for Mediatek MT2712 SoCs
    - Updates for Qualcomm MSM8998 GCC clks
    - Random static analysis fixes for clk drivers
    - Support for sleeping gpios in the clk-gpio type
    - Minor fixes for STM32MP1 clk driver (parents, critical flag, etc.)
    - Split LCDC into two clks on the Marvell MMP2 SoC
    - Various DT of_node refcount fixes
    - Get rid of CLK_IS_BASIC from TI code (yay!)
    - TI Autoidle clk support
    - Fix Amlogic Meson8 APB clock ID name
    - Claim input clocks through DT for Amlogic AXG and GXBB
    - Correct the DU (display unit) parent clock on Renesas RZ/G2E
    - Exynos5433 IMEM CMU crypto clk support (SlimSS)
    - Fix for the PLL-MIPI on the Allwinner A23
    - Fix Rockchip rk3328 PLL rate calculation
    - Add SET_RATE_PARENT flag on display clk of Rockhip rk3066
    - i.MX SCU clk driver clk_set_parent() and cpufreq support"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (150 commits)
    dt-bindings: clock: imx8mq: Fix numbering overlaps and gaps
    clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
    clk: fixup default index for of_clk_get_by_name()
    clk: Move of_clk_*() APIs into clk.c from clkdev.c
    clk: Inform the core about consumer devices
    clk: Introduce of_clk_get_hw_from_clkspec()
    clk: core: clarify the check for runtime PM
    clk: Combine __clk_get() and __clk_create_clk()
    clk: imx8mq: add GPIO clocks to clock tree
    clk: mediatek: correct cpu clock name for MT8173 SoC
    clk: imx: Refactor entire sccg pll clk
    clk: imx: scu: add cpu frequency scaling support
    clk: mediatek: Mark bus and DRAM related clocks as critical
    clk: mediatek: Add flags to mtk_gate
    clk: mediatek: Add MUX_FLAGS macro
    clk: qcom: gcc-sdm845: Define parent of PCIe PIPE clocks
    clk: ingenic: Remove set but not used variable 'enable'
    clk: at91: programmable: remove unneeded register read
    clk: mediatek: using CLK_MUX_ROUND_CLOSEST for the clock of dpi1_sel
    clk: mediatek: add MUX_GATE_FLAGS_2
    ...

    Linus Torvalds
     
  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "The changes for this cycle are across the board.

    The bulk of it is cleanups, but there's also new device support in
    some drivers as well as more conversions to the atomic API"

    * tag 'pwm/for-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (24 commits)
    pwm: atmel: Remove useless symbolic definitions
    pwm: bcm-kona: Update macros to remove braces around numbers
    pwm: imx27: Only enable the clocks once in .get_state()
    pwm: rcar: Improve calculation of divider
    pwm: rcar: Remove legacy APIs
    pwm: rcar: Use "atomic" API on rcar_pwm_resume()
    pwm: rcar: Add support "atomic" API
    pwm: atmel: Add support for SAM9X60's PWM controller
    pwm: atmel: Add PWM binding for SAM9X60
    pwm: atmel: Rename objects of type atmel_pwm_data
    pwm: atmel: Add support for controllers with 32 bit counters
    pwm: atmel: Add struct atmel_pwm_data
    pwm: Add MediaTek MT8183 display PWM driver support
    pwm: hibvt: Add hi3559v100 support
    dt-bindings: pwm: hibvt: Add hi3559v100 support
    pwm: hibvt: Use individual struct per of-data
    pwm: imx: Signedness bug in imx_pwm_get_state()
    pwm: imx: Split into two drivers
    pwm: imx: Don't print an error on -EPROBE_DEFER
    pwm: imx: Set driver data earlier simplifying the end of ->probe()
    ...

    Linus Torvalds
     
  • Pull mailbox updates from Jassi Brar:

    - mailbox-test: support multiple controller instances

    - misc cleanup: IMX, STM32 and Tegra

    - new driver: ZynqMP IPI

    * tag 'mailbox-v5.1' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
    mailbox: imx: keep MU irq working during suspend/resume
    dt-bindings: mailbox: Add Xilinx IPI Mailbox
    mailbox: ZynqMP IPI mailbox controller
    mailbox: stm32-ipcc: remove useless device_init_wakeup call
    mailbox: stm32-ipcc: do not enable wakeup source by default
    mailbox: mailbox-test: fix null pointer if no mmio
    mailbox: mailbox-test: fix debugfs in multi-instances
    mailbox: tegra-hsp: mark suspend function as __maybe_unused

    Linus Torvalds
     

12 Mar, 2019

8 commits

  • Vinod Koul
     
  • Vinod Koul
     
  • Vinod Koul
     
  • Vinod Koul
     
  • Add documentation for a new optional property local-mac-address which
    is described in ethernet.txt.

    Signed-off-by: xiaofeis
    Signed-off-by: David S. Miller

    xiaofeis
     
  • Pull watchdog updates from Wim Van Sebroeck:

    - a new watchdog driver for the Mellanox systems

    - renesas-wdt: Document r8a77470 support

    - numerous 'Mark expected switch fall-throughs'

    - qcom: Add suspend/resume support

    - some small fixes and documentation updates

    * tag 'linux-watchdog-5.1-rc1' of git://www.linux-watchdog.org/linux-watchdog:
    watchdog: w83877f_wdt: Mark expected switch fall-through
    watchdog: sc520_wdt: Mark expected switch fall-through
    watchdog: sbc60xxwdt: Mark expected switch fall-through
    watchdog: smsc37b787_wdt: Mark expected switch fall-through
    watchdog: sc1200: Mark expected switch fall-through
    watchdog: pc87413: Mark expected switch fall-through
    Documentation/watchdog: Add documentation mlx-wdt driver
    watchdog: mlx-wdt: introduce a watchdog driver for Mellanox systems.
    platform_data/mlxreg: additions for Mellanox watchdog driver.
    watchdog: Update sysfs documentation.
    watchdog: dw: remove useless pr_fmt
    watchdog: pika_wdt: drop pointless static qualifier in pikawdt_init
    watchdog/hpwdt: Update Kconfig documentation
    dt-bindings: watchdog: renesas-wdt: Document r8a77470 support
    watchdog: qcom: Add suspend/resume support

    Linus Torvalds
     
  • Pull pin control updates from Linus Walleij:
    "This is a calm cycle, not much happened this time around: not even
    much incremental development. Some three new drivers, that is all.

    No core changes.

    New drivers:

    - NXP (ex Freescale) i.MX 8QM driver.

    - NXP (ex Freescale) i.MX 8MM driver.

    - AT91 SAM9X60 subdriver.

    Improvements:

    - Support for external interrups (EINT) on Mediatek virtual GPIOs.

    - Make BCM2835 pin config fully generic.

    - Lots of Renesas SH-PFC incremental improvements"

    * tag 'pinctrl-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (70 commits)
    pinctrl: imx: fix scu link errors
    dt-bindings: pinctrl: Document the i.MX50 IOMUXC binding
    pinctrl: qcom: spmi-gpio: Reorder debug print
    pinctrl: nomadik: fix possible object reference leak
    pinctrl: stm32: return error upon hwspinlock failure
    pinctrl: stm32: fix memory leak issue
    pinctrl: sh-pfc: r8a77965: Add DRIF pins, groups and functions
    pinctrl: sh-pfc: r8a77965: Add TMU pins, groups and functions
    pinctrl: sh-pfc: Validate fixed-size field widths at build time
    pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups
    pinctrl: sh-pfc: r8a7792: Fix vin1_data18_b pin group
    pinctrl: sh-pfc: r8a7791: Fix scifb2_data_c pin group
    pinctrl: sh-pfc: emev2: Add missing pinmux functions
    pinctrl: sunxi: Support I/O bias voltage setting on A80
    pinctrl: ingenic: Add LCD pins for the JZ4725B SoC
    pinctrl: samsung: Remove legacy API for handling external wakeup interrupts mask
    pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl
    pinctrl: bcm2835: declare pin config as generic
    pinctrl: qcom: qcs404: Drop unused UFS_RESET macro
    dt-bindings: add documentation for slew rate
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:

    - update the ili210x touchscreen driver, refreshing the code and adding
    support for ILI251X line

    - add support for st1633 to the st1232 touchscreen driver

    - add support for sx8650 to the the sx8654 touchscreen driver

    - add support for Evervision FT5726 to the edt-ft5x06 touchscreen
    driver

    - add support for gt5688 to the Goodix touchscreen driver

    - new vibrator driver for MSM SOCs

    - miscellaneous fixes for the rest of input drivers

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (53 commits)
    Input: wacom_serial4 - add support for Wacom ArtPad II tablet
    Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
    Input: raspberrypi-ts - select CONFIG_INPUT_POLLDEV
    Input: msm-vibrator - use correct gpio header
    Input: ti_am335x_tsc - remove set but not used variable 'tscadc_dev'
    Input: i8042 - rework DT node name comparisons
    Input: goodix - print values in case of inconsistencies
    Input: goodix - refer to touchscreen.txt in device tree bindings
    Input: goodix - support Goodix gt5688
    Input: synaptics_i2c - remove redundant spinlock
    Input: db9 - mark expected switch fall-through
    Input: qt2160 - remove redundant spinlock
    Input: st1232 - handle common DT bindings
    Input: ims-pcu - switch to using brightness_set_blocking()
    Input: st1232 - switch to gpiod API
    Input: ili210x - fetch touchscreen geometry from DT
    Input: msm-vibrator - tweak an error message
    Input: tm2-touchkey - acknowledge that setting brightness is a blocking call
    Input: stmfts - acknowledge that setting brightness is a blocking call
    Input: ili210x - switch to using devm_device_add_group()
    ...

    Linus Torvalds
     

11 Mar, 2019

5 commits

  • Pull networking fixes from David Miller:
    "First batch of fixes in the new merge window:

    1) Double dst_cache free in act_tunnel_key, from Wenxu.

    2) Avoid NULL deref in IN_DEV_MFORWARD() by failing early in the
    ip_route_input_rcu() path, from Paolo Abeni.

    3) Fix appletalk compile regression, from Arnd Bergmann.

    4) If SLAB objects reach the TCP sendpage method we are in serious
    trouble, so put a debugging check there. From Vasily Averin.

    5) Memory leak in hsr layer, from Mao Wenan.

    6) Only test GSO type on GSO packets, from Willem de Bruijn.

    7) Fix crash in xsk_diag_put_umem(), from Eric Dumazet.

    8) Fix VNIC mailbox length in nfp, from Dirk van der Merwe.

    9) Fix race in ipv4 route exception handling, from Xin Long.

    10) Missing DMA memory barrier in hns3 driver, from Jian Shen.

    11) Use after free in __tcf_chain_put(), from Vlad Buslov.

    12) Handle inet_csk_reqsk_queue_add() failures, from Guillaume Nault.

    13) Return value correction when ip_mc_may_pull() fails, from Eric
    Dumazet.

    14) Use after free in x25_device_event(), also from Eric"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (72 commits)
    gro_cells: make sure device is up in gro_cells_receive()
    vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
    net/x25: fix use-after-free in x25_device_event()
    isdn: mISDNinfineon: fix potential NULL pointer dereference
    net: hns3: fix to stop multiple HNS reset due to the AER changes
    ip: fix ip_mc_may_pull() return value
    net: keep refcount warning in reqsk_free()
    net: stmmac: Avoid one more sometimes uninitialized Clang warning
    net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports
    rxrpc: Fix client call queueing, waiting for channel
    tcp: handle inet_csk_reqsk_queue_add() failures
    net: ethernet: sun: Zero initialize class in default case in niu_add_ethtool_tcam_entry
    8139too : Add support for U.S. Robotics USR997901A 10/100 Cardbus NIC
    fou, fou6: avoid uninit-value in gue_err() and gue6_err()
    net: sched: fix potential use-after-free in __tcf_chain_put()
    vhost: silence an unused-variable warning
    vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
    connector: fix unsafe usage of ->real_parent
    vxlan: do not need BH again in vxlan_cleanup()
    net: hns3: add dma_rmb() for rx description
    ...

    Linus Torvalds
     
  • Pull Kbuild updates from Masahiro Yamada:

    - do not generate unneeded top-level built-in.a

    - let git ignore O= directory entirely

    - optimize scripts/kallsyms slightly

    - exclude DWARF info from *.s regardless of config options

    - fix GCC toolchain search path for Clang to prepare ld.lld support

    - do not generate modules.order when CONFIG_MODULES is disabled

    - simplify single target rules and remove VPATH for external module
    build

    - allow to add optional flags to dpkg-buildpackage when building
    deb-pkg

    - move some compiler option tests from Makefile to Kconfig

    - various Makefile cleanups

    * tag 'kbuild-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (40 commits)
    kbuild: remove scripts/basic/% build target
    kbuild: use -Werror=implicit-... instead of -Werror-implicit-...
    kbuild: clean up scripts/gcc-version.sh
    kbuild: remove cc-version macro
    kbuild: update comment block of scripts/clang-version.sh
    kbuild: remove commented-out INITRD_COMPRESS
    kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig
    kbuild: [bin]deb-pkg: add DPKG_FLAGS variable
    kbuild: move ".config not found!" message from Kconfig to Makefile
    kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
    kbuild: simplify single target rules
    kbuild: remove empty rules for makefiles
    kbuild: make -r/-R effective in top Makefile for old Make versions
    kbuild: move tools_silent to a more relevant place
    kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig
    kbuild: refactor cc-cross-prefix implementation
    kbuild: hardcode genksyms path and remove GENKSYMS variable
    scripts/gdb: refactor rules for symlink creation
    kbuild: create symlink to vmlinux-gdb.py in scripts_gdb target
    scripts/gdb: do not descend into scripts/gdb from scripts
    ...

    Linus Torvalds
     
  • Pull IOMMU updates from Joerg Roedel:

    - A big cleanup and optimization patch-set for the Tegra GART driver

    - Documentation updates and fixes for the IOMMU-API

    - Support for page request in Intel VT-d scalable mode

    - Intel VT-d dma_[un]map_resource() support

    - Updates to the ATS enabling code for PCI (acked by Bjorn) and Intel
    VT-d to align with the latest version of the ATS spec

    - Relaxed IRQ source checking in the Intel VT-d driver for some aliased
    devices, needed for future devices which send IRQ messages from more
    than on request-ID

    - IRQ remapping driver for Hyper-V

    - Patches to make generic IOVA and IO-Page-Table code usable outside of
    the IOMMU code

    - Various other small fixes and cleanups

    * tag 'iommu-updates-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (60 commits)
    iommu/vt-d: Get domain ID before clear pasid entry
    iommu/vt-d: Fix NULL pointer reference in intel_svm_bind_mm()
    iommu/vt-d: Set context field after value initialized
    iommu/vt-d: Disable ATS support on untrusted devices
    iommu/mediatek: Fix semicolon code style issue
    MAINTAINERS: Add Hyper-V IOMMU driver into Hyper-V CORE AND DRIVERS scope
    iommu/hyper-v: Add Hyper-V stub IOMMU driver
    x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available
    PCI/ATS: Add inline to pci_prg_resp_pasid_required()
    iommu/vt-d: Check identity map for hot-added devices
    iommu: Fix IOMMU debugfs fallout
    iommu: Document iommu_ops.is_attach_deferred()
    iommu: Document iommu_ops.iotlb_sync_map()
    iommu/vt-d: Enable ATS only if the device uses page aligned address.
    PCI/ATS: Add pci_ats_page_aligned() interface
    iommu/vt-d: Fix PRI/PASID dependency issue.
    PCI/ATS: Add pci_prg_resp_pasid_required() interface.
    iommu/vt-d: Allow interrupts from the entire bus for aliased devices
    iommu/vt-d: Add helper to set an IRTE to verify only the bus number
    iommu: Fix flush_tlb_all typo
    ...

    Linus Torvalds
     
  • Pull Devicetree updates from Rob Herring:

    - Fix a unittest failure on UML. Preparation for converting to kunit
    test framework.

    - Add annotations to dtx_diff output

    - Fix unittest reporting of expected error

    - Move DMA configuration for virtual devices into the driver that needs
    it (s5p-mfc)

    - Vendor prefixes for feiyang and techstar

    - Convert ARM GIC, GICv3, and L2x0 to DT schema

    - Add r8a7778/9 HSCIF serial bindings

    * tag 'devicetree-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    of: unittest: unflatten device tree on UML when testing
    dt-bindings: Add vendor prefix for feiyang
    dt-bindings: Add vendor prefix for techstar
    dt-bindings: display: add missing semicolon in example
    of: mark early_init_dt_alloc_reserved_memory_arch static
    of: add dtc annotations functionality to dtx_diff
    of: unittest: add caution to function header comment
    of: unittest: remove report of expected error
    dt-bindings: interrupt-controller: Convert ARM GICv3 to json-schema
    dt-bindings: interrupt-controller: Convert ARM GIC to json-schema
    dt-bindings: arm: l2x0: Convert L2 cache to json-schema
    media: s5p-mfc: Fix memdev DMA configuration
    dt-bindings: serial: sh-sci: Document r8a7778/9 HSCIF bindings

    Linus Torvalds
     
  • Pull arm64 updates from Catalin Marinas:

    - Pseudo NMI support for arm64 using GICv3 interrupt priorities

    - uaccess macros clean-up (unsafe user accessors also merged but
    reverted, waiting for objtool support on arm64)

    - ptrace regsets for Pointer Authentication (ARMv8.3) key management

    - inX() ordering w.r.t. delay() on arm64 and riscv (acks in place by
    the riscv maintainers)

    - arm64/perf updates: PMU bindings converted to json-schema, unused
    variable and misleading comment removed

    - arm64/debug fixes to ensure checking of the triggering exception
    level and to avoid the propagation of the UNKNOWN FAR value into the
    si_code for debug signals

    - Workaround for Fujitsu A64FX erratum 010001

    - lib/raid6 ARM NEON optimisations

    - NR_CPUS now defaults to 256 on arm64

    - Minor clean-ups (documentation/comments, Kconfig warning, unused
    asm-offsets, clang warnings)

    - MAINTAINERS update for list information to the ARM64 ACPI entry

    * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (54 commits)
    arm64: mmu: drop paging_init comments
    arm64: debug: Ensure debug handlers check triggering exception level
    arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
    Revert "arm64: uaccess: Implement unsafe accessors"
    arm64: avoid clang warning about self-assignment
    arm64: Kconfig.platforms: fix warning unmet direct dependencies
    lib/raid6: arm: optimize away a mask operation in NEON recovery routine
    lib/raid6: use vdupq_n_u8 to avoid endianness warnings
    arm64: io: Hook up __io_par() for inX() ordering
    riscv: io: Update __io_[p]ar() macros to take an argument
    asm-generic/io: Pass result of I/O accessor to __io_[p]ar()
    arm64: Add workaround for Fujitsu A64FX erratum 010001
    arm64: Rename get_thread_info()
    arm64: Remove documentation about TIF_USEDFPU
    arm64: irqflags: Fix clang build warnings
    arm64: Enable the support of pseudo-NMIs
    arm64: Skip irqflags tracing for NMI in IRQs disabled context
    arm64: Skip preemption when exiting an NMI
    arm64: Handle serror in NMI context
    irqchip/gic-v3: Allow interrupts to be set as pseudo-NMI
    ...

    Linus Torvalds
     

10 Mar, 2019

3 commits

  • Pull SCSI updates from James Bottomley:
    "This is mostly update of the usual drivers: arcmsr, qla2xxx, lpfc,
    hisi_sas, target/iscsi and target/core.

    Additionally Christoph refactored gdth as part of the dma changes. The
    major mid-layer change this time is the removal of bidi commands and
    with them the whole of the osd/exofs driver and filesystem. This is a
    major simplification for block and mq in particular"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (240 commits)
    scsi: cxgb4i: validate tcp sequence number only if chip version pf
    scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
    scsi: mpt3sas: Add missing breaks in switch statements
    scsi: aacraid: Fix missing break in switch statement
    scsi: kill command serial number
    scsi: csiostor: drop serial_number usage
    scsi: mvumi: use request tag instead of serial_number
    scsi: dpt_i2o: remove serial number usage
    scsi: st: osst: Remove negative constant left-shifts
    scsi: ufs-bsg: Allow reading descriptors
    scsi: ufs: Allow reading descriptor via raw upiu
    scsi: ufs-bsg: Change the calling convention for write descriptor
    scsi: ufs: Remove unused device quirks
    Revert "scsi: ufs: disable vccq if it's not needed by UFS device"
    scsi: megaraid_sas: Remove a bunch of set but not used variables
    scsi: clean obsolete return values of eh_timed_out
    scsi: sd: Optimal I/O size should be a multiple of physical block size
    scsi: MAINTAINERS: SCSI initiator and target tweaks
    scsi: fcoe: make use of fip_mode enum complete
    ...

    Linus Torvalds
     
  • Pull PCI updates from Bjorn Helgaas:

    - Use match_string() instead of reimplementing it (Andy Shevchenko)

    - Enable SERR# forwarding for all bridges (Bharat Kumar Gogada)

    - Use Latency Tolerance Reporting if already enabled by platform (Bjorn
    Helgaas)

    - Save/restore LTR info for suspend/resume (Bjorn Helgaas)

    - Fix DPC use of uninitialized data (Dongdong Liu)

    - Probe bridge window attributes only once at enumeration-time to fix
    device accesses during rescan (Bjorn Helgaas)

    - Return BAR size (not "size -1 ") from pci_size() to simplify code (Du
    Changbin)

    - Use config header type (not class code) identify bridges more
    reliably (Honghui Zhang)

    - Work around Intel Denverton incorrect Trace Hub BAR size reporting
    (Alexander Shishkin)

    - Reorder pciehp cached state/hardware state updates to avoid missed
    interrupts (Mika Westerberg)

    - Turn ibmphp semaphores into completions or mutexes (Arnd Bergmann)

    - Mark expected switch fall-through (Mathieu Malaterre)

    - Use of_node_name_eq() for node name comparisons (Rob Herring)

    - Add ACS and pciehp quirks for HXT SD4800 (Shunyong Yang)

    - Consolidate Rohm Vendor ID definitions (Andy Shevchenko)

    - Use u32 (not __u32) for things not exposed to userspace (Logan
    Gunthorpe)

    - Fix locking semantics of bus and slot reset interfaces (Alex
    Williamson)

    - Update PCIEPORTBUS Kconfig help text (Hou Zhiqiang)

    - Allow portdrv to claim subtractive decode Ports so PCIe services will
    work for them (Honghui Zhang)

    - Report PCIe links that become degraded at run-time (Alexandru
    Gagniuc)

    - Blacklist Gigabyte X299 Root Port power management to fix Thunderbolt
    hotplug (Mika Westerberg)

    - Revert runtime PM suspend/resume callbacks that broke PME on network
    cable plug (Mika Westerberg)

    - Disable Data Link State Changed interrupts to prevent wakeup
    immediately after suspend (Mika Westerberg)

    - Extend altera to support Stratix 10 (Ley Foon Tan)

    - Allow building altera driver on ARM64 (Ley Foon Tan)

    - Replace Douglas with Tom Joseph as Cadence PCI host/endpoint
    maintainer (Lorenzo Pieralisi)

    - Add DT support for R-Car RZ/G2E (R8A774C0) (Fabrizio Castro)

    - Add dra72x/dra74x/dra76x SoC compatible strings (Kishon Vijay Abraham I)

    - Enable x2 mode support for dra72x/dra74x/dra76x SoC (Kishon Vijay
    Abraham I)

    - Configure dra7xx PHY to PCIe mode (Kishon Vijay Abraham I)

    - Simplify dwc (remove unnecessary header includes, name variables
    consistently, reduce inverted logic, etc) (Gustavo Pimentel)

    - Add i.MX8MQ support (Andrey Smirnov)

    - Add message to help debug dwc MSI-X mask bit errors (Gustavo
    Pimentel)

    - Work around imx7d PCIe PLL erratum (Trent Piepho)

    - Don't assert qcom reset GPIO during probe (Bjorn Andersson)

    - Skip dwc MSI init if MSIs have been disabled (Lucas Stach)

    - Use memcpy_fromio()/memcpy_toio() instead of plain memcpy() in PCI
    endpoint framework (Wen Yang)

    - Add interface to discover supported endpoint features to replace a
    bitfield that wasn't flexible enough (Kishon Vijay Abraham I)

    - Implement the new supported-feature interface for designware-plat,
    dra7xx, rockchip, cadence (Kishon Vijay Abraham I)

    - Fix issues with 64-bit BAR in endpoints (Kishon Vijay Abraham I)

    - Add layerscape endpoint mode support (Xiaowei Bao)

    - Remove duplicate struct hv_vp_set in favor of struct hv_vpset (Maya
    Nakamura)

    - Rework hv_irq_unmask() to use cpumask_to_vpset() instead of
    open-coded reimplementation (Maya Nakamura)

    - Align Hyper-V struct retarget_msi_interrupt arguments (Maya Nakamura)

    - Fix mediatek MMIO size computation to enable full size of available
    MMIO space (Honghui Zhang)

    - Fix mediatek DMA window size computation to allow endpoint DMA access
    to full DRAM address range (Honghui Zhang)

    - Fix mvebu prefetchable BAR regression caused by common bridge
    emulation that assumed all bridges had prefetchable windows (Thomas
    Petazzoni)

    - Make advk_pci_bridge_emul_ops static (Wei Yongjun)

    - Configure MPS settings for VMD root ports (Jon Derrick)

    * tag 'pci-v5.1-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (92 commits)
    PCI: Update PCIEPORTBUS Kconfig help text
    PCI: Fix "try" semantics of bus and slot reset
    PCI/LINK: Report degraded links via link bandwidth notification
    dt-bindings: PCI: altera: Add altr,pcie-root-port-2.0
    PCI: altera: Enable driver on ARM64
    PCI: altera: Add Stratix 10 PCIe support
    PCI/PME: Fix possible use-after-free on remove
    PCI: aardvark: Make symbol 'advk_pci_bridge_emul_ops' static
    PCI: dwc: skip MSI init if MSIs have been explicitly disabled
    PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset()
    PCI: hv: Replace hv_vp_set with hv_vpset
    PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt
    PCI: mediatek: Enlarge PCIe2AHB window size to support 4GB DRAM
    PCI: mediatek: Fix memory mapped IO range size computation
    PCI: dwc: Remove superfluous shifting in definitions
    PCI: dwc: Make use of GENMASK/FIELD_PREP
    PCI: dwc: Make use of BIT() in constant definitions
    PCI: dwc: Share code for dw_pcie_rd/wr_other_conf()
    PCI: dwc: Make use of IS_ALIGNED()
    PCI: imx6: Add code to request/control "pcie_aux" clock for i.MX8MQ
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:

    - remove sensor drivers that got converted from soc_camera

    - remaining soc_camera drivers got moved to staging

    - some documentation cleanups and improvements

    - the imx staging driver now supports imx7

    - the ov9640, mt9m001 and mt9m111 got converted from soc_camera

    - the vim2m driver now does what a m2m convert driver expects to do

    - epoll() fixes on media subsystems

    - several drivers fixes, typos, cleanups and improvements

    * tag 'media/v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (346 commits)
    media: dvb/earth-pt1: fix wrong initialization for demod blocks
    media: vim2m: Address some coding style issues
    media: vim2m: don't use BUG()
    media: vim2m: speedup passthrough copy
    media: vim2m: add an horizontal scaler
    media: vim2m: don't accept YUYV anymore as output format
    media: vim2m: add vertical linear scaler
    media: vim2m: better handle cap/out buffers with different sizes
    media: vim2m: use different framesizes for bayer formats
    media: vim2m: add support for VIDIOC_ENUM_FRAMESIZES
    media: vim2m: ensure that width is multiple of two
    media: vim2m: improve debug messages
    media: vim2m: add bayer capture formats
    media: a few more typos at staging, pci, platform, radio and usb
    media: Documentation: fix several typos
    media: staging: fix several typos
    media: include: fix several typos
    media: common: fix several typos
    media: v4l2-core: fix several typos
    media: usb: fix several typos
    ...

    Linus Torvalds
     

09 Mar, 2019

14 commits

  • Syscfg clock is no more needed.

    Signed-off-by: Christophe Roullier
    Signed-off-by: David S. Miller

    Christophe Roullier
     
  • Add properties to support all Phy config
    PHY_MODE (MII,GMII, RMII, RGMII) and in normal, PHY wo crystal (25Mhz),
    PHY wo crystal (50Mhz), No 125Mhz from PHY config.

    Signed-off-by: Christophe Roullier
    Signed-off-by: David S. Miller

    Christophe Roullier
     
  • - Convert a few clk bindings to JSON schema format
    - 3rd ECO fix for Mediatek MT2712 SoCs

    * clk-typo:
    clk: samsung: fix typo

    * clk-json-schema:
    dt-bindings: clock: Convert fixed-factor-clock to json-schema
    dt-bindings: clock: Convert fixed-clock binding to json-schema

    * clk-mtk-2712-eco:
    clk: mediatek: update clock driver of MT2712
    dt-bindings: clock: add clock for MT2712

    * clk-rockchip:
    clk: rockchip: add CLK_SET_RATE_PARENT for rk3066 lcdc dclks
    clk: rockchip: fix frac settings of GPLL clock for rk3328

    Stephen Boyd
     
  • …k-SA-fixes' into clk-next

    - Updates for qcom MSM8998 GCC clks
    - qcom MSM8998 RPM managed clks
    - Random static analysis fixes for clk drivers

    * clk-qcom-msm8998:
    clk: qcom: Make common clk_hw registrations
    clk: qcom: smd: Add support for MSM8998 rpm clocks
    clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998
    clk: qcom: Add missing freq for usb30_master_clk on 8998
    clk: qcom: Add CLK_SET_RATE_PARENT for 8998 branch clocks

    * clk-fractional-parent:
    clk: fractional-divider: check parent rate only if flag is set

    * clk-x86-mv:
    clk: x86: Move clk-lpss.h to platform_data/x86

    * clk-SA-fixes:
    clk: mediatek: fix platform_no_drv_owner.cocci warnings
    clk: tegra: dfll: Fix debugfs_simple_attr.cocci warnings
    clk: qoriq: Improve an error message

    Stephen Boyd
     
  • …04' and 'clk-actions-s500' into clk-next

    - IPA clk support on Qualcomm RPMh clk controllers
    - Support sleeping gpios in clk-gpio type
    - Minor fixes for STM32MP1 clk driver (parents, critical flag, etc.)
    - Actions Semi S500 SoC clk support

    * clk-qcom-rpmh:
    clk: qcom: clk-rpmh: Add IPA clock support

    * clk-gpio-sleep:
    clk: clk-gpio: add support for sleeping GPIOs in gpio-gate-clk

    * clk-stm32mp1:
    dt-bindings: clock: remove unused definition for stm32mp1
    clk: stm32mp1: fix bit width of hse_rtc divider
    clk: stm32mp1: remove unnecessary CLK_DIVIDER_ALLOW_ZERO flag
    clk: stm32mp1: fix HSI divider flag
    clk: stm32mp1: fix mcu divider table
    clk: stm32mp1: set ck_csi as critical clock
    clk: stm32mp1: add CLK_SET_RATE_NO_REPARENT to Kernel clocks
    clk: stm32mp1: parent clocks update

    * clk-qcom-qcs404:
    clk: qcom: gcc-qcs404: Add cfg_offset for blsp1_uart3 clock
    clk: qcom: clk-rcg2: Introduce a cfg offset for RCGs
    clk: qcom: remove empty lines in clk-rcg.h

    * clk-actions-s500:
    clk: actions: Add clock driver for S500 SoC
    dt-bindings: clock: Add DT bindings for Actions Semi S500 CMU
    clk: actions: Add configurable PLL delay

    Stephen Boyd
     
  • …mmp2-lcdc' into clk-next

    - Split LCDC into two clks on the Marvell MMP2 SoC

    * clk-imx:
    clk: imx8mq: add GPIO clocks to clock tree
    clk: imx: Refactor entire sccg pll clk
    clk: imx: scu: add cpu frequency scaling support
    clk: imx: imx8mm: Mark init function __init
    clk: imx8mq: Add the missing ARM clock
    dt-bindings: imx8mq-clock: Add the missing ARM clock
    clk: imx: imx8mq: Fix the rate propagation for arm pll
    clk: imx8mq: Add support for the CLKO1 clock
    clk: imx8mq: Fix the CLKO2 source select list
    clk: imx8mq: Add missing M4 clocks
    clk: imx: Add clock driver support for imx8mm
    dt-bindings: imx: Add clock binding doc for imx8mm
    clk: imx: Add PLLs driver for imx8mm soc
    clk: imx5: add imx5_SCC2_IPG_GATE
    clk: imx: scu: add set parent support
    clk: imx: scu: add fallback compatible string support
    clk: imx8mq: Make parent names arrays const pointers
    clk: imx: Make parents const pointer in mux wrappers
    clk: imx: Make parent_names const pointer in composite-8m

    * clk-samsung:
    clk: samsung: s3c2443: Mark expected switch fall-through
    clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
    clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
    clk: samsung: exynos5433: Add selected IMEM clocks
    clk: samsung: dt-bindings: Document Exynos5433 IMEM CMU
    clk: samsung: exynos5433: Fix name typo in sssx
    clk: samsung: exynos5433: Fix definition of CLK_ACLK_IMEM_{200, 266} clocks
    clk: samsung: dt-bindings: Add Exynos5433 IMEM CMU clock IDs

    * clk-ti:
    clk: clk-twl6040: Fix imprecise external abort for pdmclk
    ARM: OMAP2+: hwmod: disable ick autoidling when a hwmod requires that
    clk: ti: check clock type before doing autoidle ops
    clk: ti: add a usecount for autoidle
    clk: ti: generalize the init sequence of clk_hw_omap clocks
    clk: ti: remove usage of CLK_IS_BASIC
    clk: ti: add new API for checking if a provided clock is an OMAP clock
    clk: ti: move clk_hw_omap list handling under generic part of the driver

    * clk-uniphier-gear:
    clk: uniphier: Fix update register for CPU-gear

    * clk-mmp2-lcdc:
    clk: mmp2: separate LCDC peripheral clk form the display clock
    dt-bindings: marvell,mmp2: Add clock id for the LCDC clock

    Stephen Boyd
     
  • …-meson' and 'clk-renesas' into clk-next

    - Add a {devm_}clk_get_optional() API
    - Add devm_clk_hw_register_clkdev() API to manage clkdev lookups

    * clk-optional:
    clk: Add (devm_)clk_get_optional() functions
    clk: Add comment about __of_clk_get_by_name() error values

    * clk-devm-clkdev-register:
    clk: clk-st: avoid clkdev lookup leak at remove
    clk: clk-max77686: Clean clkdev lookup leak and use devm
    clkdev: add managed clkdev lookup registration

    * clk-allwinner:
    clk: sunxi-ng: sun8i-a23: Enable PLL-MIPI LDOs when ungating it

    * clk-meson: (22 commits)
    clk: meson: meson8b: fix the naming of the APB clocks
    dt-bindings: clock: meson8b: add APB clock definition
    clk: meson: Add G12A AO Clock + Reset Controller
    dt-bindings: clk: add G12A AO Clock and Reset Bindings
    clk: meson: factorise meson64 peripheral clock controller drivers
    clk: meson: g12a: add peripheral clock controller
    dt-bindings: clk: meson: add g12a periph clock controller bindings
    clk: meson: pll: update driver for the g12a
    clk: meson: rework and clean drivers dependencies
    clk: meson: axg-audio does not require syscon
    clk: meson: use CONFIG_ARCH_MESON to enter meson clk directory
    clk: export some clk_hw function symbols for module drivers
    clk: meson: ao-clkc: claim clock controller input clocks from DT
    clk: meson: axg: claim clock controller input clock from DT
    clk: meson: gxbb: claim clock controller input clock from DT
    clk: meson: meson8b: add the GPU clock tree
    clk: meson: meson8b: use a separate clock table for Meson8
    clk: meson: axg-ao: add 32k generation subtree
    clk: meson: gxbb-ao: replace cec-32k with the dual divider
    clk: meson: add dual divider clock driver
    ...

    * clk-renesas:
    clk: renesas: r8a774a1: Fix LAST_DT_CORE_CLK
    clk: renesas: r8a774c0: Fix LAST_DT_CORE_CLK
    clk: renesas: r8a774c0: Add TMU clock
    clk: renesas: r8a77980: Add RPC clocks
    clk: renesas: rcar-gen3: Add RPC clocks
    clk: renesas: rcar-gen3: Add spinlock
    clk: renesas: rcar-gen3: Factor out cpg_reg_modify()
    clk: renesas: r8a774c0: Correct parent clock of DU
    clk: renesas: r8a774a1: Add missing CANFD clock
    clk: renesas: r8a774c0: Add missing CANFD clock

    Stephen Boyd
     
  • …k-socfpga-parent' and 'clk-struct-size' into clk-next

    - Various DT of_node refcount fixes
    - Support for fixed rate clks populated from an MMIO register
    - Remove clps711x driver as the board support is gone

    * clk-of-refcount:
    clk: dove: fix refcount leak in dove_clk_init()
    clk: mv98dx3236: fix refcount leak in mv98dx3236_clk_init()
    clk: armada-xp: fix refcount leak in axp_clk_init()
    clk: kirkwood: fix refcount leak in kirkwood_clk_init()
    clk: armada-370: fix refcount leak in a370_clk_init()
    clk: vf610: fix refcount leak in vf610_clocks_init()
    clk: imx7d: fix refcount leak in imx7d_clocks_init()
    clk: imx6sx: fix refcount leak in imx6sx_clocks_init()
    clk: imx6q: fix refcount leak in imx6q_clocks_init()
    clk: samsung: exynos4: fix refcount leak in exynos4_get_xom()
    clk: socfpga: fix refcount leak
    clk: ti: fix refcount leak in ti_dt_clocks_register()
    clk: qoriq: fix refcount leak in clockgen_init()
    clk: highbank: fix refcount leak in hb_clk_init()

    * clk-mmio-fixed-clock:
    clk: Add Fixed MMIO clock driver
    dt-bindings: clk: Add bindings for Fixed MMIO clock

    * clk-remove-clps:
    clk: clps711x: Remove board support

    * clk-socfpga-parent:
    clk: socfpga: Don't have get_parent for single parent ops

    * clk-struct-size:
    clk: imx: imx7ulp: use struct_size() in kzalloc()

    Stephen Boyd
     
  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v5.1 cycle:

    Core changes:

    - The big change this time around is the irqchip handling in the
    qualcomm pin controllers, closely coupled with the gpiochip. This
    rework, in a classic fall-between-the-chairs fashion has been
    sidestepped for too long.

    The Qualcomm IRQchips using the SPMI and SSBI transport mechanisms
    have been rewritten to use hierarchical irqchip. This creates the
    base from which I intend to gradually pull support for hierarchical
    irqchips into the gpiolib irqchip helpers to cut down on duplicate
    code.

    We have too many hacks in the kernel because people have been
    working around the missing hierarchical irqchip for years, and once
    it was there, noone understood it for a while. We are now slowly
    adapting to using it.

    This is why this pull requests include changes to MFD, SPMI,
    IRQchip core and some ARM Device Trees pertaining to the Qualcomm
    chip family. Since Qualcomm have so many chips and such large
    deployments it is paramount that this platform gets this right, and
    now it (hopefully) does.

    - Core support for pull-up and pull-down configuration, also from the
    device tree. When a simple GPIO chip supports an "off or on" pull-up
    or pull-down resistor, we provide a way to set this up using
    machine descriptors or device tree.

    If more elaborate control of pull up/down (such as resistance shunt
    setting) is required, drivers should be phased over to use pin
    control. We do not yet provide a userspace ABI for this pull
    up-down setting but I suspect the makers are going to ask for it
    soon enough. PCA953x is the first user of this new API.

    - The GPIO mockup driver has been revamped after some discussion
    improving the IRQ simulator in the process.

    The idea is to make it possible to use the mockup for both testing
    and virtual prototyping, e.g. when you do not yet have a GPIO
    expander to play with but really want to get something to develop
    code around before hardware is available. It's neat. The blackbox
    testing usecase is currently making its way into kernelci.

    - ACPI GPIO core preserves non direction flags when updating flags.

    - A new device core helper for devm_platform_ioremap_resource() is
    funneled through the GPIO tree with Greg's ACK.

    New drivers:

    - TQ-Systems QTMX86 GPIO controllers (using port-mapped I/O)

    - Gateworks PLD GPIO driver (vaccumed up from OpenWrt)

    - AMD G-Series PCH (Platform Controller Hub) GPIO driver.

    - Fintek F81804 & F81966 subvariants.

    - PCA953x now supports NXP PCAL6416.

    Driver improvements:

    - IRQ support on the Nintendo Wii (Hollywood) GPIO.

    - get_direction() support for the MVEBU driver.

    - Set the right output level on SAMA5D2.

    - Drop the unused irq trigger setting on the Spreadtrum driver.

    - Wakeup support for PCA953x.

    - A slew of cleanups in the various Intel drivers"

    * tag 'gpio-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (110 commits)
    gpio: gpio-omap: fix level interrupt idling
    gpio: amd-fch: Set proper output level for direction_output
    x86: apuv2: remove unused variable
    gpio: pca953x: Use PCA_LATCH_INT
    platform/x86: fix PCENGINES_APU2 Kconfig warning
    gpio: pca953x: Fix dereference of irq data in shutdown
    gpio: amd-fch: Fix type error found by sparse
    gpio: amd-fch: Drop const from resource
    gpio: mxc: add check to return defer probe if clock tree NOT ready
    gpio: ftgpio: Register per-instance irqchip
    gpio: ixp4xx: Add DT bindings
    x86: pcengines apuv2 gpio/leds/keys platform driver
    gpio: AMD G-Series PCH gpio driver
    drivers: depend on HAS_IOMEM for devm_platform_ioremap_resource()
    gpio: tqmx86: Set proper output level for direction_output
    gpio: sprd: Change to use SoC compatible string
    gpio: sprd: Use SoC compatible string instead of wildcard string
    gpio: of: Handle both enable-gpio{,s}
    gpio: of: Restrict enable-gpio quirk to regulator-gpio
    gpio: davinci: use devm_platform_ioremap_resource()
    ...

    Linus Torvalds
     
  • Pull MFD updates from Lee Jones:
    "New Drivers:
    - Add STMPE ADC Input driver
    - Add STMicroelectronics STPMIC1 Parent driver
    - Add STMicroelectronics STPMIC1 OnKey Misc driver
    - Add STMicroelectronics STPMIC1 Watchdog driver
    - Add Cirrus Logic Lochnagar Parent driver
    - Add TQ-Systems TQMX86 Parent driver

    New Device Support:
    - Add support for ADC to STMPE

    New (or moved) Functionality:
    - Move Lightbar functionality to its own driver; cros_ec_lightbar
    - Move VBC functionality to its own driver; cros_ec_vbc
    - Move VBC functionality to its own driver; cros_ec_vbc
    - Move DebugFS functionality to its own driver; cros_ec_debugfs
    - Move SYSFS functionality to its own driver; cros_ec_sysfs
    - Add support for input voltage options; tps65218

    Fixes:
    - Use devm_* managed resources; cros_ec
    - Device Tree documentation; stmpe, aspeed-lpc, lochnagar
    - Trivial Clean-ups; stmpe
    - Rip out broken modular code; aat2870-core, adp5520, as3711,
    db8500-prcmu, htc-i2cpld, max8925-core, rc5t583, sta2x11-mfd,
    syscon, tps65090, tps65910, tps68470 tps80031, wm831x-spi,
    wm831x-i2c, wm831x-core, wm8350-i2c, wm8350-core, wm8400-core
    - Kconfig fixups; INTEL_SOC_PMIC
    - Improve error path; sm501, sec-core
    - Use struct_size() helper; sm501
    - Constify; at91-usart
    - Use pointers instead of copying data; at91-usart
    - Deliver proper return value; cros_ec_dev
    - Trivial formatting/whitespace; sec-core"

    * tag 'mfd-next-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (53 commits)
    mfd: mxs-lradc: Mark expected switch fall-through
    mfd: sec-core: Cleanup formatting to a consistent style
    mfd: tqmx86: IO controller with I2C, Wachdog and GPIO
    mfd: intel-lpss: Move linux/pm.h to the local header
    mfd: cros_ec_dev: Return number of bytes read with CROS_EC_DEV_IOCRDMEM
    mfd: tps68470: Drop unused MODULE_DEVICE_TABLE
    mfd: at91-usart: No need to copy mfd_cell in probe
    mfd: at91-usart: Constify at91_usart_spi_subdev and at91_usart_serial_subdev
    mfd: lochnagar: Add support for the Cirrus Logic Lochnagar
    mfd: lochnagar: Add initial binding documentation
    dt-bindings: mfd: aspeed-lpc: Make parameter optional
    mfd: sec-core: Return gracefully instead of BUG() if device cannot match
    mfd: sm501: Use struct_size() in devm_kzalloc()
    mfd: sm501: Fix potential NULL pointer dereference
    mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
    mfd: tps65218.c: Add input voltage options
    mfd: wm8400-core: Make it explicitly non-modular
    mfd: wm8350-core: Drop unused module infrastructure from non-modular code
    mfd: wm8350-i2c: Make it explicitly non-modular
    mfd: wm831x-core: Drop unused module infrastructure from non-modular code
    ...

    Linus Torvalds
     
  • Pull RTC updates from Alexandre Belloni:
    "There is an unusual amount of new drivers this cycle, and this
    explains the number of insertions.

    Other than that, the changes are the usual fixes and feature addition.

    Subsystem updates:
    - new quartz-load-femtofarads DT property for quartz load capacitance
    - remove rtc_class_ops.read_callback

    New drivers:
    - Abracon AB-RTCMC-32.768kHz-EOZ9
    - Amlogic Meson RTC
    - Cadence RTC IP
    - Microcrystal RV3028
    - Whwave sd3078

    Driver updates:
    - cmos: ignore bogus century byte
    - ds1307: rework rx8130 support
    - isl1208: add isl1209 support, nvmem support
    - rs5C372: report invalid time when the oscillator stopped
    - rx8581: add rx8571 support"

    * tag 'rtc-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (66 commits)
    rtc: pic32: convert to SPDX identifier
    rtc: pic32: let the core handle range
    rtc: pic32: convert to devm_rtc_allocate_device
    rtc: update my email address
    rtc: rv8803: convert to SPDX identifier
    rtc: rv8803: let the core handle range
    rtc: tx4939: convert to SPDX identifier
    rtc: tx4939: use .set_time
    rtc: tx4939: switch to rtc_time64_to_tm/rtc_tm_to_time64
    rtc: tx4939: set range
    rtc: tx4939: remove useless test
    rtc: zynqmp: let the core handle range
    rtc: zynqmp: fix possible race condition
    rtc: imx-sc: use rtc_time64_to_tm
    rtc: rx8581: Add support for Epson rx8571 RTC
    dt-bindings: rtc: add rx8571 compatible
    rtc: pcf85063: remove dead code
    rtc: remove rtc_class_ops.read_callback
    rtc: add AB-RTCMC-32.768kHz-EOZ9 RTC support
    dt-bindings: rtc: add ABEOZ9
    ...

    Linus Torvalds
     
  • Pull thermal soc updates from Eduardo Valentin:
    "Specifics:

    - mediatek thermal now supports MT8183

    - broadcom thermal now supports Stingray

    - qoirq now supports multiple sensors

    - fixes on different drivers: rcar, tsens, tegra

    Some new drivers are still pending further review and I chose to leave
    them for the next merge window while still sending this material"

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal:
    thermal: rcar_gen3_thermal: Register hwmon sysfs interface
    thermal/qcom/tsens-common : fix possible object reference leak
    thermal: tegra: add get_trend ops
    thermal: tegra: fix memory allocation
    thermal: tegra: remove unnecessary warnings
    thermal: mediatek: add support for MT8183
    dt-bindings: thermal: add binding document for mt8183 thermal controller
    thermal: mediatek: add flag for bank selection
    thermal: mediatek: add thermal controller offset
    thermal: mediatek: add calibration item
    thermal: mediatek: add common index of vts settings.
    thermal: mediatek: fix register index error
    thermal: qoriq: add multiple sensors support
    thermal: broadcom: Add Stingray thermal driver
    dt-bindings: thermal: Add binding document for SR thermal

    Linus Torvalds
     
  • Pull i2c updates from Wolfram Sang:

    - the I2C core gained helpers to assist drivers in handling their
    suspended state, and drivers were converted to use it

    - two new fault-injectors for stress-testing

    - bigger refactoring and feature improvements for the ocores,
    sh_mobile, and tegra drivers

    - platform_data removal for the at24 EEPROM driver

    - ... and various improvements and bugfixes all over the subsystem

    * 'i2c/for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (69 commits)
    i2c: Allow recovery of the initial IRQ by an I2C client device.
    i2c: ocores: turn incomplete kdoc into a comment
    i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
    i2c: tegra: Only display error messages if DMA setup fails
    i2c: gpio: fault-injector: add 'inject_panic' injector
    i2c: gpio: fault-injector: add 'lose_arbitration' injector
    i2c: tegra: remove multi-master support
    i2c: tegra: remove master fifo support on tegra186
    i2c: tegra: change phrasing, "fallbacking" to "falling back"
    i2c: expand minor range when registering chrdev region
    i2c: aspeed: Add multi-master use case support
    i2c: core-smbus: don't trace smbus_reply data on errors
    i2c: ocores: Add support for bus clock via platform data
    i2c: ocores: Add support for IO mapper registers.
    i2c: ocores: checkpatch fixes
    i2c: ocores: add SPDX tag
    i2c: ocores: add polling interface
    i2c: ocores: do not handle IRQ if IF is not set
    i2c: ocores: stop transfer on timeout
    i2c: tegra: add i2c interface timing support
    ...

    Linus Torvalds
     
  • Pull power supply and reset updates from Sebastian Reichel:
    "Nothing too fancy in the power-supply subsystem this time. There are
    less patches than usual, since I did not have enough time to review
    them in time. The good news is, that all patches have been in
    linux-next for more than two weeks and there are no complicated
    cross-subsystem patchsets this time!

    Summary:

    - at91-reset: add sam9x60 support

    - sc27xx: improve capacity logic

    - goldfish_battery: enhance driver by adding many new properties

    - isp1704: drop platform data and migrate to gpiod

    - misc small fixes and improvements"

    * tag 'for-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (25 commits)
    power: reset: at91-reset: add support for sam9x60 SoC
    dt-bindings: arm: atmel: add new sam9x60 reset controller binding
    dt-bindings: arm: atmel: add missing samx7 to reset controller
    max17042_battery: fix potential use-after-free on device remove
    power: supply: core: Add a field to support battery max voltage
    dt-bindings: power: supply: Add voltage-max-design-microvolt property
    bq27x00: use cached flags
    power: supply: ds2782: fix possible use-after-free on remove
    power: supply: bq25890: show max charge current/voltage as configured
    power: supply: sc27xx: Fix capacity saving function
    power: supply: sc27xx: Fix the incorrect formula when converting capacity to coulomb counter
    power: supply: sc27xx: Add one property to read charge voltage
    dt-bindings: power: sc27xx: Add one IIO channel to read charge voltage
    drivers: power: supply: goldfish_battery: Add support for reading more properties
    power: supply: charger-manager: Fix trivial language typos
    cpcap-charger: generate events for userspace
    power: supply: remove some duplicated includes
    power: twl4030: fix a missing check of return value
    drivers: power: supply: goldfish_battery: Use tabs for alignment
    drivers: power: supply: goldfish_battery: Fix alignment
    ...

    Linus Torvalds