1. 20 Dec, 2019 5 commits
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 6398b9fc
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and other driver fixes for 5.5-rc3.
      
        The most noticable one is a much-reported fix for a random driver
        issue that came up from 5.5-rc1 compat_ioctl cleanups. The others are
        a chunk of habanalab driver fixes and intel_th driver fixes and new
        device ids.
      
        All have been in linux-next with no reported issues"
      
      * tag 'char-misc-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        random: don't forget compat_ioctl on urandom
        intel_th: msu: Fix window switching without windows
        intel_th: Fix freeing IRQs
        intel_th: pci: Add Elkhart Lake SOC support
        intel_th: pci: Add Comet Lake PCH-V support
        habanalabs: remove variable 'val' set but not used
        habanalabs: rate limit error msg on waiting for CS
      6398b9fc
    • Linus Torvalds's avatar
      Merge tag 'staging-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 107aff96
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are some small staging driver fixes for a number of reported
        issues.
      
        The majority here are some fixes for the wfx driver, but also in here
        is a comedi driver fix found during some code review, and an axis-fifo
        build dependancy issue to resolve some reported testing problems.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'staging-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: wfx: fix wrong error message
        staging: wfx: fix hif_set_mfp() with big endian hosts
        staging: wfx: detect race condition in WEP authentication
        staging: wfx: ensure that retry policy always fallbacks to MCS0 / 1Mbps
        staging: wfx: fix rate control handling
        staging: wfx: firmware does not support more than 32 total retries
        staging: wfx: use boolean appropriately
        staging: wfx: fix counter overflow
        staging: wfx: fix case of lack of tx_retry_policies
        staging: wfx: fix the cache of rate policies on interface reset
        staging: axis-fifo: add unspecified HAS_IOMEM dependency
        staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value
      107aff96
    • Linus Torvalds's avatar
      Merge tag 'tty-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 1a4ee867
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 5.5-rc3.
      
        Only four small patches here:
      
         - atmel serial driver fix
      
         - msm_serial driver fix
      
         - sprd serial driver fix
      
         - tty core port fix
      
        The last tty core fix should resolve a long-standing bug with a race
        at port creation time that some people would see, and Sudip finally
        tracked down.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty/serial: atmel: fix out of range clock divider handling
        tty: link tty and port before configuring it as console
        serial: sprd: Add clearing break interrupt operation
        tty: serial: msm_serial: Fix lockup for sysrq and oops
      1a4ee867
    • Linus Torvalds's avatar
      Merge tag 'usb-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 7181aba1
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for some reported issues.
      
        Included in here are:
      
         - xhci build warning fix
      
         - ehci disconnect warning fix
      
         - usbip lockup fix and error cleanup fix
      
         - typec build fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: xhci: Fix build warning seen with CONFIG_PM=n
        usbip: Fix error path of vhci_recv_ret_submit()
        usbip: Fix receive error in vhci-hcd when using scatter-gather
        USB: EHCI: Do not return -EPIPE when hub is disconnected
        usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state'
      7181aba1
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 7190a23a
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Sorry that this fixes pull request took a while. Too much christmas
        business going on.
      
        This contains a few really important Intel fixes and some odd fixes:
      
         - A host of fixes for the Intel baytrail and cherryview: properly
           serialize all register accesses and add the irqchip with the
           gpiochip as we need to, fix some pin lists and initialize the
           hardware in the right order.
      
         - Fix the Aspeed G6 LPC configuration.
      
         - Handle a possible NULL pointer exception in the core.
      
         - Fix the Kconfig dependencies for the Equilibrium driver"
      
      * tag 'pinctrl-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: ingenic: Fixup PIN_CONFIG_OUTPUT config
        pinctrl: Modify Kconfig to fix linker error
        pinctrl: pinmux: fix a possible null pointer in pinmux_can_be_used_for_gpio
        pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration
        pinctrl: cherryview: Pass irqchip when adding gpiochip
        pinctrl: cherryview: Add GPIO <-> pin mapping ranges via callback
        pinctrl: cherryview: Split out irq hw-init into a separate helper function
        pinctrl: baytrail: Pass irqchip when adding gpiochip
        pinctrl: baytrail: Add GPIO <-> pin mapping ranges via callback
        pinctrl: baytrail: Update North Community pin list
        pinctrl: baytrail: Really serialize all register accesses
      7190a23a
  2. 19 Dec, 2019 5 commits
  3. 18 Dec, 2019 18 commits
  4. 17 Dec, 2019 12 commits
    • Linus Torvalds's avatar
      Merge tag 'for-5.5-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 2187f215
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A mix of regression fixes and regular fixes for stable trees:
      
         - fix swapped error messages for qgroup enable/rescan
      
         - fixes for NO_HOLES feature with clone range
      
         - fix deadlock between iget/srcu lock/synchronize srcu while freeing
           an inode
      
         - fix double lock on subvolume cross-rename
      
         - tree log fixes
            * fix missing data checksums after replaying a log tree
            * also teach tree-checker about this problem
            * skip log replay on orphaned roots
      
         - fix maximum devices constraints for RAID1C -3 and -4
      
         - send: don't print warning on read-only mount regarding orphan
           cleanup
      
         - error handling fixes"
      
      * tag 'for-5.5-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: send: remove WARN_ON for readonly mount
        btrfs: do not leak reloc root if we fail to read the fs root
        btrfs: skip log replay on orphaned roots
        btrfs: handle ENOENT in btrfs_uuid_tree_iterate
        btrfs: abort transaction after failed inode updates in create_subvol
        Btrfs: fix hole extent items with a zero size after range cloning
        Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues
        Btrfs: make tree checker detect checksum items with overlapping ranges
        Btrfs: fix missing data checksums after replaying a log tree
        btrfs: return error pointer from alloc_test_extent_buffer
        btrfs: fix devs_max constraints for raid1c3 and raid1c4
        btrfs: tree-checker: Fix error format string for size_t
        btrfs: don't double lock the subvol_sem for rename exchange
        btrfs: handle error in btrfs_cache_block_group
        btrfs: do not call synchronize_srcu() in inode_tree_del
        Btrfs: fix cloning range with a hole when using the NO_HOLES feature
        btrfs: Fix error messages in qgroup_rescan_init
      2187f215
    • Linus Torvalds's avatar
      early init: fix error handling when opening /dev/console · 2d3145f8
      Linus Torvalds authored
      The comment says "this should never fail", but it definitely can fail
      when you have odd initial boot filesystems, or kernel configurations.
      
      So get the error handling right: filp_open() returns an error pointer.
      Reported-by: default avatarJesse Barnes <jsbarnes@google.com>
      Reported-by: default avataryouling 257 <youling257@gmail.com>
      Fixes: 8243186f ("fs: remove ksys_dup()")
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2d3145f8
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v5.5-rc2' of... · 58d90a04
      Linus Torvalds authored
      Merge tag 'regulator-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "A small set of fixes for mostly minor issues here, the only real code
        ones are Wen Yang's fixes for error handling in the core and Christian
        Marussi's list_voltage() change which is a fix for disruptively bad
        performance for regulators with continuous voltage control (which are
        rare)"
      
      * tag 'regulator-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: rn5t618: fix module aliases
        regulator: max77650: add of_match table
        regulator: core: avoid unneeded .list_voltage calls
        regulator: s5m8767: Fix a warning message
        regulator: core: fix regulator_register() error paths to properly release rdev
        regulator: fix use after free issue
      58d90a04
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · a922f1a9
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A relatively large set of fixes here, the biggest part of it is for
        fallout from the GPIO descriptor rework that affected several of the
        devices with usable native chip select support. There's also some new
        PCI IDs for Intel Jasper Lake devices.
      
        The conversion to platform_get_irq() in the fsl driver is an
        incremental fix for build errors introduced on SPARC by the earlier
        fix for error handling in probe in that driver"
      
      * tag 'spi-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: fsl: use platform_get_irq() instead of of_irq_to_resource()
        spi: nxp-fspi: Ensure width is respected in spi-mem operations
        spi: spi-ti-qspi: Fix a bug when accessing non default CS
        spi: fsl: don't map irq during probe
        spi: spi-cavium-thunderx: Add missing pci_release_regions()
        spi: sprd: Fix the incorrect SPI register
        gpiolib: of: Make of_gpio_spi_cs_get_count static
        spi: fsl: Handle the single hardwired chipselect case
        gpio: Handle counting of Freescale chipselects
        spi: fsl: Fix GPIO descriptor support
        spi: dw: Correct handling of native chipselect
        spi: cadence: Correct handling of native chipselect
        spi: pxa2xx: Add support for Intel Jasper Lake
      a922f1a9
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9065e063
      Linus Torvalds authored
      Pull x86 fix from Ingo Molnar:
       "Fix kexec booting with certain EFI memory map layouts"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/efi: Update e820 with reserved EFI boot services data to fix kexec breakage
      9065e063
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2abf1932
      Linus Torvalds authored
      Pull timer fixes from Ingo Molnar:
       "Add HPET quirks for the Intel 'Coffee Lake H' and 'Ice Lake' platforms"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/intel: Disable HPET on Intel Ice Lake platforms
        x86/intel: Disable HPET on Intel Coffee Lake H platforms
      2abf1932
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4340ebd1
      Linus Torvalds authored
      Pull scheduler fix from Ingo Molnar:
       "Fix the guest-nice cpustat values in /proc"
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/cputime, proc/stat: Fix incorrect guest nice cpustat value
      4340ebd1
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 89c683cd
      Linus Torvalds authored
      Pull perf tooling fixes from Ingo  Molnar:
       "These are all perf tooling changes: most of them are fixes.
      
        Note that the large CPU count related fixes go beyond regression
        fixes, but the IPI-flood symptoms are severe enough that I think
        justifies their inclusion"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (38 commits)
        perf vendor events s390: Remove name from L1D_RO_EXCL_WRITES description
        perf vendor events s390: Fix counter long description for DTLB1_GPAGE_WRITES
        libtraceevent: Allow custom libdir path
        perf header: Fix false warning when there are no duplicate cache entries
        perf metricgroup: Fix printing event names of metric group with multiple events
        perf/x86/pmu-events: Fix Kernel_Utilization metric
        perf top: Do not bail out when perf_env__read_cpuid() returns ENOSYS
        perf arch: Make the default get_cpuid() return compatible error
        tools headers kvm: Sync linux/kvm.h with the kernel sources
        tools headers UAPI: Update tools's copy of drm.h headers
        tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
        perf inject: Fix processing of ID index for injected instruction tracing
        perf report: Bail out --mem-mode if mem info is not available
        perf report: Make -F more strict like -s
        perf report/top TUI: Replace pr_err() with ui__error()
        libtraceevent: Copy pkg-config file to output folder when using O=
        libtraceevent: Fix lib installation with O=
        perf kvm: Clarify the 'perf kvm' -i and -o command line options
        tools arch x86: Sync asm/cpufeatures.h with the kernel sources
        perf beauty: Add CLEAR_SIGHAND support for clone's flags arg
        ...
      89c683cd
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9e8a0d5f
      Linus Torvalds authored
      Pull locking fixes from Ingo Molnar:
       "Tone down mutex debugging complaints, and annotate/fix spinlock
        debugging data accesses for KCSAN"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "locking/mutex: Complain upon mutex API misuse in IRQ contexts"
        locking/spinlock/debug: Fix various data races
      9e8a0d5f
    • Linus Torvalds's avatar
      Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a114a18c
      Linus Torvalds authored
      Pull EFI fixes from Ingo Molnar:
       "Protect presistent EFI memory reservations from kexec, fix EFIFB early
        console, EFI stub graphics output fixes and other misc fixes."
      
      * 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi: Don't attempt to map RCI2 config table if it doesn't exist
        efi/earlycon: Remap entire framebuffer after page initialization
        efi: Fix efi_loaded_image_t::unload type
        efi/gop: Fix memory leak in __gop_query32/64()
        efi/gop: Return EFI_SUCCESS if a usable GOP was found
        efi/gop: Return EFI_NOT_FOUND if there are no usable GOPs
        efi/memreserve: Register reservations as 'reserved' in /proc/iomem
      a114a18c
    • Jason A. Donenfeld's avatar
      random: don't forget compat_ioctl on urandom · 4aa37c46
      Jason A. Donenfeld authored
      Recently, there's been some compat ioctl cleanup, in which large
      hardcoded lists were replaced with compat_ptr_ioctl. One of these
      changes involved removing the random.c hardcoded list entries and adding
      a compat ioctl function pointer to the random.c fops. In the process,
      urandom was forgotten about, so this commit fixes that oversight.
      
      Fixes: 507e4e2b ("compat_ioctl: remove /dev/random commands")
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Link: https://lore.kernel.org/r/20191217172455.186395-1-Jason@zx2c4.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4aa37c46
    • Suwan Kim's avatar
      usbip: Fix error path of vhci_recv_ret_submit() · aabb5b83
      Suwan Kim authored
      If a transaction error happens in vhci_recv_ret_submit(), event
      handler closes connection and changes port status to kick hub_event.
      Then hub tries to flush the endpoint URBs, but that causes infinite
      loop between usb_hub_flush_endpoint() and vhci_urb_dequeue() because
      "vhci_priv" in vhci_urb_dequeue() was already released by
      vhci_recv_ret_submit() before a transmission error occurred. Thus,
      vhci_urb_dequeue() terminates early and usb_hub_flush_endpoint()
      continuously calls vhci_urb_dequeue().
      
      The root cause of this issue is that vhci_recv_ret_submit()
      terminates early without giving back URB when transaction error
      occurs in vhci_recv_ret_submit(). That causes the error URB to still
      be linked at endpoint list without “vhci_priv".
      
      So, in the case of transaction error in vhci_recv_ret_submit(),
      unlink URB from the endpoint, insert proper error code in
      urb->status and give back URB.
      Reported-by: default avatarMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
      Tested-by: default avatarMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
      Signed-off-by: default avatarSuwan Kim <suwan.kim027@gmail.com>
      Cc: stable <stable@vger.kernel.org>
      Acked-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Link: https://lore.kernel.org/r/20191213023055.19933-3-suwan.kim027@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      aabb5b83