1. 12 Sep, 2020 3 commits
  2. 11 Sep, 2020 11 commits
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.9-rc5' of git://github.com/ceph/ceph-client · 729e3d09
      Linus Torvalds authored
      Pull ceph fix from Ilya Dryomov:
       "Add missing capability checks in rbd, marked for stable"
      
      * tag 'ceph-for-5.9-rc5' of git://github.com/ceph/ceph-client:
        rbd: require global CAP_SYS_ADMIN for mapping and unmapping
      729e3d09
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · e9287bd2
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "Usual driver bugfixes for the I2C subsystem"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: algo: pca: Reapply i2c bus settings after reset
        i2c: npcm7xx: Fix timeout calculation
        misc: eeprom: at24: register nvmem only after eeprom is ready to use
      e9287bd2
    • Linus Torvalds's avatar
      Merge tag 'pm-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 566e24ee
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix three pieces of documentation and add new CPU IDs to the
        Intel RAPL power capping driver.
      
        Specifics:
      
         - Add CPU IDs of the TigerLake Desktop, RocketLake and AlderLake
           chips to the Intel RAPL power capping driver (Zhang Rui).
      
         - Add the missing energy model performance domain item to the struct
           device kerneldoc comment (Randy Dunlap).
      
         - Fix the struct powercap_control_type kerneldoc comment to match the
           actual definition of that structure and add missing item to the
           struct powercap_zone_ops kerneldoc comment (Amit Kucheria)"
      
      * tag 'pm-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        powercap: make documentation reflect code
        PM: <linux/device.h>: fix @em_pd kernel-doc warning
        powercap/intel_rapl: add support for AlderLake
        powercap/intel_rapl: add support for RocketLake
        powercap/intel_rapl: add support for TigerLake Desktop
      566e24ee
    • Linus Torvalds's avatar
      Merge tag 'block-5.9-2020-09-11' of git://git.kernel.dk/linux-block · 7b8731d9
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Fix a regression in bdev partition locking (Christoph)
      
       - NVMe pull request from Christoph:
            - cancel async events before freeing them (David Milburn)
            - revert a broken race fix (James Smart)
            - fix command processing during resets (Sagi Grimberg)
      
       - Fix a kyber crash with requeued flushes (Omar)
      
       - Fix __bio_try_merge_page() same_page error for no merging (Ritesh)
      
      * tag 'block-5.9-2020-09-11' of git://git.kernel.dk/linux-block:
        block: Set same_page to false in __bio_try_merge_page if ret is false
        nvme-fabrics: allow to queue requests for live queues
        block: only call sched requeue_request() for scheduled requests
        nvme-tcp: cancel async events before freeing event struct
        nvme-rdma: cancel async events before freeing event struct
        nvme-fc: cancel async events before freeing event struct
        nvme: Revert: Fix controller creation races with teardown flow
        block: restore a specific error code in bdev_del_partition
      7b8731d9
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · e8878ab8
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "There's some driver specific fixes here plus one core fix for memory
        leaks that could be triggered by a potential race condition when
        cleaning up after we have split transfers to fit into what the
        controller can support"
      
      * tag 'spi-fix-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: stm32: fix pm_runtime_get_sync() error checking
        spi: Fix memory leak on splited transfers
        spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads
        spi: stm32: Rate-limit the 'Communication suspended' message
        spi: spi-loopback-test: Fix out-of-bounds read
        spi: spi-cadence-quadspi: Populate get_name() interface
        MAINTAINERS: add myself as maintainer for spi-fsl-dspi driver
      e8878ab8
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v5.9-rc4' of... · 8b6ce251
      Linus Torvalds authored
      Merge tag 'regulator-fix-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "The biggest set of fixes here is those from Michał Mirosław fixing
        some locking issues with coupled regulators that are triggered in
        cases where a coupled regulator is used by a device involved in
        fs_reclaim like eMMC storage.
      
        These are relatively serious for the affected systems, though the
        circumstances where they trigger are very rare"
      
      * tag 'regulator-fix-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: pwm: Fix machine constraints application
        regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()
        regulator: remove superfluous lock in regulator_resolve_coupling()
        regulator: cleanup regulator_ena_gpio_free()
        regulator: plug of_node leak in regulator_register()'s error path
        regulator: push allocation in set_consumer_device_supply() out of lock
        regulator: push allocations in create_regulator() outside of lock
        regulator: push allocation in regulator_ena_gpio_request() out of lock
        regulator: push allocation in regulator_init_coupling() outside of lock
        regulator: fix spelling mistake "Cant" -> "Can't"
        regulator: cros-ec-regulator: Add NULL test for devm_kmemdup call
      8b6ce251
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 063d6a4c
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "MMC core:
         - sdio: Restore ~20% performance drop for SDHCI drivers, by using
           mmc_pre_req() and mmc_post_req() for SDIO requests.
      
        MMC host:
         - sdhci-of-esdhc: Fix support for erratum eSDHC7
         - mmc_spi: Allow the driver to be built when CONFIG_HAS_DMA is unset
         - sdhci-msm: Use retries to fix tuning
         - sdhci-acpi: Fix resume for eMMC HS400 mode"
      
      * tag 'mmc-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdio: Use mmc_pre_req() / mmc_post_req()
        mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
        mmc: mmc_spi: Allow the driver to be built when CONFIG_HAS_DMA is unset
        mmc: sdhci-msm: Add retries when all tuning phases are found valid
        mmc: sdhci-acpi: Clear amd_sdhci_host on reset
      063d6a4c
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-09-11' of git://anongit.freedesktop.org/drm/drm · d67f2ec1
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular fixes, not much a major amount. One thing though is Laurent
        fixed some Kconfig issues, and I'm carrying the rapidio kconfig change
        so the drm one for xlnx driver works. He hadn't got a response from
        rapidio maintainers.
      
        Otherwise, virtio, sun4i, tve200, ingenic have some fixes, one audio
        fix for i915 and a core docs fix.
      
        kconfig:
         - rapidio/xlnx kconfig fix
      
        core:
         - Documentation fix
      
        i915:
         - audio regression fix
      
        virtio:
         - Fix double free in virtio
         - Fix virtio unblank
         - Remove output->enabled from virtio, as it should use crtc_state
      
        sun4i:
         - Add missing put_device in sun4i, and other fixes
         - Handle sun4i alpha on lowest plane correctly
      
        tv200:
         - Fix tve200 enable/disable
      
        ingenic
         - Small ingenic fixes"
      
      * tag 'drm-fixes-2020-09-11' of git://anongit.freedesktop.org/drm/drm:
        drm/i915: fix regression leading to display audio probe failure on GLK
        drm: xlnx: dpsub: Fix DMADEVICES Kconfig dependency
        rapidio: Replace 'select' DMAENGINES 'with depends on'
        drm/virtio: drop virtio_gpu_output->enabled
        drm/sun4i: backend: Disable alpha on the lowest plane on the A20
        drm/sun4i: backend: Support alpha property on lowest plane
        drm/sun4i: Fix DE2 YVU handling
        drm/tve200: Stabilize enable/disable
        dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc
        dma-buf: Fix kerneldoc of dma_buf_set_name()
        drm/virtio: fix unblank
        Documentation: fix dma-buf.rst underline length warning
        drm/sun4i: Fix dsi dcs long write function
        drm/ingenic: Fix driver not probing when IPU port is missing
        drm/ingenic: Fix leak of device_node pointer
        drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
        drm/virtio: Revert "drm/virtio: Call the right shmem helpers"
      d67f2ec1
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · b1df2a07
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "A number of driver bug fixes and a few recent regressions:
      
         - Several bug fixes for bnxt_re. Crashing, incorrect data reported,
           and corruption on new HW
      
         - Memory leak and crash in rxe
      
         - Fix sysfs corruption in rxe if the netdev name is too long
      
         - Fix a crash on error unwind in the new cq_pool code
      
         - Fix kobject panics in rtrs by working device lifetime properly
      
         - Fix a data corruption bug in iser target related to misaligned
           buffers"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        IB/isert: Fix unaligned immediate-data handling
        RDMA/rtrs-srv: Set .release function for rtrs srv device during device init
        RDMA/bnxt_re: Remove set but not used variable 'qplib_ctx'
        RDMA/core: Fix reported speed and width
        RDMA/core: Fix unsafe linked list traversal after failing to allocate CQ
        RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds
        RDMA/bnxt_re: Fix driver crash on unaligned PSN entry address
        RDMA/bnxt_re: Restrict the max_gids to 256
        RDMA/bnxt_re: Static NQ depth allocation
        RDMA/bnxt_re: Fix the qp table indexing
        RDMA/bnxt_re: Do not report transparent vlan from QP1
        RDMA/mlx4: Read pkey table length instead of hardcoded value
        RDMA/rxe: Fix panic when calling kmem_cache_create()
        RDMA/rxe: Fix memleak in rxe_mem_init_user
        RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars
        RDMA/rtrs-srv: Replace device_register with device_initialize and device_add
      b1df2a07
    • Peter Oberparleiter's avatar
      gcov: add support for GCC 10.1 · 40249c69
      Peter Oberparleiter authored
      Using gcov to collect coverage data for kernels compiled with GCC 10.1
      causes random malfunctions and kernel crashes.  This is the result of a
      changed GCOV_COUNTERS value in GCC 10.1 that causes a mismatch between
      the layout of the gcov_info structure created by GCC profiling code and
      the related structure used by the kernel.
      
      Fix this by updating the in-kernel GCOV_COUNTERS value.  Also re-enable
      config GCOV_KERNEL for use with GCC 10.
      Reported-by: default avatarColin Ian King <colin.king@canonical.com>
      Reported-by: default avatarLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Tested-by: default avatarLeon Romanovsky <leonro@nvidia.com>
      Tested-and-Acked-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      40249c69
    • Rafael J. Wysocki's avatar
      Merge branch 'powercap' · d64e6906
      Rafael J. Wysocki authored
      * powercap:
        powercap: make documentation reflect code
        powercap/intel_rapl: add support for AlderLake
        powercap/intel_rapl: add support for RocketLake
        powercap/intel_rapl: add support for TigerLake Desktop
      d64e6906
  3. 10 Sep, 2020 10 commits
  4. 09 Sep, 2020 14 commits
  5. 08 Sep, 2020 2 commits
    • Omar Sandoval's avatar
      block: only call sched requeue_request() for scheduled requests · e8a8a185
      Omar Sandoval authored
      Yang Yang reported the following crash caused by requeueing a flush
      request in Kyber:
      
        [    2.517297] Unable to handle kernel paging request at virtual address ffffffd8071c0b00
        ...
        [    2.517468] pc : clear_bit+0x18/0x2c
        [    2.517502] lr : sbitmap_queue_clear+0x40/0x228
        [    2.517503] sp : ffffff800832bc60 pstate : 00c00145
        ...
        [    2.517599] Process ksoftirqd/5 (pid: 51, stack limit = 0xffffff8008328000)
        [    2.517602] Call trace:
        [    2.517606]  clear_bit+0x18/0x2c
        [    2.517619]  kyber_finish_request+0x74/0x80
        [    2.517627]  blk_mq_requeue_request+0x3c/0xc0
        [    2.517637]  __scsi_queue_insert+0x11c/0x148
        [    2.517640]  scsi_softirq_done+0x114/0x130
        [    2.517643]  blk_done_softirq+0x7c/0xb0
        [    2.517651]  __do_softirq+0x208/0x3bc
        [    2.517657]  run_ksoftirqd+0x34/0x60
        [    2.517663]  smpboot_thread_fn+0x1c4/0x2c0
        [    2.517667]  kthread+0x110/0x120
        [    2.517669]  ret_from_fork+0x10/0x18
      
      This happens because Kyber doesn't track flush requests, so
      kyber_finish_request() reads a garbage domain token. Only call the
      scheduler's requeue_request() hook if RQF_ELVPRIV is set (like we do for
      the finish_request() hook in blk_mq_free_request()). Now that we're
      handling it in blk-mq, also remove the check from BFQ.
      Reported-by: default avatarYang Yang <yang.yang@vivo.com>
      Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e8a8a185
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-5.9-rc5' of... · 34d4ddd3
      Linus Torvalds authored
      Merge tag 'linux-kselftest-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fix from Shuah Khan:
       "A single fix to timers test to disable timeout setting for tests to
        run and report accurate results"
      
      * tag 'linux-kselftest-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/timers: Turn off timeout setting
      34d4ddd3