1. 09 May, 2019 10 commits
  2. 08 May, 2019 30 commits
    • Masahiro Yamada's avatar
      sparc: vdso: add FORCE to the build rule of %.so · 269fe565
      Masahiro Yamada authored
      $(call if_changed,...) must have FORCE as a prerequisite.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      269fe565
    • Jagadeesh Pagadala's avatar
      arch:sparc:kernel/uprobes.c : Remove duplicate header · a95a9e5f
      Jagadeesh Pagadala authored
      Remove duplicate header which is included twice.
      Signed-off-by: default avatarJagadeesh Pagadala <jagdsh.linux@gmail.com>
      Reviewed-by: default avatarMukesh Ojha <mojha@codeaurora.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a95a9e5f
    • Linus Torvalds's avatar
      Merge tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 92fab77b
      Linus Torvalds authored
      Pull MIPS updates from Paul Burton:
      
       - A set of memblock initialization improvements thanks to Serge Semin,
         tidying up after our conversion from bootmem to memblock back in
         v4.20.
      
       - Our eBPF JIT the previously supported only MIPS64r2 through MIPS64r5
         is improved to also support MIPS64r6. Support for MIPS32 systems is
         introduced, with the caveat that it only works for programs that
         don't use 64 bit registers or operations - those will bail out & need
         to be interpreted.
      
       - Improvements to the allocation & configuration of our exception
         vector that should fix issues seen on some platforms using recent
         versions of U-Boot.
      
       - Some minor improvements to code generated for jump labels, along with
         enabling them by default for generic kernels.
      
      * tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (27 commits)
        mips: Manually call fdt_init_reserved_mem() method
        mips: Make sure dt memory regions are valid
        mips: Perform early low memory test
        mips: Dump memblock regions for debugging
        mips: Add reserve-nomap memory type support
        mips: Use memblock to reserve the __nosave memory range
        mips: Discard post-CMA-init foreach loop
        mips: Reserve memory for the kernel image resources
        MIPS: Remove duplicate EBase configuration
        MIPS: Sync icache for whole exception vector
        MIPS: Always allocate exception vector for MIPSr2+
        MIPS: Use memblock_phys_alloc() for exception vector
        mips: Combine memblock init and memory reservation loops
        mips: Discard rudiments from bootmem_init
        mips: Make sure kernel .bss exists in boot mem pool
        mips: vdso: drop unnecessary cc-ldoption
        Revert "MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices"
        MIPS: generic: Enable CONFIG_JUMP_LABEL
        MIPS: jump_label: Use compact branches for >= r6
        MIPS: jump_label: Remove redundant nops
        ...
      92fab77b
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · ef75bd71
      Linus Torvalds authored
      Pull GFS2 updates from Andreas Gruenbacher:
       "We've got the following patches ready for this merge window:
      
         - "gfs2: Fix loop in gfs2_rbm_find (v2)"
      
            A rework of a fix we ended up reverting in 5.0 because of an
            iozone performance regression.
      
         - "gfs2: read journal in large chunks"
           "gfs2: fix race between gfs2_freeze_func and unmount"
      
            An improved version of a commit we also ended up reverting in 5.0
            because of a regression in xfstest generic/311. It turns out that
            the journal changes were mostly innocent and that unfreeze didn't
            wait for the freeze to complete, which caused the filesystem to be
            unmounted before it was actually idle.
      
         - "gfs2: Fix occasional glock use-after-free"
           "gfs2: Fix iomap write page reclaim deadlock"
           "gfs2: Fix lru_count going negative"
      
            Fixes for various problems reported and partially fixed by Citrix
            engineers. Thank you very much.
      
         - "gfs2: clean_journal improperly set sd_log_flush_head"
      
            Another fix from Bob.
      
         - .. and a few other minor cleanups"
      
      * tag 'gfs2-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: read journal in large chunks
        gfs2: Fix iomap write page reclaim deadlock
        gfs2: fix race between gfs2_freeze_func and unmount
        gfs2: Rename gfs2_trans_{add_unrevoke => remove_revoke}
        gfs2: Rename sd_log_le_{revoke,ordered}
        gfs2: Remove unnecessary extern declarations
        gfs2: Remove misleading comments in gfs2_evict_inode
        gfs2: Replace gl_revokes with a GLF flag
        gfs2: Fix occasional glock use-after-free
        gfs2: clean_journal improperly set sd_log_flush_head
        gfs2: Fix lru_count going negative
        gfs2: Fix loop in gfs2_rbm_find (v2)
      ef75bd71
    • Linus Torvalds's avatar
      Merge tag '5.2-smb3' of git://git.samba.org/sfrench/cifs-2.6 · 78d9affb
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "CIFS/SMB3 changes:
      
         - three fixes for stable
      
         - add fiemap support
      
         - improve zero-range support
      
         - various RDMA (smb direct fixes)
      
        I have an additional set of fixes (for improved handling of sparse
        files, mode bits, POSIX extensions) that are still being tested that
        are not included in this pull request but I expect to send in the next
        week"
      
      * tag '5.2-smb3' of git://git.samba.org/sfrench/cifs-2.6: (29 commits)
        cifs: update module internal version number
        SMB3: Clean up query symlink when reparse point
        cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
        Negotiate and save preferred compression algorithms
        cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESP
        cifs: fix credits leak for SMB1 oplock breaks
        smb3: Add protocol structs for change notify support
        cifs: fix smb3_zero_range for Azure
        cifs: zero-range does not require the file is sparse
        Add new flag on SMB3.1.1 read
        cifs: add fiemap support
        SMB3: Add defines for new negotiate contexts
        cifs: fix bi-directional fsctl passthrough calls
        cifs: smbd: take an array of reqeusts when sending upper layer data
        SMB3: Add handling for different FSCTL access flags
        cifs: Add support for FSCTL passthrough that write data to the server
        cifs: remove superfluous inode_lock in cifs_{strict_}fsync
        cifs: Call MID callback before destroying transport
        cifs: smbd: Retry on memory registration failure
        cifs: smbd: Indicate to retry on transport sending failure
        ...
      78d9affb
    • Linus Torvalds's avatar
      Merge tag 'docs-5.2' of git://git.lwn.net/linux · 8c79f4cd
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "A reasonably busy cycle for docs, including:
      
         - Lots of work on the Chinese and Italian translations
      
         - Some license-rules clarifications from Christoph
      
         - Various build-script fixes
      
         - A new document on memory models
      
         - RST conversion of the live-patching docs
      
         - The usual collection of typo fixes and corrections"
      
      * tag 'docs-5.2' of git://git.lwn.net/linux: (140 commits)
        docs/livepatch: Unify style of livepatch documentation in the ReST format
        docs: livepatch: convert docs to ReST and rename to *.rst
        scripts/documentation-file-ref-check: detect broken :doc:`foo`
        scripts/documentation-file-ref-check: don't parse Next/ dir
        LICENSES: Rename other to deprecated
        LICENSES: Clearly mark dual license only licenses
        docs: Don't reference the ZLib license in license-rules.rst
        docs/vm: Minor editorial changes in the THP and hugetlbfs
        docs/vm: add documentation of memory models
        doc:it_IT: translation alignment
        doc: fix typo in PGP guide
        dontdiff: update with Kconfig build artifacts
        docs/zh_CN: fix typos in 1.Intro.rst file
        docs/zh_CN: redirect CoC docs to Chinese version
        doc: mm: migration doesn't use FOLL_SPLIT anymore
        docs: doc-guide: remove the extension from .rst files
        doc: kselftest: Fix KBUILD_OUTPUT usage instructions
        docs: trace: fix some Sphinx warnings
        docs: speculation.txt: mark example blocks as such
        docs: ntb.txt: add blank lines to clean up some Sphinx warnings
        ...
      8c79f4cd
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 2646719a
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - allow users to invoke 'make' out of the source tree
      
       - refactor scripts/mkmakefile
      
       - deprecate KBUILD_SRC, which was used to track the source tree
         location for O= build.
      
       - fix recordmcount.pl in case objdump output is localized
      
       - turn unresolved symbols in external modules to errors from warnings
         by default; pass KBUILD_MODPOST_WARN=1 to get them back to warnings
      
       - generate modules.builtin.modinfo to collect .modinfo data from
         built-in modules
      
       - misc Makefile cleanups
      
      * tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (21 commits)
        .gitignore: add more all*.config patterns
        moduleparam: Save information about built-in modules in separate file
        Remove MODULE_ALIAS() calls that take undefined macro
        .gitignore: add leading and trailing slashes to generated directories
        scripts/tags.sh: fix direct execution of scripts/tags.sh
        scripts: override locale from environment when running recordmcount.pl
        samples: kobject: allow CONFIG_SAMPLE_KOBJECT to become y
        samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option
        kbuild: move Documentation to vmlinux-alldirs
        kbuild: move samples/ to KBUILD_VMLINUX_OBJS
        modpost: make KBUILD_MODPOST_WARN also configurable for external modules
        kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build
        kbuild: remove unneeded dependency for include/config/kernel.release
        memory: squash drivers/memory/Makefile.asm-offsets
        kbuild: use $(srctree) instead of KBUILD_SRC to check out-of-tree build
        kbuild: mkmakefile: generate a simple wrapper of top Makefile
        kbuild: mkmakefile: do not check the generated Makefile marker
        kbuild: allow Kbuild to start from any directory
        kbuild: pass $(MAKECMDGOALS) to sub-make as is
        kbuild: fix warning "overriding recipe for target 'Makefile'"
        ...
      2646719a
    • Linus Torvalds's avatar
      Merge tag 'nolibc-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc · 019d7316
      Linus Torvalds authored
      Pull RISC-V nolibc header update from Willy Tarreau:
       "This single commit adds support for the RISCV architecture to the
        nolibc header file. Currently the file is only used by rcutorture but
        Pranith Kumar who contributed it would like to have this work merged.
      
        I only did some trivial tests to verify that it does not break x86,
        which I consider sufficient since all the code is cleanly enclosed
        inside a single #if/endif block"
      
      * tag 'nolibc-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc:
        tool headers nolibc: add RISCV support
      019d7316
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.2-rc1' of git://github.com/c-sky/csky-linux · ce45327c
      Linus Torvalds authored
      Pull arch/csky updates from Guo Ren:
      
       - Fixup vdsp&fpu issues in kernel
      
       - Add dynamic function tracer
      
       - Use in_syscall & forget_syscall instead of r11_sig
      
       - Reconstruct signal processing
      
       - Support dynamic start physical address
      
       - Fixup wrong update_mmu_cache implementation
      
       - Support vmlinux bootup with MMU off
      
       - Use va_pa_offset instead of phys_offset
      
       - Fixup syscall_trace return processing flow
      
       - Add perf callchain support
      
       - Add perf_arch_fetch_caller_regs support
      
       - Add page fault perf event support
      
       - Add support for perf registers sampling
      
      * tag 'csky-for-linus-5.2-rc1' of git://github.com/c-sky/csky-linux:
        csky/syscall_trace: Fixup return processing flow
        csky: Fixup compile warning
        csky: Add support for perf registers sampling
        csky: add page fault perf event support
        csky: Use va_pa_offset instead of phys_offset
        csky: Support vmlinux bootup with MMU off
        csky: Add perf_arch_fetch_caller_regs support
        csky: Fixup wrong update_mmu_cache implementation
        csky: Support dynamic start physical address
        csky: Reconstruct signal processing
        csky: Use in_syscall & forget_syscall instead of r11_sig
        csky: Add non-uapi asm/ptrace.h namespace
        csky: mm/fault.c: Remove duplicate header
        csky: remove redundant generic-y
        csky: Update syscall_trace_enter/exit implementation
        csky: Add perf callchain support
        csky/ftrace: Add dynamic function tracer (include graph tracer)
        csky: Fixup vdsp&fpu issues in kernel
      ce45327c
    • Linus Torvalds's avatar
      Merge tag 'media/v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · e7a1414f
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - remove the deprecated Zoran driver from staging
      
       - new I2C driver: ST MIPID02 CSI-2 camera bridge
      
       - new platform driver: Amlogic Meson AO CEC G12A Controller
      
       - add support for USB audio via the media controller
      
       - au0828 driver is now supported via the media controller on both on
         media and on usbaudio
      
       - new kernel test for the media device allocator
      
       - add support for stateless decoder at vicodec driver
      
       - lots of other driver improvements fixes and cleanups
      
      * tag 'media/v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (218 commits)
        media: dt-bindings: aspeed-video: Add missing memory-region property
        media: platform: Aspeed: Make reserved memory optional
        media: platform: Aspeed: Remove use of reset line
        media: stm32-dcmi: return appropriate error codes during probe
        media: vsp1: Add support for missing 16-bit RGB555 formats
        media: vsp1: Add support for missing 16-bit RGB444 formats
        media: vsp1: Add support for missing 32-bit RGB formats
        media: v4l: Add definitions for missing 16-bit RGB555 formats
        media: v4l: Add definitions for missing 16-bit RGB4444 formats
        media: v4l: Add definitions for missing 32-bit RGB formats
        media: zoran: remove deprecated driver
        media: MAINTAINERS: Update AO CEC with ao-cec-g12a driver
        media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver
        media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible
        media: cros-ec-cec: decrement HDMI device refcount
        media: seco-cec: decrement HDMI device refcount
        media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: stih_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: s5p_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: meson: ao-cec: use new cec_notifier_parse_hdmi_phandle helper
        ...
      e7a1414f
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.2' of git://github.com/cminyard/linux-ipmi · 85c1a254
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "Some minor cleanups for the IPMI driver"
      
      * tag 'for-linus-5.2' of git://github.com/cminyard/linux-ipmi:
        ipmi: Remove warning if no slave address is present
        ipmi:ssif: Only unregister the platform driver if it was registered
        ipmi:ssif: compare block number correctly for multi-part return messages
        ipmi: Add the i2c-addr property for SSIF interfaces
        char/ipmi: fix spelling mistake "receieved_messages" -> "received_messages"
        ipmi: avoid atomic_inc in exit function
        ipmi: Remove file from ipmi_file_private
        ipmi_si: remove an unused variable in try_smi_init()
        ipmi: Make ipmi_interfaces_srcu variable static
      85c1a254
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · fe460a6d
      Linus Torvalds authored
      Pull pin control updates from Linus Walleij:
       "It is pretty calm and chill in pin control for the moment. Just
        incremental development.
      
        There is an odd patch to the Super-H architecture, it's coming from
        the maintainers so should be fine.
      
        Summary:
      
        New drivers:
         - Bitmain BM1880 pin controller
         - Mediatek MT8516
         - Cirrus Logich Lochnagar PMIC pins
      
        Updates:
         - Incremental development on Renesas SH-PFC
         - Incremental development on Intel pin controller and some particular
           updates for Cedarfork.
         - Pin configuration support in Allwinner SunXi drivers
         - Suspend/resume support in the NXP/Freescale i.MX8MQ driver
         - Support for more packaging of the ST Micro STM32"
      
      * tag 'pinctrl-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (72 commits)
        pinctrl: mcp23s08: Do not complain about unsupported params
        pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
        MAINTAINERS: Add entry for BM1880 pinctrl
        pinctrl: Add pinctrl support for BM1880 SoC
        dt-bindings: pinctrl: Add BM1880 pinctrl binding
        pinctrl: stm32: check irq controller availability at probe
        pinctrl: mediatek: Add MT8516 Pinctrl driver
        pinctrl: zte: fix leaked of_node references
        pinctrl: intel: Increase readability of intel_gpio_update_pad_mode()
        pinctrl: intel: Retain HOSTSW_OWN for requested gpio pin
        pinctrl: pistachio: fix leaked of_node references
        pinctrl: sunxi: Support I/O bias voltage setting on H6
        pinctrl: sunxi: Prepare for alternative bias voltage setting methods
        pinctrl: st: fix leaked of_node references
        pinctrl: samsung: fix leaked of_node references
        pinctrl: stm32: align stm32mp157 pin names
        pinctrl: stm32: add package information for stm32mp157c
        pinctrl: stm32: introduce package support
        dt-bindings: pinctrl: stm32: add new entry for package information
        pinctrl: imx8mq: Add suspend/resume ops
        ...
      fe460a6d
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · d1cd7c85
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This is mostly update of the usual drivers: qla2xxx, qedf, smartpqi,
        hpsa, lpfc, ufs, mpt3sas, ibmvfc and hisi_sas. Plus number of minor
        changes, spelling fixes and other trivia"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (298 commits)
        scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
        scsi: qla2xxx: Avoid that qlt_send_resp_ctio() corrupts memory
        scsi: qla2xxx: Fix hardirq-unsafe locking
        scsi: qla2xxx: Complain loudly about reference count underflow
        scsi: qla2xxx: Use __le64 instead of uint32_t[2] for sending DMA addresses to firmware
        scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures
        scsi: qla2xxx: Check the size of firmware data structures at compile time
        scsi: qla2xxx: Pass little-endian values to the firmware
        scsi: qla2xxx: Fix race conditions in the code for aborting SCSI commands
        scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp()
        scsi: qla2xxx: Make qla24xx_async_abort_cmd() static
        scsi: qla2xxx: Remove unnecessary locking from the target code
        scsi: qla2xxx: Remove qla_tgt_cmd.released
        scsi: qla2xxx: Complain if a command is released that is owned by the firmware
        scsi: qla2xxx: target: Fix offline port handling and host reset handling
        scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
        scsi: qla2xxx: Fix error handling in qlt_alloc_qfull_cmd()
        scsi: qla2xxx: Simplify qlt_send_term_imm_notif()
        scsi: qla2xxx: Fix use-after-free issues in qla2xxx_qpair_sp_free_dma()
        scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
        ...
      d1cd7c85
    • Linus Torvalds's avatar
      Merge tag 'tty-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · b3a5e648
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the "big" set of tty/serial driver patches for 5.2-rc1.
      
        It's really pretty small, not much happening in this portion of the
        kernel at the moment. When the "highlight" is the movement of the
        documentation from .txt to .rst files, it's a good merge window.
      
        There's a number of small fixes and updates over the various serial
        drivers, and a new "tty null" driver for those embedded systems that
        like to make things even smaller and not break things.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'tty-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (45 commits)
        tty: serial: add driver for the SiFive UART
        dt-bindings: serial: add documentation for the SiFive UART driver
        serial: uartps: Add support for cts-override
        dt-bindings: xilinx-uartps: Add support for cts-override
        serial: milbeaut_usio: Fix error handling in probe and remove
        tty: rocket: deprecate the rp_ioctl
        tty: rocket: Remove RCPK_GET_STRUCT ioctl
        tty: update obsolete termios comment
        tty: serial_core: fix error code returned by uart_register_driver()
        serial: 8250-mtk: modify baudrate setting
        serial: 8250-mtk: add follow control
        docs: serial: convert docs to ReST and rename to *.rst
        serial: 8250_exar: Adjust IOT2000 matching
        TTY: serial_core, add ->install
        serial: Fix using plain integer instead of Null pointer
        tty:serial_core: Spelling mistake
        tty: Add NULL TTY driver
        tty: vt: keyboard: Allow Unicode compose base char
        Revert "tty: fix NULL pointer issue when tty_port ops is not set"
        serial: Add Milbeaut serial control
        ...
      b3a5e648
    • Linus Torvalds's avatar
      Merge tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 132d68d3
      Linus Torvalds authored
      Pull USB/PHY updates from Greg KH:
       "Here is the big set of USB and PHY driver patches for 5.2-rc1
      
        There is the usual set of:
      
         - USB gadget updates
      
         - PHY driver updates and additions
      
         - USB serial driver updates and fixes
      
         - typec updates and new chips supported
      
         - mtu3 driver updates
      
         - xhci driver updates
      
         - other tiny driver updates
      
        Nothing really interesting, just constant forward progress.
      
        All of these have been in linux-next for a while with no reported
        issues. The usb-gadget and usb-serial trees were merged a bit "late",
        but both of them had been in linux-next before they got merged here
        last Friday"
      
      * tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (206 commits)
        USB: serial: f81232: implement break control
        USB: serial: f81232: add high baud rate support
        USB: serial: f81232: clear overrun flag
        USB: serial: f81232: fix interrupt worker not stop
        usb: dwc3: Rename DWC3_DCTL_LPM_ERRATA
        usb: dwc3: Fix default lpm_nyet_threshold value
        usb: dwc3: debug: Print GET_STATUS(device) tracepoint
        usb: dwc3: Do core validation early on probe
        usb: dwc3: gadget: Set lpm_capable
        usb: gadget: atmel: tie wake lock to running clock
        usb: gadget: atmel: support USB suspend
        usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask
        dwc2: gadget: Fix completed transfer size calculation in DDMA
        usb: dwc2: Set lpm mode parameters depend on HW configuration
        usb: dwc2: Fix channel disable flow
        usb: dwc2: Set actual frame number for completed ISOC transfer
        usb: gadget: do not use __constant_cpu_to_le16
        usb: dwc2: gadget: Increase descriptors count for ISOC's
        usb: introduce usb_ep_type_string() function
        usb: dwc3: move synchronize_irq() out of the spinlock protected block
        ...
      132d68d3
    • Pranith Kumar's avatar
      tool headers nolibc: add RISCV support · 582e84f7
      Pranith Kumar authored
      This adds support for the RISCV architecture (32 and 64 bit) to the
      nolibc header file.
      Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
      [willy: minimal rewording of the commit message]
      Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
      582e84f7
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next · 80f23212
      Linus Torvalds authored
      Pull networking updates from David Miller:
       "Highlights:
      
         1) Support AES128-CCM ciphers in kTLS, from Vakul Garg.
      
         2) Add fib_sync_mem to control the amount of dirty memory we allow to
            queue up between synchronize RCU calls, from David Ahern.
      
         3) Make flow classifier more lockless, from Vlad Buslov.
      
         4) Add PHY downshift support to aquantia driver, from Heiner
            Kallweit.
      
         5) Add SKB cache for TCP rx and tx, from Eric Dumazet. This reduces
            contention on SLAB spinlocks in heavy RPC workloads.
      
         6) Partial GSO offload support in XFRM, from Boris Pismenny.
      
         7) Add fast link down support to ethtool, from Heiner Kallweit.
      
         8) Use siphash for IP ID generator, from Eric Dumazet.
      
         9) Pull nexthops even further out from ipv4/ipv6 routes and FIB
            entries, from David Ahern.
      
        10) Move skb->xmit_more into a per-cpu variable, from Florian
            Westphal.
      
        11) Improve eBPF verifier speed and increase maximum program size,
            from Alexei Starovoitov.
      
        12) Eliminate per-bucket spinlocks in rhashtable, and instead use bit
            spinlocks. From Neil Brown.
      
        13) Allow tunneling with GUE encap in ipvs, from Jacky Hu.
      
        14) Improve link partner cap detection in generic PHY code, from
            Heiner Kallweit.
      
        15) Add layer 2 encap support to bpf_skb_adjust_room(), from Alan
            Maguire.
      
        16) Remove SKB list implementation assumptions in SCTP, your's truly.
      
        17) Various cleanups, optimizations, and simplifications in r8169
            driver. From Heiner Kallweit.
      
        18) Add memory accounting on TX and RX path of SCTP, from Xin Long.
      
        19) Switch PHY drivers over to use dynamic featue detection, from
            Heiner Kallweit.
      
        20) Support flow steering without masking in dpaa2-eth, from Ioana
            Ciocoi.
      
        21) Implement ndo_get_devlink_port in netdevsim driver, from Jiri
            Pirko.
      
        22) Increase the strict parsing of current and future netlink
            attributes, also export such policies to userspace. From Johannes
            Berg.
      
        23) Allow DSA tag drivers to be modular, from Andrew Lunn.
      
        24) Remove legacy DSA probing support, also from Andrew Lunn.
      
        25) Allow ll_temac driver to be used on non-x86 platforms, from Esben
            Haabendal.
      
        26) Add a generic tracepoint for TX queue timeouts to ease debugging,
            from Cong Wang.
      
        27) More indirect call optimizations, from Paolo Abeni"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1763 commits)
        cxgb4: Fix error path in cxgb4_init_module
        net: phy: improve pause mode reporting in phy_print_status
        dt-bindings: net: Fix a typo in the phy-mode list for ethernet bindings
        net: macb: Change interrupt and napi enable order in open
        net: ll_temac: Improve error message on error IRQ
        net/sched: remove block pointer from common offload structure
        net: ethernet: support of_get_mac_address new ERR_PTR error
        net: usb: smsc: fix warning reported by kbuild test robot
        staging: octeon-ethernet: Fix of_get_mac_address ERR_PTR check
        net: dsa: support of_get_mac_address new ERR_PTR error
        net: dsa: sja1105: Fix status initialization in sja1105_get_ethtool_stats
        vrf: sit mtu should not be updated when vrf netdev is the link
        net: dsa: Fix error cleanup path in dsa_init_module
        l2tp: Fix possible NULL pointer dereference
        taprio: add null check on sched_nest to avoid potential null pointer dereference
        net: mvpp2: cls: fix less than zero check on a u32 variable
        net_sched: sch_fq: handle non connected flows
        net_sched: sch_fq: do not assume EDT packets are ordered
        net: hns3: use devm_kcalloc when allocating desc_cb
        net: hns3: some cleanup for struct hns3_enet_ring
        ...
      80f23212
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 82efe439
      Linus Torvalds authored
      Pull Devicetree updates from Rob Herring:
      
       - Fix possible memory leak in reserved-memory failure case
      
       - Support for DMA parent bus which are not a parent node
      
       - Clang -Wunsequenced fix
      
       - Remove some unnecessary prints on memory alloc failures
      
       - Various printk msg and comment fixes
      
       - Update DT schema tools repository location
      
       - Convert simple-framebuffer binding to DT schema
      
       - Bindings for isl68137 and ir38064 trivial devices
      
       - New documentation on binding do's and don't's for binding writers to
         ignore
      
      * tag 'devicetree-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (22 commits)
        of: unittest: Remove error printing on OOM
        of: irq: Remove WARN_ON() for kzalloc() failure
        dt-bindings: pinctrl: fix bias-pull,up typo
        dt-bindings: Update schema project location to devicetree.org github group
        of: fix clang -Wunsequenced for be32_to_cpu()
        of/device.c: fix the wrong comments
        dt-bindings: Add isl68137 as a trivial device
        dt-bindings: Add ir38064 as a trivial device
        of: del redundant type conversion
        dt-bindings: mfd: axp20x: Add fallback for axp805
        of: Improve of_phandle_iterator_next() error message
        dt-bindings: connector: Spelling mistake
        dt-bindings: Add schemas for simple-framebuffer
        of: address: Add support for the parent DMA bus
        of: address: Retrieve a parent through a callback in __of_translate_address
        dt-bindings: bus: Add binding for the Allwinner MBUS controller
        dt-bindings: interconnect: Add a dma interconnect name
        of: use correct function prototype for of_overlay_fdt_apply()
        of: reserved_mem: fix reserve memory leak
        of: property: Document that of_graph_get_endpoint_by_regs needs of_node_put
        ...
      82efe439
    • Linus Torvalds's avatar
      Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random · dd5001e2
      Linus Torvalds authored
      Pull randomness updates from Ted Ts'o:
      
       - initialize the random driver earler
      
       - fix CRNG initialization when we trust the CPU's RNG on NUMA systems
      
       - other miscellaneous cleanups and fixes.
      
      * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
        random: add a spinlock_t to struct batched_entropy
        random: document get_random_int() family
        random: fix CRNG initialization when random.trust_cpu=1
        random: move rand_initialize() earlier
        random: only read from /dev/random after its pool has received 128 bits
        drivers/char/random.c: make primary_crng static
        drivers/char/random.c: remove unused stuct poolinfo::poolbits
        drivers/char/random.c: constify poolinfo_table
      dd5001e2
    • Linus Torvalds's avatar
      Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt · a9fbcd67
      Linus Torvalds authored
      Pull fscrypt updates from Ted Ts'o:
       "Clean up fscrypt's dcache revalidation support, and other
        miscellaneous cleanups"
      
      * tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt:
        fscrypt: cache decrypted symlink target in ->i_link
        vfs: use READ_ONCE() to access ->i_link
        fscrypt: fix race where ->lookup() marks plaintext dentry as ciphertext
        fscrypt: only set dentry_operations on ciphertext dentries
        fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directory
        fscrypt: fix race allowing rename() and link() of ciphertext dentries
        fscrypt: clean up and improve dentry revalidation
        fscrypt: use READ_ONCE() to access ->i_crypt_info
        fscrypt: remove WARN_ON_ONCE() when decryption fails
        fscrypt: drop inode argument from fscrypt_get_ctx()
      a9fbcd67
    • Steve French's avatar
      cifs: update module internal version number · cb4f7bf6
      Steve French authored
      To 2.20
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      cb4f7bf6
    • Ronnie Sahlberg's avatar
      SMB3: Clean up query symlink when reparse point · ebaf546a
      Ronnie Sahlberg authored
      Two of the common symlink formats use reparse points
      (unlike mfsymlinks and also unlike the SMB1 posix
      extensions).  This is the first part of the fixes
      to allow these reparse points (NFS style and Windows
      symlinks) to be resolved properly as symlinks by the
      client.
      Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      ebaf546a
    • Christoph Probst's avatar
      cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level() · 6a54b2e0
      Christoph Probst authored
      Change strcat to strncpy in the "None" case to fix a buffer overflow
      when cinode->oplock is reset to 0 by another thread accessing the same
      cinode. It is never valid to append "None" to any other message.
      
      Consolidate multiple writes to cinode->oplock to reduce raciness.
      Signed-off-by: default avatarChristoph Probst <kernel@probst.it>
      Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      CC: Stable <stable@vger.kernel.org>
      6a54b2e0
    • Steve French's avatar
      Negotiate and save preferred compression algorithms · 26ea888f
      Steve French authored
      New negotiate context (3) allows the server and client to
      negotiate which compression algorithms to use. Add support
      for this and save it off in the server structure.
      
      Also now displayed in /proc/fs/cifs/DebugData (see below example
      to Windows 10) where compression algoirthm "LZ77" was negotiated:
      
      Servers:
      Number of credits: 326 Dialect 0x311 COMPRESS_LZ77 signed
      1) Name: 192.168.92.17 Uses: 1 Capability: 0x300067	Session Status: 1 TCP status: 1 Instance: 1
      
      See MS-XCA and MS-SMB2 2.2.3.1 for more details.
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      26ea888f
    • Ronnie Sahlberg's avatar
      cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESP · 392e1c5d
      Ronnie Sahlberg authored
      The flags were named confusingly.
      CIFS_ASYNC_OP now just means that we will not block waiting for credits
      to become available so we thus rename this to be CIFS_NON_BLOCKING.
      
      Change CIFS_NO_RESP to CIFS_NO_RSP_BUF to clarify that we will actually get a
      response from the server but we will not get/do not want a response buffer.
      
      Delete CIFSSMBNotify. This is an SMB1 function that is not used.
      Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      392e1c5d
    • Ronnie Sahlberg's avatar
      cifs: fix credits leak for SMB1 oplock breaks · d69cb728
      Ronnie Sahlberg authored
      For SMB1 oplock breaks we would grab one credit while sending the PDU
      but we would never relese the credit back since we will never receive a
      response to this from the server. Eventuallt this would lead to a hang
      once all credits are leaked.
      
      Fix this by defining a new flag CIFS_NO_SRV_RSP which indicates that there
      is no server response to this command and thus we need to add any credits back
      immediately after sending the PDU.
      
      CC: Stable <stable@vger.kernel.org> #v5.0+
      Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      d69cb728
    • Steve French's avatar
      smb3: Add protocol structs for change notify support · edf3ef37
      Steve French authored
      Add the SMB3 protocol flag definitions and structs for
      change notify.  Future patches will add the hooks to
      allow it to be invoked from the client.
      
      See MS-FSCC 2.6 and MS-SMB2 2.2.35
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      edf3ef37
    • Ronnie Sahlberg's avatar
      cifs: fix smb3_zero_range for Azure · c425014a
      Ronnie Sahlberg authored
      For zero-range that also extend the file we were sending this as a
      compound of two different operations; a fsctl to set-zero-data for the range
      and then an additional set-info to extend the file size.
      This does not work for Azure since it does not support this fsctl which leads
      to fallocate(FALLOC_FL_ZERO_RANGE) failing but still changing the file size.
      
      To fix this we un-compound this and send these two operations as separate
      commands, firsat one command to set-zero-data for the range and it this
      was successful we proceed to send a set-info to update the file size.
      
      This fixes xfstest generic/469 for Azure servers.
      Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      c425014a
    • Ronnie Sahlberg's avatar
      cifs: zero-range does not require the file is sparse · c7fe388d
      Ronnie Sahlberg authored
      Remove the conditional to fail zero-range if the file is not flagged as sparse.
      You can still zero out a range in SMB2 even for non-sparse files.
      
      Tested with stock windows16 server.
      
      Fixes 5 xfstests (033, 149, 155, 180, 349)
      Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      c7fe388d
    • Steve French's avatar
      Add new flag on SMB3.1.1 read · 0df7edd9
      Steve French authored
      For compressed read support.  See MS-SMB2 3.1.4.4
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      0df7edd9