1. 02 Aug, 2024 12 commits
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 948752d2
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix to avoid dropping some of the internal pseudo-extensions, which
         breaks *envcfg dependency parsing
      
       - The kernel entry address is now aligned in purgatory, which avoids a
         misaligned load that can lead to crash on systems that don't support
         misaligned accesses early in boot
      
       - The FW_SFENCE_VMA_RECEIVED perf event was duplicated in a handful of
         perf JSON configurations, one of them been updated to
         FW_SFENCE_VMA_ASID_SENT
      
       - The starfive cache driver is now restricted to 64-bit systems, as it
         isn't 32-bit clean
      
       - A fix for to avoid aliasing legacy-mode perf counters with software
         perf counters
      
       - VM_FAULT_SIGSEGV is now handled in the page fault code
      
       - A fix for stalls during CPU hotplug due to IPIs being disabled
      
       - A fix for memblock bounds checking. This manifests as a crash on
         systems with discontinuous memory maps that have regions that don't
         fit in the linear map
      
      * tag 'riscv-for-linus-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Fix linear mapping checks for non-contiguous memory regions
        RISC-V: Enable the IPI before workqueue_online_cpu()
        riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
        perf: riscv: Fix selecting counters in legacy mode
        cache: StarFive: Require a 64-bit system
        perf arch events: Fix duplicate RISC-V SBI firmware event name
        riscv/purgatory: align riscv_kernel_entry
        riscv: cpufeature: Do not drop Linux-internal extensions
      948752d2
    • Linus Torvalds's avatar
      Merge tag 's390-6.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 66242ef2
      Linus Torvalds authored
      Pull s390 fixes from Vasily Gorbik:
      
       - remove unused empty CPU alternatives header file
      
       - fix recently and erroneously removed exception handling when loading
         an invalid floating point register
      
       - ptdump fixes to reflect the recent changes due to the uncoupling of
         physical vs virtual kernel address spaces
      
       - changes to avoid the unnecessary splitting of large pages in kernel
         mappings
      
       - add the missing MODULE_DESCRIPTION for the CIO modules
      
      * tag 's390-6.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390: Keep inittext section writable
        s390/vmlinux.lds.S: Move ro_after_init section behind rodata section
        s390/mm: Get rid of RELOC_HIDE()
        s390/mm/ptdump: Improve sorting of markers
        s390/mm/ptdump: Add support for relocated lowcore mapping
        s390/mm/ptdump: Fix handling of identity mapping area
        s390/cio: Add missing MODULE_DESCRIPTION() macros
        s390/alternatives: Remove unused empty header file
        s390/fpu: Re-add exception handling in load_fpu_state()
      66242ef2
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-fixes-6.11-1' of... · 29ccb40f
      Linus Torvalds authored
      Merge tag 'asm-generic-fixes-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
      
      Pull asm-generic fixes from Arnd Bergmann:
       "These are three important bug fixes for the cross-architecture tree,
        fixing a regression with the new syscall.tbl file, the inconsistent
        numbering for the new uretprobe syscall and a bug with iowrite64be on
        alpha"
      
      * tag 'asm-generic-fixes-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        syscalls: fix syscall macros for newfstat/newfstatat
        uretprobe: change syscall number, again
        alpha: fix ioread64be()/iowrite64be() helpers
      29ccb40f
    • Linus Torvalds's avatar
      Merge tag 'sound-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 6b779f8a
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A small collection of fixes:
      
         - Revert of FireWire changes that caused a long-time regression
      
         - Another long-time regression fix for AMD HDMI
      
         - MIDI2 UMP fixes
      
         - HD-audio Conexant codec fixes and a quirk"
      
      * tag 'sound-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda: Conditionally use snooping for AMD HDMI
        ALSA: usb-audio: Correct surround channels in UAC1 channel map
        ALSA: seq: ump: Explicitly reset RPN with Null RPN
        ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
        ALSA: seq: ump: Use the common RPN/bank conversion context
        ALSA: ump: Explicitly reset RPN with Null RPN
        ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
        Revert "ALSA: firewire-lib: operate for period elapse event in process context"
        Revert "ALSA: firewire-lib: obsolete workqueue for period update"
        ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
        ALSA: seq: ump: Optimize conversions from SysEx to UMP
        ALSA: hda/conexant: Mute speakers at suspend / shutdown
        ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown
        ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
      6b779f8a
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-08-02' of https://gitlab.freedesktop.org/drm/kernel · 29b4a699
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular weekly fixes. This is a bit larger than usual but doesn't seem
        too crazy.
      
        Most of it is vmwgfx changes that fix a bunch of issues with wayland
        userspaces with dma-buf/external buffers and modesetting fixes.
      
        Otherwise it's kinda spread out, v3d fixes some new ioctls, nouveau
        has regression revert and fixes, amdgpu, i915 and ast have some small
        fixes, and some core fixes spread about.
      
        client:
         - fix error code
      
        atomic:
         - allow damage clips with async flips
         - allow explicit sync with async flips
      
        kselftests:
         - fix dmabuf-heaps test
      
        panic:
         - fix schedule_work in panic paths
      
        panel:
         - fix OrangePi Neo orientation
      
        gpuvm:
         - fix missing dependency
      
        amdgpu:
         - SMU 14.x update
         - Fix contiguous VRAM handling for IB parsing
         - GFX 12 fix
         - Regression fix for old APUs
      
        i915:
         - Static analysis fix for int overflow
         - Fix for HDCP2_STREAM_STATUS macro and removal of PWR_CLK_STATE for gen12
      
        nouveau:
         - revert busy wait change that caused a resume regression
         - fix buffer placement fault on dynamic pm s/r
         - fix refcount underflow
      
        ast:
         - fix black screen on resume
         - wake during connector status detect
      
        v3d:
         - fix issues with perf/timestamp ioctls
      
        vmwgfx:
         - fix deadlock in dma-buf fence polling
         - fix screen surface refcounting
         - fix dumb buffer handling
         - fix support for external buffers
         - fix overlay with screen targets
         - trigger modeset on screen moves"
      
      * tag 'drm-fixes-2024-08-02' of https://gitlab.freedesktop.org/drm/kernel: (31 commits)
        Revert "nouveau: rip out busy fence waits"
        nouveau: set placement to original placement on uvmm validate.
        drm/atomic: Allow userspace to use damage clips with async flips
        drm/atomic: Allow userspace to use explicit sync with atomic async flips
        drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()
        drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
        drm/ast: astdp: Wake up during connector status detection
        i915/perf: Remove code to update PWR_CLK_STATE for gen12
        kselftests: dmabuf-heaps: Ensure the driver name is null-terminated
        drm/client: Fix error code in drm_client_buffer_vmap_local()
        drm/amdgpu: Fix APU handling in amdgpu_pm_load_smu_firmware()
        drm/amdgpu: increase mes log buffer size for gfx12
        drm/amdgpu: fix contiguous handling for IB parsing v2
        drm/amdgpu/pm: support gpu_metrics sysfs interface for smu v14.0.2/3
        drm/vmwgfx: Trigger a modeset when the screen moves
        drm/vmwgfx: Fix overlay when using Screen Targets
        drm/vmwgfx: Add basic support for external buffers
        drm/vmwgfx: Fix handling of dumb buffers
        drm/vmwgfx: Make sure the screen surface is ref counted
        drm/vmwgfx: Fix a deadlock in dma buf fence polling
        ...
      29b4a699
    • Linus Torvalds's avatar
      Merge tag 'ata-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux · 454e2370
      Linus Torvalds authored
      Pull ata fix from Damien Le Moal:
      
       - Add missing power-domains property to the device tree bindings for
         the Rockchip Designware AHCI adapter (from Heiko)
      
      * tag 'ata-6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
        dt-bindings: ata: rockchip-dwc-ahci: add missing power-domains
      454e2370
    • Linus Torvalds's avatar
      Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · bbea34e6
      Linus Torvalds authored
      Pull vfs fix from Al Viro:
       "do_dup2() out-of-bounds array speculation fix"
      
      * tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        protect the fetch of ->fd[fd] in do_dup2() from mispredictions
      bbea34e6
    • Arnd Bergmann's avatar
      syscalls: fix syscall macros for newfstat/newfstatat · 343416f0
      Arnd Bergmann authored
      The __NR_newfstat and __NR_newfstatat macros accidentally got renamed
      in the conversion to the syscall.tbl format, dropping the 'new' portion
      of the name.
      
      In an unrelated change, the two syscalls are no longer architecture
      specific but are once more defined on all 64-bit architectures, so the
      'newstat' ABI keyword can be dropped from the table as a simplification.
      
      Fixes: Fixes: 4fe53bf2 ("syscalls: add generic scripts/syscall.tbl")
      Closes: https://lore.kernel.org/lkml/838053e0-b186-4e9f-9668-9a3384a71f23@app.fastmail.com/T/#tReported-by: default avatarFlorian Weimer <fweimer@redhat.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      343416f0
    • Arnd Bergmann's avatar
      uretprobe: change syscall number, again · 54233a42
      Arnd Bergmann authored
      Despite multiple attempts to get the syscall number assignment right
      for the newly added uretprobe syscall, we ended up with a bit of a mess:
      
       - The number is defined as 467 based on the assumption that the
         xattrat family of syscalls would use 463 through 466, but those
         did not make it into 6.11.
      
       - The include/uapi/asm-generic/unistd.h file still lists the number
         463, but the new scripts/syscall.tbl that was supposed to have the
         same data lists 467 instead as the number for arc, arm64, csky,
         hexagon, loongarch, nios2, openrisc and riscv. None of these
         architectures actually provide a uretprobe syscall.
      
       - All the other architectures (powerpc, arm, mips, ...) don't list
         this syscall at all.
      
      There are two ways to make it consistent again: either list it with
      the same syscall number on all architectures, or only list it on x86
      but not in scripts/syscall.tbl and asm-generic/unistd.h.
      
      Based on the most recent discussion, it seems like we won't need it
      anywhere else, so just remove the inconsistent assignment and instead
      move the x86 number to the next available one in the architecture
      specific range, which is 335.
      
      Fixes: 5c28424e ("syscalls: Fix to add sys_uretprobe to syscall.tbl")
      Fixes: 190fec72 ("uprobe: Wire up uretprobe system call")
      Fixes: 63ded110 ("uprobe: Change uretprobe syscall scope and number")
      Acked-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
      Reviewed-by: default avatarJiri Olsa <jolsa@kernel.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      54233a42
    • Dave Airlie's avatar
      Revert "nouveau: rip out busy fence waits" · 27ce65f6
      Dave Airlie authored
      This reverts commit d45bb9c5.
      
      Just got a report that this causes some suspend/resume issues,
      so back it out and I'll investigate it later.
      Reported-by: default avatarMike Galbraith <efault@gmx.de>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      27ce65f6
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2024-08-01' of... · 4eb39974
      Dave Airlie authored
      Merge tag 'drm-misc-fixes-2024-08-01' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
      
      A couple drm_panic fixes, several v3d fixes to increase the new timestamp API
      safety, several fixes for vmwgfx for various modesetting issues, PM fixes
      for ast, async flips improvements and two fixes for nouveau to fix
      resource refcounting and buffer placement.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240801-interesting-antique-bat-2fe4c0@houat
      4eb39974
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2024-08-01' of... · 7b9b7651
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2024-08-01' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
      
      - Static analysis fix for int overflow
      - Fix for HDCP2_STREAM_STATUS macro and removal of PWR_CLK_STATE for gen12
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZqslBkcZlInYdYgm@jlahtine-mobl.ger.corp.intel.com
      7b9b7651
  2. 01 Aug, 2024 28 commits