Skip to content
  1. Mar 04, 2024
    • Linus Torvalds's avatar
      Linux 6.8-rc7 · 90d35da6
      Linus Torvalds authored
      90d35da6
    • Linus Torvalds's avatar
      Merge tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 58c806d8
      Linus Torvalds authored
      Pull phy fixes from Vinod Koul:
      
        - qcom: m31 pointer err fix, eusb2 fix redundant zero-out loop and v3
          offset fix on qmp-usb
      
        - freescale: fix for dphy alias
      
      * tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
        phy: qcom-qmp-usb: fix v3 offsets data
        phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop
        phy: qcom: phy-qcom-m31: fix wrong pointer pass to PTR_ERR()
        phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
      58c806d8
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · d57dd2d2
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - dw-edma fixes to improve driver and remote HDMA setup
      
       - fsl-edma fixes for SoC hange, irq init and byte calculations and
         sparse fixes
      
       - idxd: safe user copy of completion record fix
      
       - ptdma: consistent DMA mask fix
      
      * tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
        dmaengine: ptdma: use consistent DMA masks
        dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning
        dmaengine: idxd: Ensure safe user copy of completion record
        dmaengine: fsl-edma: correct max_segment_size setting
        dmaengine: idxd: Remove shadow Event Log head stored in idxd
        dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario
        dmaengine: fsl-qdma: init irq after reg initialization
        dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
        dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: Add HDMA remote interrupt configuration
        dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix
        dmaengine: dw-edma: Fix wrong interrupt bit set for HDMA
        dmaengine: dw-edma: Fix the ch_count hdma callback
      d57dd2d2
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · e4f79000
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix IOMMU table initialisation when doing kdump over SR-IOV
      
       - Fix incorrect RTAS function name for resetting TCE tables
      
       - Fix fpu_signal selftest failures since a recent change
      
      Thanks to Gaurav Batra and Nathan Lynch.
      
      * tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        selftests/powerpc: Fix fpu_signal failures
        powerpc/rtas: use correct function name for resetting TCE tables
        powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
      e4f79000
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 73d35f83
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Do not reserve SETUP_RNG_SEED setup data in the e820 map as it should
         be used by kexec only
      
       - Make sure MKTME feature detection happens at an earlier time in the
         boot process so that the physical address size supported by the CPU
         is properly corrected and MTRR masks are programmed properly, leading
         to TDX systems booting without disable_mtrr_cleanup on the cmdline
      
       - Make sure the different address sizes supported by the CPU are read
         out as early as possible
      
      * tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/e820: Don't reserve SETUP_RNG_SEED in e820
        x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
        x86/cpu: Allow reducing x86_phys_bits during early_identify_cpu()
      73d35f83
  2. Mar 03, 2024
    • Linus Torvalds's avatar
      Merge tag 'firewire-fixes-6.8-rc7' of... · 04b8076d
      Linus Torvalds authored
      Merge tag 'firewire-fixes-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire fixes from Takashi Sakamoto:
       "A workaround to suppress the continuous bus resets in the case that
        older devices are connected to the modern 1394 OHCI hardware and
        devices
      
        In IEEE 1394 Amendment (IEEE 1394a-2000), the short bus reset is added
        to resolve the shortcomings of the long bus reset in IEEE 1394-1995.
        However, it is well-known that the solution is not necessarily
        effective in the mixing environment that both IEEE 1394-1995 PHY and
        IEEE 1394a-2000 (or later) PHY exist, as described in section 8.4.6.2
        of IEEE 1394a-2000.
      
        The current implementation of firewire stack schedules the short bus
        reset when attempting to resolve the mismatch of gap count in the
        certain generation of bus topology. It can cause the continuous bus
        reset in the issued environment.
      
        The workaround simply uses the long bus reset instead of the short bus
        reset. It is desirable to detect whether the issued environment or
        not. However, the way to access PHY registers from remote note is
        firstly defined in IEEE 1394a-2000, thus it is not available in the
        case"
      
      * tag 'firewire-fixes-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: core: use long bus reset on gap count error
      04b8076d
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.8-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 4640e2be
      Linus Torvalds authored
      Pull xfs fix from Chandan Babu:
       "Drop experimental warning message when mounting an xfs filesystem on
        an fsdax device. We now consider xfs on fsdax to be stable"
      
      * tag 'xfs-6.8-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: drop experimental warning for FSDAX
      4640e2be
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 705c7256
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix resource freeing ordering in error path when adding a GPIO chip
      
       - only set pins to output after the reset is complete in gpio-74x164
      
      * tag 'gpio-fixes-for-v6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: fix resource unwinding order in error path
        gpiolib: Fix the error path order in gpiochip_add_data_with_key()
        gpio: 74x164: Enable output pins after registers are reset
      705c7256
    • Ming Lei's avatar
      block: define bvec_iter as __packed __aligned(4) · 7838b465
      Ming Lei authored
      In commit 19416123
      
       ("block: define 'struct bvec_iter' as packed"),
      what we need is to save the 4byte padding, and avoid `bio` to spread on
      one extra cache line.
      
      It is enough to define it as '__packed __aligned(4)', as '__packed'
      alone means byte aligned, and can cause compiler to generate horrible
      code on architectures that don't support unaligned access in case that
      bvec_iter is embedded in other structures.
      
      Cc: Mikulas Patocka <mpatocka@redhat.com>
      Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Fixes: 19416123
      
       ("block: define 'struct bvec_iter' as packed")
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7838b465
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 7fd66446
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Two small fixes, all in drivers (the more obsolete mpt3sas and the
        newer mpi3mr)"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
        scsi: mpi3mr: Reduce stack usage in mpi3mr_refresh_sas_ports()
      7fd66446
  3. Mar 02, 2024
    • Linus Torvalds's avatar
      Merge tag 'for-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 5ad3cb0e
      Linus Torvalds authored
      Pull power supply fixes from Sebastian Reichel:
      
       - Kconfig dependency fix
      
       - bq27xxx-i2c: do not free non-existing IRQ
      
      * tag 'for-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
        power: supply: bq27xxx-i2c: Do not free non existing IRQ
        power: supply: mm8013: select REGMAP_I2C
      5ad3cb0e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · e613c90d
      Linus Torvalds authored
      Pull iommufd fixes from Jason Gunthorpe:
       "Four syzkaller found bugs:
      
         - Corruption during error unwind in iommufd_access_change_ioas()
      
         - Overlapping IDs in the test suite due to out of order destruction
      
         - Missing locking for access->ioas in the test suite
      
         - False failures in the test suite validation logic with huge pages"
      
      * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd:
        iommufd/selftest: Don't check map/unmap pairing with HUGE_PAGES
        iommufd: Fix protection fault in iommufd_test_syz_conv_iova
        iommufd/selftest: Fix mock_dev_num bug
        iommufd: Fix iopt_access_list_id overwrite bug
      e613c90d
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · fb54efc2
      Linus Torvalds authored
      Pull devicetree fix from Rob Herring:
       "One fix for a bug in fw_devlink handling of OF graph. This doesn't
        completely fix the reported problems, but it's with users adding out
        of tree code"
      
      * tag 'devicetree-fixes-for-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
      fb54efc2
    • Saravana Kannan's avatar
      of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing · 7cb50f6c
      Saravana Kannan authored
      Introduced a stupid bug in commit 782bfd03
      
       ("of: property: Improve
      finding the supplier of a remote-endpoint property") due to a last minute
      incorrect edit of "index !=0" into "!index". This patch fixes it to be
      "index > 0" to match the comment right next to it.
      
      Reported-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
      Link: https://lore.kernel.org/lkml/20240223171849.10f9901d@booty/
      Fixes: 782bfd03
      
       ("of: property: Improve finding the supplier of a remote-endpoint property")
      Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
      Reviewed-by: default avatarHerve Codina <herve.codina@bootlin.com>
      Reviewed-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
      Tested-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
      Link: https://lore.kernel.org/r/20240224052436.3552333-1-saravanak@google.com
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      7cb50f6c
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · d17468c6
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - detect ".option arch" support on not-yet-released LLVM builds
      
       - fix missing TLB flush when modifying non-leaf PTEs
      
       - fixes for T-Head custom extensions
      
       - fix for systems with the legacy PMU, that manifests as a crash on
         kernels built without SBI PMU support
      
       - fix for systems that clear *envcfg on suspend, which manifests as
         cbo.zero trapping after resume
      
       - fixes for Svnapot systems, including removing Svnapot support for
         huge vmalloc/vmap regions
      
      * tag 'riscv-for-linus-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Sparse-Memory/vmemmap out-of-bounds fix
        riscv: Fix pte_leaf_size() for NAPOT
        Revert "riscv: mm: support Svnapot in huge vmap"
        riscv: Save/restore envcfg CSR during CPU suspend
        riscv: Add a custom ISA extension for the [ms]envcfg CSR
        riscv: Fix enabling cbo.zero when running in M-mode
        perf: RISCV: Fix panic on pmu overflow handler
        MAINTAINERS: Update SiFive driver maintainers
        drivers: perf: ctr_get_width function for legacy is not defined
        drivers: perf: added capabilities for legacy PMU
        RISC-V: Ignore V from the riscv,isa DT property on older T-Head CPUs
        riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION
        riscv: mm: fix NOCACHE_THEAD does not set bit[61] correctly
        riscv: add CALLER_ADDRx support
        RISC-V: Drop invalid test from CONFIG_AS_HAS_OPTION_ARCH
        kbuild: Add -Wa,--fatal-warnings to as-instr invocation
        riscv: tlb: fix __p*d_free_tlb()
      d17468c6
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-6.8-rc7' of https://github.com/ceph/ceph-client · 5870ba3d
      Linus Torvalds authored
      Pull ceph fix from Ilya Dryomov:
       "Catch up with mdsmap encoding rectification which ended up being
        necessary after all to enable cluster upgrades from problematic
        v18.2.0 and v18.2.1 releases"
      
      * tag 'ceph-for-6.8-rc7' of https://github.com/ceph/ceph-client:
        ceph: switch to corrected encoding of max_xattr_size in mdsmap
      5870ba3d
    • Linus Torvalds's avatar
      Merge tag 'for-6.8-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 7505aa14
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - fix freeing allocated id for anon dev when snapshot creation fails
      
       - fiemap fixes:
           - followup for a recent deadlock fix, ranges that fiemap can access
             can still race with ordered extent completion
           - make sure fiemap with SYNC flag does not race with writes
      
      * tag 'for-6.8-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: fix double free of anonymous device after snapshot creation failure
        btrfs: ensure fiemap doesn't race with writes when FIEMAP_FLAG_SYNC is given
        btrfs: fix race between ordered extent completion and fiemap
      7505aa14
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 3aec97e0
      Linus Torvalds authored
      Pull exfat fix from Namjae Jeon:
      
       - Fix ftruncate failure when allocating non-contiguous clusters
      
      * tag 'exfat-for-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: fix appending discontinuous clusters to empty file
      3aec97e0
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.8-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 1678f8d8
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
       "Two small fixes:
      
         - Fix an endless loop during afs directory iteration caused by not
           skipping silly-rename files correctly.
      
         - Fix reporting of completion events for aio causing leaks in
           userspace. This is based on the fix last week as it's now possible
           to recognize aio events submitted through the old aio interface"
      
      * tag 'vfs-6.8-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        fs/aio: Make io_cancel() generate completions again
        afs: Fix endless loop in directory parsing
      1678f8d8
    • Linus Torvalds's avatar
      Merge tag 'iommu-fix-v6.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 17ba5660
      Linus Torvalds authored
      Pull iommu fix from Joerg Roedel:
      
       - Fix SVA handle sharing in multi device case
      
      * tag 'iommu-fix-v6.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/sva: Fix SVA handle sharing in multi device case
      17ba5660
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 371e4a1f
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "MMC core:
         - Fix eMMC initialization with 1-bit bus connection
      
        MMC host:
         - mmci: Fix DMA API overlapping mappings for the stm32 variant
         - sdhci-xenon: Fix PHY stability issues"
      
      * tag 'mmc-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-xenon: add timeout for PHY init complete
        mmc: sdhci-xenon: fix PHY init clock stability
        mmc: mmci: stm32: fix DMA API overlapping mappings warning
        mmc: core: Fix eMMC initialization with 1-bit bus connection
      371e4a1f
    • Linus Torvalds's avatar
      Merge tag 'pmdomain-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · fafbad4a
      Linus Torvalds authored
      Pull pmdomain fixes from Ulf Hansson:
      
       - qcom: Fix enabled_corner aggregation for rpmhpd
      
       - arm: Fix NULL dereference on scmi_perf_domain removal
      
      * tag 'pmdomain-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
        pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
        pmdomain: arm: Fix NULL dereference on scmi_perf_domain removal
      fafbad4a
    • Linus Torvalds's avatar
      Merge tag 'efi-fixes-for-v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi · 2bbb54ba
      Linus Torvalds authored
      Pull EFI fixes from Ard Biesheuvel:
       "Only the EFI variable name size change is significant, and will be
        backported once it lands. The others are cleanup.
      
         - Fix phys_addr_t size confusion in 32-bit capsule loader
      
         - Reduce maximum EFI variable name size to 512 to work around buggy
           firmware
      
         - Drop some redundant code from efivarfs while at it"
      
      * tag 'efi-fixes-for-v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
        efivarfs: Drop 'duplicates' bool parameter on efivar_init()
        efivarfs: Drop redundant cleanup on fill_super() failure
        efivarfs: Request at most 512 bytes for variable names
        efi/capsule-loader: fix incorrect allocation size
      2bbb54ba
    • Linus Torvalds's avatar
      Merge tag 'sound-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · fbf9e3b6
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "The amount of changes wasn't as small as wished, but all reasonably
        small fixes. There is a PCM core API change, which is for correcting
        the behavior change we took in 6.8. The rest are device-specific fixes
        for ASoC AMD, Qualcomm, Cirrus codecs, HD-audio quirks & co"
      
      * tag 'sound-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2
        ASoC: amd: yc: add new YC platform variant (0x63) support
        ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port
        ASoC: amd: yc: Add Lenovo ThinkBook 21J0 into DMI quirk table
        ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8
        ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol()
        ALSA: hda/realtek: tas2781: enable subwoofer volume control
        ALSA: pcm: clarify and fix default msbits value for all formats
        ASoC: qcom: Fix uninitialized pointer dmactl
        ALSA: hda/realtek: fix mute/micmute LED For HP mt440
        ALSA: Drop leftover snd-rtctimer stuff from Makefile
        ALSA: ump: Fix the discard error code from snd_ump_legacy_open()
        ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8)
        ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET
        ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron 16 Plus 7630
        ALSA: firewire-lib: fix to check cycle continuity
      fbf9e3b6
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-03-01' of https://gitlab.freedesktop.org/drm/kernel · 7187ea09
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Bunch of fixes, xe, amdgpu, nouveau and tegra all have a few. Then
        drm/bridge including some drivers/soc fallout fixes. The biggest thing
        in here is a new unit test for some buddy allocator fixes, otherwise a
        misc fbcon, ttm unit test and one msm revert.
      
        Seems pretty normal for this stage.
      
        buddy:
         - two allocation fixes + unit test
      
        fbcon:
         - font restore syzkaller fix
      
        ttm:
         - kunit test fix
      
        bridge:
         - fix aux-hpd leaks
         - fix aux-hpd registration
         - fix use after free in soc/qcom
         - fix boot on soc/qcom
      
        xe:
         - A couple of tracepoint updates from Priyanka and Lucas
         - Make sure BINDs are completed before accepting UNBINDs on LR vms
         - Don't arbitrarily restrict max number of batched binds
         - Add uapi for dumpable bos (agreed on IRC)
         - Remove unused uapi flags and a leftover comment
         - A couple of fixes related to the execlist backend
      
        msm:
         - DP: Revert a change which was causing a HDP regression
      
        amdgpu:
         - Fix potential buffer overflow
         - Fix power min cap
         - Suspend/resume fix
         - SI PM fix
         - eDP fix
      
        nouveau:
         - fix a misreported VRAM sizing
         - fix a regression in suspend/resume due to freeing
      
        tegra:
         - host1x reset fix
         - only remove existing driver if display is possible"
      
      * tag 'drm-fixes-2024-03-01' of https://gitlab.freedesktop.org/drm/kernel: (32 commits)
        drm/nouveau: keep DMA buffers required for suspend/resume
        nouveau: report byte usage in VRAM usage
        drm/xe/xe_trace: Add move_lacks_source detail to xe_bo_move trace
        drm/xe: Deny unbinds if uapi ufence pending
        drm/xe: Expose user fence from xe_sync_entry
        drm/xe: Use pointers in trace events
        drm/xe/xe_bo_move: Enhance xe_bo_move trace
        drm/xe/mmio: fix build warning for BAR resize on 32-bit
        drm/xe: get rid of MAX_BINDS
        drm/xe: Use vmalloc for array of bind allocation in bind IOCTL
        drm/xe: Don't support execlists in xe_gt_tlb_invalidation layer
        drm/xe: Fix execlist splat
        drm/xe/uapi: Remove unused flags
        drm/xe/uapi: Remove DRM_XE_VM_BIND_FLAG_ASYNC comment left over
        drm/xe: Add uapi for dumpable bos
        drm/amd/display: Add monitor patch for specific eDP
        Revert "drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes"
        drm/tests/drm_buddy: add alloc_range_bias test
        drm/buddy: check range allocation matches alignment
        drm/buddy: fix range bias
        ...
      7187ea09
    • Linus Torvalds's avatar
      Merge tag 'probes-fixes-v6.8-rc5' of... · 161671a6
      Linus Torvalds authored
      Merge tag 'probes-fixes-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
      
      Pull fprobe fix from Masami Hiramatsu:
      
       - allocate entry_data_size buffer for each rethook instance.
      
         This fixes a buffer overrun bug (which leads a kernel crash)
         when fprobe user uses its entry_data in the entry_handler.
      
      * tag 'probes-fixes-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        fprobe: Fix to allocate entry_data_size buffer with rethook instances
      161671a6
    • Tetsuo Handa's avatar
      tomoyo: fix UAF write bug in tomoyo_write_control() · 2f03fc34
      Tetsuo Handa authored
      
      
      Since tomoyo_write_control() updates head->write_buf when write()
      of long lines is requested, we need to fetch head->write_buf after
      head->io_sem is held.  Otherwise, concurrent write() requests can
      cause use-after-free-write and double-free problems.
      
      Reported-by: default avatarSam Sun <samsun1006219@gmail.com>
      Closes: https://lkml.kernel.org/r/CAEkJfYNDspuGxYx5kym8Lvp--D36CMDUErg4rxfWFJuPbbji8g@mail.gmail.com
      Fixes: bd03a3e4
      
       ("TOMOYO: Add policy namespace support.")
      Cc:  <stable@vger.kernel.org> # Linux 3.1+
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2f03fc34
    • Jiri Bohac's avatar
      x86/e820: Don't reserve SETUP_RNG_SEED in e820 · 7fd817c9
      Jiri Bohac authored
      SETUP_RNG_SEED in setup_data is supplied by kexec and should
      not be reserved in the e820 map.
      
      Doing so reserves 16 bytes of RAM when booting with kexec.
      (16 bytes because data->len is zeroed by parse_setup_data so only
      sizeof(setup_data) is reserved.)
      
      When kexec is used repeatedly, each boot adds two entries in the
      kexec-provided e820 map as the 16-byte range splits a larger
      range of usable memory. Eventually all of the 128 available entries
      get used up. The next split will result in losing usable memory
      as the new entries cannot be added to the e820 map.
      
      Fixes: 68b8e971
      
       ("x86/setup: Use rng seeds from setup_data")
      Signed-off-by: default avatarJiri Bohac <jbohac@suse.cz>
      Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
      Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
      Cc: <stable@kernel.org>
      Link: https://lore.kernel.org/r/ZbmOjKnARGiaYBd5@dwarf.suse.cz
      7fd817c9
  4. Mar 01, 2024