Skip to content
  1. Apr 17, 2023
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.3_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e623175f
      Linus Torvalds authored
      Pull x86 fix from Borislav Petkov:
      
       - Drop __init annotation from two rtc functions which get called after
         boot is done, in order to prevent a crash
      
      * tag 'x86_urgent_for_v6.3_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/rtc: Remove __init for runtime functions
      e623175f
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.3-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 4a1c388c
      Linus Torvalds authored
      Pull powerpc fix from Michael Ellerman:
      
       - A fix for NUMA distance handling in the pseries SCM (pmem) driver.
      
         Thanks to Aneesh Kumar K.V.
      
      * tag 'powerpc-6.3-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/papr_scm: Update the NUMA distance table for the target node
      4a1c388c
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.3-3' of... · f0dd81db
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Drop debug info from purgatory objects again
      
       - Document that kernel.org provides prebuilt LLVM toolchains
      
       - Give up handling untracked files for source package builds
      
       - Avoid creating corrupted cpio when KBUILD_BUILD_TIMESTAMP is given
         with a pre-epoch data.
      
       - Change panic_show_mem() to a macro to handle variable-length argument
      
       - Compress tarballs on-the-fly again
      
      * tag 'kbuild-fixes-v6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: do not create intermediate *.tar for tar packages
        kbuild: do not create intermediate *.tar for source tarballs
        kbuild: merge cmd_archive_linux and cmd_archive_perf
        init/initramfs: Fix argument forwarding to panic() in panic_show_mem()
        initramfs: Check negative timestamp to prevent broken cpio archive
        kbuild: give up untracked files for source package builds
        Documentation/llvm: Add a note about prebuilt kernel.org toolchains
        purgatory: fix disabling debug info
      f0dd81db
    • Linus Torvalds's avatar
      Merge tag '6.3-rc6-ksmbd-server-fix' of git://git.samba.org/ksmbd · 6586c4d4
      Linus Torvalds authored
      Pull ksmbd server fix from Steve French:
       "smb311 server preauth integrity negotiate context parsing fix (check
        for out of bounds access)"
      
      * tag '6.3-rc6-ksmbd-server-fix' of git://git.samba.org/ksmbd:
        ksmbd: avoid out of bounds access in decode_preauth_ctxt()
      6586c4d4
  2. Apr 16, 2023
  3. Apr 15, 2023
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7a934f4b
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix for a missing fence when generating the NOMMU sigreturn
         trampoline
      
       - A set of fixes for early DTB handling of reserved memory nodes
      
      * tag 'riscv-for-linus-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: No need to relocate the dtb as it lies in the fixmap region
        riscv: Do not set initial_boot_params to the linear address of the dtb
        riscv: Move early dtb mapping into the fixmap region
        riscv: add icache flush for nommu sigreturn trampoline
      7a934f4b
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 95abc817
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These add two ACPI-related quirks:
      
         - Add a quirk to force StorageD3Enable on AMD Picasso systems (Mario
           Limonciello)
      
         - Add an ACPI IRQ override quirk for ASUS ExpertBook B1502CBA (Paul
           Menzel)"
      
      * tag 'acpi-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
        ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable
      95abc817
    • Linus Torvalds's avatar
      Merge tag 'pm-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 4b992ead
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Make the amd-pstate cpufreq driver take all of the possible
        combinations of the 'old' and 'new' status values correctly while
        changing the operation mode via sysfs (Wyes Karny)"
      
      * tag 'pm-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        amd-pstate: Fix amd_pstate mode switch
      4b992ead
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d0b85e7e
      Linus Torvalds authored
      Pull thermal control fix from Rafael Wysocki:
       "Modify the Intel thermal throttling code to avoid updating unsupported
        status clearing mask bits which causes the kernel to complain about
        unchecked MSR access (Srinivas Pandruvada)"
      
      * tag 'thermal-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: intel: Avoid updating unsupported THERM_STATUS_CLEAR mask bits
      d0b85e7e
    • Linus Torvalds's avatar
      Merge tag 'sound-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · e251c423
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of small fixes.
      
        At this time, quite a few fixes for the old PCI drivers are found.
        Although they are not regression fixes, I took these as they are
        materials for stable kernels.
      
        In addition, a couple of regression fixes and another couple of
        HD-audio quirks are included"
      
      * tag 'sound-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda/hdmi: disable KAE for Intel DG2
        ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2
        ALSA: hda: patch_realtek: add quirk for Asus N7601ZM
        ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
        ALSA: emu10k1: don't create old pass-through playback device on Audigy
        ALSA: emu10k1: fix capture interrupt handler unlinking
        ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
        ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
        ALSA: i2c/cs8427: fix iec958 mixer control deactivation
      e251c423
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · aee3c14e
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "We had a fairly slow cycle on the rc side this time, here are the
        accumulated fixes, mostly in drivers:
      
         - irdma should not generate extra completions during flushing
      
         - Fix several memory leaks
      
         - Do not get confused in irdma's iwarp mode if IPv6 is present
      
         - Correct a link speed calculation in mlx5
      
         - Increase the EQ/WQ limits on erdma as they are too small for big
           applications
      
         - Use the right math for erdma's inline mtt feature
      
         - Make erdma probing more robust to boot time ordering differences
      
         - Fix a KMSAN crash in CMA due to uninitialized qkey"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/core: Fix GID entry ref leak when create_ah fails
        RDMA/cma: Allow UD qp_type to join multicast only
        RDMA/erdma: Defer probing if netdevice can not be found
        RDMA/erdma: Inline mtt entries into WQE if supported
        RDMA/erdma: Update default EQ depth to 4096 and max_send_wr to 8192
        RDMA/erdma: Fix some typos
        IB/mlx5: Add support for 400G_8X lane speed
        RDMA/irdma: Add ipv4 check to irdma_find_listener()
        RDMA/irdma: Increase iWARP CM default rexmit count
        RDMA/irdma: Fix memory leak of PBLE objects
        RDMA/irdma: Do not generate SW completions for NOPs
      aee3c14e
  4. Apr 14, 2023
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-x86' · a3babdb7
      Rafael J. Wysocki authored
      Merge a quirk to force StorageD3Enable on AMD Picasso systems (Mario
      Limonciello).
      
      * acpi-x86:
        ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable
      a3babdb7
    • Ming Lei's avatar
      io_uring: complete request via task work in case of DEFER_TASKRUN · 860e1c7f
      Ming Lei authored
      So far io_req_complete_post() only covers DEFER_TASKRUN by completing
      request via task work when the request is completed from IOWQ.
      
      However, uring command could be completed from any context, and if io
      uring is setup with DEFER_TASKRUN, the command is required to be
      completed from current context, otherwise wait on IORING_ENTER_GETEVENTS
      can't be wakeup, and may hang forever.
      
      The issue can be observed on removing ublk device, but turns out it is
      one generic issue for uring command & DEFER_TASKRUN, so solve it in
      io_uring core code.
      
      Fixes: e6aeb272
      
       ("io_uring: complete all requests in task context")
      Cc: stable@vger.kernel.org
      Link: https://lore.kernel.org/linux-block/b3fc9991-4c53-9218-a8cc-5b4dd3952108@kernel.dk/
      Reported-by: default avatarJens Axboe <axboe@kernel.dk>
      Cc: Kanchan Joshi <joshi.k@samsung.com>
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      860e1c7f
    • Jens Axboe's avatar
      Merge branch 'nvme-6.3' of git://git.infradead.org/nvme into block-6.3 · f7ca1ae3
      Jens Axboe authored
      Pull NVMe fix from Christoph.
      
      * 'nvme-6.3' of git://git.infradead.org/nvme:
        nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
      f7ca1ae3
    • Kai Vehmanen's avatar
      ALSA: hda/hdmi: disable KAE for Intel DG2 · 6ab6f98f
      Kai Vehmanen authored
      Use of keep-alive (KAE) has resulted in loss of audio on some A750/770
      cards as the transition from keep-alive to stream playback is not
      working as expected. As there is limited benefit of the new KAE mode
      on discrete cards, revert back to older silent-stream implementation
      on these systems.
      
      Cc: stable@vger.kernel.org
      Fixes: 15175a4f
      
       ("ALSA: hda/hdmi: add keep-alive support for ADL-P and DG2")
      Link: https://gitlab.freedesktop.org/drm/intel/-/issues/8307
      Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Link: https://lore.kernel.org/r/20230413191153.3692049-1-kai.vehmanen@linux.intel.com
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6ab6f98f
    • Duy Truong's avatar
      nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD · 74391b3e
      Duy Truong authored
      
      
      Added a quirk to fix the TeamGroup T-Force Cardea Zero Z330 SSDs reporting
      duplicate NGUIDs.
      
      Signed-off-by: default avatarDuy Truong <dory@dory.moe>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      74391b3e
    • Alexandre Ghiti's avatar
      riscv: No need to relocate the dtb as it lies in the fixmap region · 1b50f956
      Alexandre Ghiti authored
      
      
      We used to access the dtb via its linear mapping address but now that the
      dtb early mapping was moved in the fixmap region, we can keep using this
      address since it is present in swapper_pg_dir, and remove the dtb
      relocation.
      
      Note that the relocation was wrong anyway since early_memremap() is
      restricted to 256K whereas the maximum fdt size is 2MB.
      
      Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
      Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Tested-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Link: https://lore.kernel.org/r/20230329081932.79831-4-alexghiti@rivosinc.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      1b50f956
    • Alexandre Ghiti's avatar
      riscv: Do not set initial_boot_params to the linear address of the dtb · f1581626
      Alexandre Ghiti authored
      
      
      early_init_dt_verify() is already called in parse_dtb() and since the dtb
      address does not change anymore (it is now in the fixmap region), no need
      to reset initial_boot_params by calling early_init_dt_verify() again.
      
      Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
      Link: https://lore.kernel.org/r/20230329081932.79831-3-alexghiti@rivosinc.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      f1581626
    • Alexandre Ghiti's avatar
      riscv: Move early dtb mapping into the fixmap region · ef69d255
      Alexandre Ghiti authored
      riscv establishes 2 virtual mappings:
      
      - early_pg_dir maps the kernel which allows to discover the system
        memory
      - swapper_pg_dir installs the final mapping (linear mapping included)
      
      We used to map the dtb in early_pg_dir using DTB_EARLY_BASE_VA, and this
      mapping was not carried over in swapper_pg_dir. It happens that
      early_init_fdt_scan_reserved_mem() must be called before swapper_pg_dir is
      setup otherwise we could allocate reserved memory defined in the dtb.
      And this function initializes reserved_mem variable with addresses that
      lie in the early_pg_dir dtb mapping: when those addresses are reused
      with swapper_pg_dir, this mapping does not exist and then we trap.
      
      The previous "fix" was incorrect as early_init_fdt_scan_reserved_mem()
      must be called before swapper_pg_dir is set up otherwise we could
      allocate in reserved memory defined in the dtb.
      
      So move the dtb mapping in the fixmap region which is established in
      early_pg_dir and handed over to swapper_pg_dir.
      
      Fixes: 922b0375 ("riscv: Fix memblock reservation for device tree blob")
      Fixes: 8f3a2b4a ("RISC-V: Move DT mapping outof fixmap")
      Fixes: 50e63dd8
      
       ("riscv: fix reserved memory setup")
      Reported-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Link: https://lore.kernel.org/all/f8e67f82-103d-156c-deb0-d6d6e2756f5e@microchip.com/
      Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
      Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Tested-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Link: https://lore.kernel.org/r/20230329081932.79831-2-alexghiti@rivosinc.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      ef69d255
    • Linus Torvalds's avatar
      Merge tag 'cgroup-for-6.3-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 44149752
      Linus Torvalds authored
      Pull cgroup fixes from Tejun Heo:
       "This is a relatively big pull request this late in the cycle but the
        major contributor is the cpuset bug which is rather significant:
      
         - Fix several cpuset bugs including one where it wasn't applying the
           target cgroup when tasks are created with CLONE_INTO_CGROUP
      
        With a few smaller fixes:
      
         - Fix inversed locking order in cgroup1 freezer implementation
      
         - Fix garbage cpu.stat::core_sched.forceidle_usec reporting in the
           root cgroup"
      
      * tag 'cgroup-for-6.3-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpuset
        cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods
        cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly
        cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
        cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex
        cgroup/cpuset: Fix partition root's cpuset.cpus update bug
        cgroup: fix display of forceidle time at root
      44149752
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · e44f45fe
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A few more clk driver fixes:
      
         - Set the max_register member of the spreadtrum regmap so that reads
           don't go off the end of the I/O space
      
         - Avoid a clk parent error in the i.MX imx6ul driver when the
           selector is unknown
      
         - Fix an oops due to REGCACHE_NONE usage by the Renesas 9-series
           driver"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: rs9: Fix suspend/resume
        clk: imx6ul: fix "failed to get parent" error
        clk: sprd: set max_register according to mapping range
      e44f45fe
    • Linus Torvalds's avatar
      Merge tag 'net-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 829cca4d
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from bpf, and bluetooth.
      
        Not all that quiet given spring celebrations, but "current" fixes are
        thinning out, which is encouraging. One outstanding regression in the
        mlx5 driver when using old FW, not blocking but we're pushing for a
        fix.
      
        Current release - new code bugs:
      
         - eth: enetc: workaround for unresponsive pMAC after receiving
           express traffic
      
        Previous releases - regressions:
      
         - rtnetlink: restore RTM_NEW/DELLINK notification behavior, keep the
           pid/seq fields 0 for backward compatibility
      
        Previous releases - always broken:
      
         - sctp: fix a potential overflow in sctp_ifwdtsn_skip
      
         - mptcp:
            - use mptcp_schedule_work instead of open-coding it and make the
              worker check stricter, to avoid scheduling work on closed
              sockets
            - fix NULL pointer dereference on fastopen early fallback
      
         - skbuff: fix memory corruption due to a race between skb coalescing
           and releasing clones confusing page_pool reference counting
      
         - bonding: fix neighbor solicitation validation on backup slaves
      
         - bpf: tcp: use sock_gen_put instead of sock_put in bpf_iter_tcp
      
         - bpf: arm64: fixed a BTI error on returning to patched function
      
         - openvswitch: fix race on port output leading to inf loop
      
         - sfp: initialize sfp->i2c_block_size at sfp allocation to avoid
           returning a different errno than expected
      
         - phy: nxp-c45-tja11xx: unregister PTP, purge queues on remove
      
         - Bluetooth: fix printing errors if LE Connection times out
      
         - Bluetooth: assorted UaF, deadlock and data race fixes
      
         - eth: macb: fix memory corruption in extended buffer descriptor mode
      
        Misc:
      
         - adjust the XDP Rx flow hash API to also include the protocol layers
           over which the hash was computed"
      
      * tag 'net-6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (50 commits)
        selftests/bpf: Adjust bpf_xdp_metadata_rx_hash for new arg
        mlx4: bpf_xdp_metadata_rx_hash add xdp rss hash type
        veth: bpf_xdp_metadata_rx_hash add xdp rss hash type
        mlx5: bpf_xdp_metadata_rx_hash add xdp rss hash type
        xdp: rss hash types representation
        selftests/bpf: xdp_hw_metadata remove bpf_printk and add counters
        skbuff: Fix a race between coalescing and releasing SKBs
        net: macb: fix a memory corruption in extended buffer descriptor mode
        selftests: add the missing CONFIG_IP_SCTP in net config
        udp6: fix potential access to stale information
        selftests: openvswitch: adjust datapath NL message declaration
        selftests: mptcp: userspace pm: uniform verify events
        mptcp: fix NULL pointer dereference on fastopen early fallback
        mptcp: stricter state check in mptcp_worker
        mptcp: use mptcp_schedule_work instead of open-coding it
        net: enetc: workaround for unresponsive pMAC after receiving express traffic
        sctp: fix a potential overflow in sctp_ifwdtsn_skip
        net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
        rtnetlink: Restore RTM_NEW/DELLINK notification behavior
        net: ti/cpsw: Add explicit platform_device.h and of_platform.h includes
        ...
      829cca4d
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 4413ad01
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
      
       - Fix interaction between fw_devlink and DT overlays causing devices to
         not be probed
      
       - Fix the compatible string for loongson,cpu-interrupt-controller
      
      * tag 'devicetree-fixes-for-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        treewide: Fix probing of devices in DT overlays
        dt-bindings: interrupt-controller: loongarch: Fix mismatched compatible
      4413ad01
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 531f27ad
      Linus Torvalds authored
      Pull pin control fix from Linus Walleij:
       "This is just a revert of the AMD fix, because the fix broke some
        laptops. We are working on a proper solution"
      
      * tag 'pinctrl-v6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        Revert "pinctrl: amd: Disable and mask interrupts on resume"
      531f27ad
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-04-13' of git://anongit.freedesktop.org/drm/drm · f1be7b6c
      Linus Torvalds authored
      Pull drm fixes from Daniel Vetter:
      
       - two fbcon regressions
      
       - amdgpu: dp mst, smu13
      
       - i915: dual link dsi for tgl+
      
       - armada, nouveau, drm/sched, fbmem
      
      * tag 'drm-fixes-2023-04-13' of git://anongit.freedesktop.org/drm/drm:
        fbcon: set_con2fb_map needs to set con2fb_map!
        fbcon: Fix error paths in set_con2fb_map
        drm/amd/pm: correct the pcie link state check for SMU13
        drm/amd/pm: correct SMU13.0.7 max shader clock reporting
        drm/amd/pm: correct SMU13.0.7 pstate profiling clock settings
        drm/amd/display: Pass the right info to drm_dp_remove_payload
        drm/armada: Fix a potential double free in an error handling path
        fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
        drm/nouveau/fb: add missing sysmen flush callbacks
        drm/i915/dsi: fix DSS CTL register offsets for TGL+
        drm/scheduler: Fix UAF race in drm_sched_entity_push_job()
      f1be7b6c
    • Jakub Kicinski's avatar
      Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf · d0f89c4c
      Jakub Kicinski authored
      
      
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf 2023-04-13
      
      We've added 6 non-merge commits during the last 1 day(s) which contain
      a total of 14 files changed, 205 insertions(+), 38 deletions(-).
      
      The main changes are:
      
      1) One late straggler fix on the XDP hints side which fixes
         bpf_xdp_metadata_rx_hash kfunc API before the release goes out
         in order to provide information on the RSS hash type,
         from Jesper Dangaard Brouer.
      
      * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
        selftests/bpf: Adjust bpf_xdp_metadata_rx_hash for new arg
        mlx4: bpf_xdp_metadata_rx_hash add xdp rss hash type
        veth: bpf_xdp_metadata_rx_hash add xdp rss hash type
        mlx5: bpf_xdp_metadata_rx_hash add xdp rss hash type
        xdp: rss hash types representation
        selftests/bpf: xdp_hw_metadata remove bpf_printk and add counters
      ====================
      
      Link: https://lore.kernel.org/r/20230413192939.10202-1-daniel@iogearbox.net
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      d0f89c4c
    • David Disseldorp's avatar
      ksmbd: avoid out of bounds access in decode_preauth_ctxt() · e7067a44
      David Disseldorp authored
      
      
      Confirm that the accessed pneg_ctxt->HashAlgorithms address sits within
      the SMB request boundary; deassemble_neg_contexts() only checks that the
      eight byte smb2_neg_context header + (client controlled) DataLength are
      within the packet boundary, which is insufficient.
      
      Checking for sizeof(struct smb2_preauth_neg_context) is overkill given
      that the type currently assumes SMB311_SALT_SIZE bytes of trailing Salt.
      
      Signed-off-by: default avatarDavid Disseldorp <ddiss@suse.de>
      Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      e7067a44
    • Daniel Vetter's avatar
      Merge tag 'drm-misc-fixes-2023-04-13' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · cab29322
      Daniel Vetter authored
      
      
      Short summary of fixes pull:
      
       * armada: Fix double free
       * fb: Clear FB_ACTIVATE_KD_TEXT in ioctl
       * nouveau: Add missing callbacks
       * scheduler: Fix use-after-free error
      
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230413184233.GA8148@linux-uq9g
      cab29322
    • Alexei Starovoitov's avatar
      Merge branch 'XDP-hints: change RX-hash kfunc bpf_xdp_metadata_rx_hash' · b65ef48c
      Alexei Starovoitov authored
      
      
      Jesper Dangaard Brouer says:
      
      ====================
      
      Current API for bpf_xdp_metadata_rx_hash() returns the raw RSS hash value,
      but doesn't provide information on the RSS hash type (part of 6.3-rc).
      
      This patchset proposal is to change the function call signature via adding
      a pointer value argument for providing the RSS hash type.
      
      Patchset also removes all bpf_printk's from xdp_hw_metadata program
      that we expect driver developers to use. Instead counters are introduced
      for relaying e.g. skip and fail info.
      ====================
      
      Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      b65ef48c