1. 16 Sep, 2022 1 commit
    • Linus Torvalds's avatar
      Merge tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 714820c6
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Four smb3 fixes for stable:
      
         - important fix to revalidate mapping when doing direct writes
      
         - missing spinlock
      
         - two fixes to socket handling
      
         - trivial change to update internal version number for cifs.ko"
      
      * tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal module number
        cifs: add missing spinlock around tcon refcount
        cifs: always initialize struct msghdr smb_msg completely
        cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
        cifs: revalidate mapping when doing direct writes
      714820c6
  2. 14 Sep, 2022 5 commits
  3. 13 Sep, 2022 5 commits
  4. 12 Sep, 2022 4 commits
  5. 11 Sep, 2022 8 commits
  6. 10 Sep, 2022 4 commits
  7. 09 Sep, 2022 13 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · ce888220
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Eight patches which looks like quite a large core change, but most of
        the diffstat is reverting the attempt to rejig reference counting
        introduced in the last merge window which caused issues with device
        and module removal.
      
        Of the remaining four patches, only the fix use-after-free is
        substantial"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: mpt3sas: Fix use-after-free warning
        scsi: core: Fix a use-after-free
        scsi: core: Revert "Make sure that targets outlive devices"
        scsi: core: Revert "Make sure that hosts outlive targets"
        scsi: core: Revert "Simplify LLD module reference counting"
        scsi: core: Revert "Call blk_mq_free_tag_set() earlier"
        scsi: lpfc: Add missing destroy_workqueue() in error path
        scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
      ce888220
    • Youling Tang's avatar
      mksysmap: Fix the mismatch of 'L0' symbols in System.map · c17a2538
      Youling Tang authored
      When System.map was generated, the kernel used mksysmap to filter the
      kernel symbols, we need to filter "L0" symbols in LoongArch architecture.
      
      $ cat System.map | grep L0
      9000000000221540 t L0
      
      The L0 symbol exists in System.map, but not in .tmp_System.map. When
      "cmp -s System.map .tmp_System.map" will show "Inconsistent kallsyms
      data" error message in link-vmlinux.sh script.
      Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      c17a2538
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · e35be05d
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are some small driver core and debugfs fixes for 6.0-rc5.
      
        Included in here are:
      
         - multiple attempts to get the arch_topology code to work properly on
           non-cluster SMT systems. First attempt caused build breakages in
           linux-next and 0-day, second try worked.
      
         - debugfs fixes for a long-suffering memory leak. The pattern of
           debugfs_remove(debugfs_lookup(...)) turns out to leak dentries, so
           add debugfs_lookup_and_remove() to fix this problem. Also fix up
           the scheduler debug code that highlighted this problem. Fixes for
           other subsystems will be trickling in over the next few months for
           this same issue once the debugfs function is merged.
      
        All of these have been in linux-next since Wednesday with no reported
        problems"
      
      * tag 'driver-core-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        arch_topology: Make cluster topology span at least SMT CPUs
        sched/debug: fix dentry leak in update_sched_domain_debugfs
        debugfs: add debugfs_lookup_and_remove()
        driver core: fix driver_set_override() issue with empty strings
        Revert "arch_topology: Make cluster topology span at least SMT CPUs"
        arch_topology: Make cluster topology span at least SMT CPUs
      e35be05d
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-09-09' of git://git.kernel.dk/linux-block · 9ebc0ecb
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull via Christoph:
            - fix a use after free in nvmet (Bart Van Assche)
            - fix a use after free when detecting digest errors
              (Sagi Grimberg)
            - fix regression that causes sporadic TCP requests to time out
              (Sagi Grimberg)
            - fix two off by ones errors in the nvmet ZNS support
              (Dennis Maisenbacher)
            - requeue aen after firmware activation (Keith Busch)
      
       - Fix missing request flags in debugfs code (me)
      
       - Partition scan fix (Ming)
      
      * tag 'block-6.0-2022-09-09' of git://git.kernel.dk/linux-block:
        block: add missing request flags to debugfs code
        nvme: requeue aen after firmware activation
        nvmet: fix mar and mor off-by-one errors
        nvme-tcp: fix regression that causes sporadic requests to time out
        nvme-tcp: fix UAF when detecting digest errors
        nvmet: fix a use-after-free
        block: don't add partitions if GD_SUPPRESS_PART_SCAN is set
      9ebc0ecb
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-09' of git://git.kernel.dk/linux-block · d2b768c3
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Removed function that became unused after last week's merge (Jiapeng)
      
       - Two small fixes for kbuf recycling (Pavel)
      
       - Include address copy for zc send for POLLFIRST (Pavel)
      
       - Fix for short IO handling in the normal read/write path (Pavel)
      
      * tag 'io_uring-6.0-2022-09-09' of git://git.kernel.dk/linux-block:
        io_uring/rw: fix short rw error handling
        io_uring/net: copy addr for zc on POLL_FIRST
        io_uring: recycle kbuf recycle on tw requeue
        io_uring/kbuf: fix not advancing READV kbuf ring
        io_uring/notif: Remove the unused function io_notif_complete()
      d2b768c3
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 0099baa8
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "Many bug fixes in several drivers:
      
         - Fix misuse of the DMA API in rtrs
      
         - Several irdma issues: hung task due to SQ flushing, incorrect
           capability reporting to userspace, improper error handling for MW
           corners, touching an uninitialized SGL for during invalidation.
      
         - hns was using the wrong page size limits for the HW, an incorrect
           calculation of wqe_shift causing WQE corruption, and mis computed a
           timer id.
      
         - Fix a crash in SRP triggered by blktests
      
         - Fix compiler errors by calling virt_to_page() with the proper type
           in siw
      
         - Userspace triggerable deadlock in ODP
      
         - mlx5 could use the wrong profile due to some driver loading races,
           counters were not working in some device configurations, and a
           crash on error unwind"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/irdma: Report RNR NAK generation in device caps
        RDMA/irdma: Use s/g array in post send only when its valid
        RDMA/irdma: Return correct WC error for bind operation failure
        RDMA/irdma: Return error on MR deregister CQP failure
        RDMA/irdma: Report the correct max cqes from query device
        MAINTAINERS: Update maintainers of HiSilicon RoCE
        RDMA/mlx5: Fix UMR cleanup on error flow of driver init
        RDMA/mlx5: Set local port to one when accessing counters
        RDMA/mlx5: Rely on RoCE fw cap instead of devlink when setting profile
        IB/core: Fix a nested dead lock as part of ODP flow
        RDMA/siw: Pass a pointer to virt_to_page()
        RDMA/srp: Set scmnd->result only when scmnd is not NULL
        RDMA/hns: Remove the num_qpc_timer variable
        RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
        RDMA/hns: Fix supported page size
        RDMA/cma: Fix arguments order in net device validation
        RDMA/irdma: Fix drain SQ hang with no completion
        RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL
        RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
      0099baa8
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-09-10' of git://anongit.freedesktop.org/drm/drm · b7e00d6f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "From a train in the Irish countryside, regular drm fixes for 6.0-rc5.
      
        This is mostly amdgpu/amdkfd and i915 fixes, then one panfrost, one
        ttm and one edid fix. Nothing too major going on. Hopefully a quiet
        week next week for LPC.
      
        edid:
         - Fix EDID 1.4 range-descriptor parsing
      
        ttm:
         - Fix ghost-object bulk moves
      
        i915:
         - Fix MIPI sequence block copy from BIOS' table
         - Fix PCODE min freq setup when GuC's SLPC is in use
         - Implement Workaround for eDP
         - Fix has_flat_ccs selection for DG1
      
        amdgpu:
         - Firmware header fix
         - SMU 13.x fix
         - Debugfs memory leak fix
         - NBIO 7.7 fix
         - Firmware memory leak fix
      
        amdkfd:
         - Debug output fix
      
        panfrost:
         - Fix devfreq OPP"
      
      * tag 'drm-fixes-2022-09-10' of git://anongit.freedesktop.org/drm/drm:
        drm/panfrost: devfreq: set opp to the recommended one to configure regulator
        drm/ttm: cleanup the resource of ghost objects after locking them
        drm/amdgpu: prevent toc firmware memory leak
        drm/amdgpu: correct doorbell range/size value for CSDMA_DOORBELL_RANGE
        drm/amdkfd: print address in hex format rather than decimal
        drm/amd/display: fix memory leak when using debugfs_lookup()
        drm/amd/pm: add missing SetMGpuFanBoostLimitRpm mapping for SMU 13.0.7
        drm/amd/amdgpu: add rlc_firmware_header_v2_4 to amdgpu_firmware_header
        drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages
        drm/i915: Implement WaEdpLinkRateDataReload
        drm/i915/slpc: Let's fix the PCODE min freq table setup for SLPC
        drm/i915/bios: Copy the whole MIPI sequence block
        drm/ttm: update bulk move object of ghost BO
        drm/edid: Handle EDID 1.4 range descriptor h/vfreq offsets
      b7e00d6f
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-fixes-6.0-rc5' of... · e35ff25f
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-fixes-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit fixes from Shuah Khan:
       "Two fixes to test build and a fix for incorrect taint reason reporting"
      
      * tag 'linux-kselftest-kunit-fixes-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        tools: Add new "test" taint to kernel-chktaint
        kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves
        kunit: fix assert_type for comparison macros
      e35ff25f
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 22b2e2d6
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A pair of device tree fixes for the Polarfire SOC
      
       - A fix to avoid overflowing the PMU counter array when firmware
         incorrectly reports the number of supported counters, which manifests
         on OpenSBI versions prior to 1.1
      
      * tag 'riscv-for-linus-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        perf: RISC-V: fix access beyond allocated array
        riscv: dts: microchip: use an mpfs specific l2 compatible
        dt-bindings: riscv: sifive-l2: add a PolarFire SoC compatible
      22b2e2d6
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 2fc1171d
      Linus Torvalds authored
      Pull powerpc fix from Michael Ellerman:
      
       - Fix crashes on bare metal due to the new plkps driver trying to probe
         and call the hypervisor on non-pseries machines.
      
      Thanks to Nathan Chancellor and Dan Horák.
      
      * tag 'powerpc-6.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/pseries: Fix plpks crash on non-pseries
      2fc1171d
    • Eugene Shalygin's avatar
      hwmon: (asus-ec-sensors) autoload module via DMI data · 88700d13
      Eugene Shalygin authored
      Replace autoloading data based on the ACPI EC device with the DMI
      records for motherboards models. The ACPI method created a bug that when
      this driver returns error from the probe function because of the
      unsupported motherboard model, the ACPI subsystem concludes
      that the EC device does not work properly.
      
      Fixes: 5cd29012 ("hwmon: (asus-ec-sensors) introduce ec_board_info struct for board data")
      Bug: https://bugzilla.kernel.org/show_bug.cgi?id=216412
      Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2121844Signed-off-by: default avatarEugene Shalygin <eugene.shalygin@gmail.com>
      Link: https://lore.kernel.org/r/20220909155654.123398-2-eugene.shalygin@gmail.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      88700d13
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2022-09-08' of... · 2edb79a5
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2022-09-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix MIPI sequence block copy from BIOS' table. (Ville)
      - Fix PCODE min freq setup when GuC's SLPC is in use. (Rodrigo)
      - Implement Workaround for eDP. (Ville)
      - Fix has_flat_ccs selection for DG1. (Matt)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Yxn1WpmUJnJpqq23@intel.com
      2edb79a5
    • Alexander Sverdlin's avatar
      mips: Select SPARSEMEM_EXTREME · 727488e3
      Alexander Sverdlin authored
      Commit c4617318 ("MIPS: Add NUMA support for Loongson-3") has increased
      .bss size of the Octeon kernel from 16k to 16M. Providing the conditions
      for SPARSEMEM_EXTREME avoids the waste of memory.
      
      Thomas has tested the loogsoon64 kernel, where .bss is being reduced by
      this patch from 16.5M to 515k.
      
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@nokia.com>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      727488e3