Skip to content
Snippets Groups Projects
  1. Mar 26, 2025
  2. Mar 20, 2025
  3. Mar 14, 2025
  4. Mar 13, 2025
  5. Mar 12, 2025
  6. Mar 11, 2025
    • Dave Airlie's avatar
      Backmerge tag 'v6.14-rc6' into drm-next · 626fb115
      Dave Airlie authored
      
      This is a backmerge from Linux 6.14-rc6, needed for the nova PR.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      626fb115
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2025-03-10' of... · e5dc4f66
      Dave Airlie authored
      Merge tag 'drm-intel-next-2025-03-10' of https://gitlab.freedesktop.org/drm/i915/kernel
      
       into drm-next
      
      drm/i915 feature pull #2 for v6.15:
      
      Features and functionality:
      - FBC dirty rectangle support for display version 30+ (Vinod)
      - Update plane scalers via DSB based commits (Ville)
      - Move runtime power status info to display power debugfs (Jani)
      
      Refactoring and cleanups:
      - Convert i915 and xe to DRM client setup (Thomas)
      - Refactor and clean up CDCLK/bw/dbuf readout/sanitation (Ville)
      - Conversions from drm_i915_private to struct intel_display (Jani, Suraj)
      - Refactor display reset for better separation between display and core (Jani)
      - Move panel fitter code together (Jani)
      - Add mst and hdcp sub-structs to display structs for clarity (Jani)
      - Header refactoring to clarify separation between display and i915 core (Jani)
      
      Fixes:
      - Fix DP MST max stream count to match number of pipes (Jani)
      - Fix encoder HW state readout of DP MST UHBR (Imre)
      - Fix ICL+ combo PHY cursor and coeff polarity programming (Ville)
      - Fix pipeDMC and ATS fault handling (Ville)
      - Display workarounds (Gustavo)
      - Remove duplicate forward declaration (Vinod)
      - Improve POWER_DOMAIN_*() macro type safety (Gustavo)
      - Move CDCLK post plane programming later (Ville)
      
      DRM core changes:
      - Add client-hotplug helper (Thomas)
      - Send pending hotplug events after client resume (Thomas)
      - Add fb_restore and fb_set_suspend fb helper hooks (Thomas)
      - Remove struct fb_probe fb helper hook (Thomas)
      - Add const qualifier to drm_atomic_helper_damage_merged() (Vinod)
      
      Xe driver changes:
      - Convert i915 and xe to DRM client setup (Thomas)
      - Refactor i915 compat headers (Jani)
      - Fix fbdev GGTT mapping handling (Maarten)
      - Figure out pxp instance from the gem object (Jani)
      
      Merges:
      - Backmerge drm-next to fix conflicts with drm-xe-next (Jani)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87o6y9gpub.fsf@intel.com
      e5dc4f66
    • Dave Airlie's avatar
      Merge tag 'drm-xe-next-2025-03-07' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next · 11a5c644
      Dave Airlie authored
      
      UAPI Changes:
       - Expose per-engine activity via perf pmu (Riana, Lucas, Umesh)
       - Add support for EU stall sampling (Harish, Ashutosh)
       - Allow userspace to provide low latency hint for submission (Tejas)
       - GPU SVM and Xe SVM implementation (Matthew Brost)
      
      Cross-subsystem Changes:
       - devres handling for component drivers (Lucas)
       - Backmege drm-next to allow cross dependent change with i915
       - GPU SVM and Xe SVM implementation (Matthew Brost)
      
      Core Changes:
      
      Driver Changes:
       - Fixes to userptr and missing validations (Matthew Auld, Thomas
         Hellström, Matthew Brost)
       - devcoredump typos and error handling improvement (Shuicheng)
       - Allow oa_exponent value of 0 (Umesh)
       - Finish moving device probe to devm (Lucas)
       - Fix race between submission restart and scheduled being freed (Tejas)
       - Fix counter overflows in gt_stats (Francois)
       - Refactor and add missing workarounds and tunings for pre-Xe2 platforms
         (Aradhya, Tvrtko)
       - Fix PXP locks interaction with exec queues being killed (Daniele)
       - Eliminate TIMESTAMP_OVERRIDE from xe (Matt Roper)
       - Change xe_gen_wa_oob to allow building on MacOS (Daniel Gomez)
       - New workarounds for Panther Lake (Tejas)
       - Fix VF resume errors (Satyanarayana)
       - Fix workaround infra skipping some workarounds dependent on engine
         initialization (Tvrtko)
       - Improve per-IP descriptors (Gustavo)
       - Add more error injections to probe sequence (Francois)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Lucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ilc5jvtyaoyi6woyhght5a6sw5jcluiojjueorcyxbynrcpcjp@mw2mi6rd6a7l
      11a5c644
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2025-03-09' of https://gitlab.freedesktop.org/drm/msm into drm-next · c8cd03eb
      Dave Airlie authored
      
      Updates for v6.15
      
      GPU:
      - Fix obscure GMU suspend failure
      - Expose syncobj timeline support
      - Extend GPU devcoredump with pagetable info
      - a623 support
      - Fix a6xx gen1/gen2 indexed-register blocks in gpu snapshot / devcoredump
      
      Display:
      - Add cpu-cfg interconnect paths on SM8560 and SM8650
      - Introduce KMS OMMU fault handler, causing devcoredump snapshot
      - Fixed error pointer dereference in msm_kms_init_aspace()
      
      DPU:
      - Fix mode_changing handling
      - Add writeback support on SM6150 (QCS615)
      - Fix DSC programming in 1:1:1 topology
      - Reworked hardware resource allocation, moving it to the CRTC code
      - Enabled support for Concurrent WriteBack (CWB) on SM8650
      - Enabled CDM blocks on all relevant platforms
      - Reworked debugfs interface for BW/clocks debugging
      - Clear perf params before calculating bw
      - Support YUV formats on writeback
      - Fixed double inclusion
      - Fixed writeback in YUV formats when using cloned output, Dropped
        wb2_formats_rgb
      - Corrected dpu_crtc_check_mode_changed and struct dpu_encoder_virt
        kerneldocs
      - Fixed uninitialized variable in dpu_crtc_kickoff_clone_mode()
      
      DSI:
      - DSC-related fixes
      - Rework clock programming
      
      DSI PHY:
      - Fix 7nm (and lower) PHY programming
      - Add proper DT schema definitions for DSI PHY clocks
      
      HDMI:
      - Rework the driver, enabling the use of the HDMI Connector framework
      
      Bindings:
      - Added eDP PHY on SA8775P
      
      Misc:
      - mailmap/MAINTAINERS: update Dmitry's email addr
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Rob Clark <robdclark@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGu-rbEFzQQ-me6qRLgBOJ=Xro1PL=PhtKJ-K9=bCaiK0w@mail.gmail.com
      c8cd03eb
  7. Mar 09, 2025
    • Linus Torvalds's avatar
      Linux 6.14-rc6 · 80e54e84
      Linus Torvalds authored
      80e54e84
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.15-2025-03-07' of... · 236f475d
      Dave Airlie authored
      Merge tag 'amd-drm-next-6.15-2025-03-07' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amdgpu:
      - Fix spelling typos
      - RAS updates
      - VCN 5.0.1 updates
      - SubVP fixes
      - DCN 4.0.1 fixes
      - MSO DPCD fixes
      - DIO encoder refactor
      - PCON fixes
      - Misc cleanups
      - DMCUB fixes
      - USB4 DP fixes
      - DM cleanups
      - Backlight cleanups and fixes
      - Support platform backlight curves
      - Misc code cleanups
      - SMU 14 fixes
      - JPEG 4.0.3 reset updates
      - SR-IOV fixes
      - SVM fixes
      - GC 12 DCC fixes
      - DC DCE 6.x fix
      - Hiberation fix
      
      amdkfd:
      - Fix possible NULL pointer in queue validation
      - Remove unnecessary CP domain validation
      - SDMA queue reset support
      - Add per process flags
      
      radeon:
      - Fix spelling typos
      - RS400 hyperZ fix
      
      UAPI:
      - Add KFD per process flags for setting precision
        Proposed user space: https://github.com/ROCm/ROCR-Runtime/commit/2a64fa5e06e80e0af36df4ce0c76ae52eeec0a9d
      
      
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20250307211051.1880472-1-alexander.deucher@amd.com
      236f475d
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.14-3' of... · 9712d38c
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Use the specified $(LD) when building userprogs with Clang
      
       - Pass the correct target triple when compile-testing UAPI headers
         with Clang
      
       - Fix pacman-pkg build error with KBUILD_OUTPUT
      
      * tag 'kbuild-fixes-v6.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: install-extmod-build: Fix build when specifying KBUILD_OUTPUT
        docs: Kconfig: fix defconfig description
        kbuild: hdrcheck: fix cross build with clang
        kbuild: userprogs: use correct lld when linking through clang
      9712d38c
    • Linus Torvalds's avatar
      Merge tag 'usb-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 0dc1f314
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB driver fixes for some reported issues. These
        contain:
      
         - typec driver fixes
      
         - dwc3 driver fixes
      
         - xhci driver fixes
      
         - renesas controller fixes
      
         - gadget driver fixes
      
         - a new USB quirk added
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: typec: ucsi: Fix NULL pointer access
        usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader
        usb: xhci: Fix host controllers "dying" after suspend and resume
        usb: dwc3: Set SUSPENDENABLE soon after phy init
        usb: hub: lack of clearing xHC resources
        usb: renesas_usbhs: Flush the notify_hotplug_work
        usb: renesas_usbhs: Use devm_usb_get_phy()
        usb: renesas_usbhs: Call clk_put()
        usb: dwc3: gadget: Prevent irq storm when TH re-executes
        usb: gadget: Check bmAttributes only if configuration is valid
        xhci: Restrict USB4 tunnel detection for USB3 devices to Intel hosts
        usb: xhci: Enable the TRB overfetch quirk on VIA VL805
        usb: gadget: Fix setting self-powered state on suspend
        usb: typec: ucsi: increase timeout for PPM reset operations
        acpi: typec: ucsi: Introduce a ->poll_cci method
        usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality
        usb: gadget: Set self-powered based on MaxPower and bmAttributes
        usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails
        usb: atm: cxacru: fix a flaw in existing endpoint checks
      0dc1f314
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.14-rc6' of... · 51b38f3c
      Linus Torvalds authored
      Merge tag 'driver-core-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core fix from Greg KH:
       "Here is a single driver core fix that resolves a reported memory leak.
      
        It's been in linux-next for 2 weeks now with no reported problems"
      
      * tag 'driver-core-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        drivers: core: fix device leak in __fw_devlink_relax_cycles()
      51b38f3c
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 2cc699b3
      Linus Torvalds authored
      Pull char/misc/IIO driver fixes from Greg KH:
       "Here are a number of misc and char and iio driver fixes that have been
        sitting in my tree for way too long. They contain:
      
         - iio driver fixes for reported issues
      
         - regression fix for rtsx_usb card reader
      
         - mei and mhi driver fixes
      
         - small virt driver fixes
      
         - ntsync permissions fix
      
         - other tiny driver fixes for reported problems.
      
        All of these have been in linux-next for quite a while with no
        reported issues"
      
      * tag 'char-misc-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (30 commits)
        Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection"
        ntsync: Check wait count based on byte size.
        bus: simple-pm-bus: fix forced runtime PM use
        char: misc: deallocate static minor in error path
        eeprom: digsy_mtc: Make GPIO lookup table match the device
        drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
        binderfs: fix use-after-free in binder_devices
        slimbus: messaging: Free transaction ID in delayed interrupt scenario
        vbox: add HAS_IOPORT dependency
        cdx: Fix possible UAF error in driver_override_show()
        intel_th: pci: Add Panther Lake-P/U support
        intel_th: pci: Add Panther Lake-H support
        intel_th: pci: Add Arrow Lake support
        intel_th: msu: Fix less trivial kernel-doc warnings
        intel_th: msu: Fix kernel-doc warnings
        MAINTAINERS: change maintainer for FSI
        ntsync: Set the permissions to be 0666
        bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock
        mei: vsc: Use "wakeuphostint" when getting the host wakeup GPIO
        mei: me: add panther lake P DID
        ...
      2cc699b3
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a382b06d
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "arm64:
      
         - Fix a couple of bugs affecting pKVM's PSCI relay implementation
           when running in the hVHE mode, resulting in the host being entered
           with the MMU in an unknown state, and EL2 being in the wrong mode
      
        x86:
      
         - Set RFLAGS.IF in C code on SVM to get VMRUN out of the STI shadow
      
         - Ensure DEBUGCTL is context switched on AMD to avoid running the
           guest with the host's value, which can lead to unexpected bus lock
           #DBs
      
         - Suppress DEBUGCTL.BTF on AMD (to match Intel), as KVM doesn't
           properly emulate BTF. KVM's lack of context switching has meant BTF
           has always been broken to some extent
      
         - Always save DR masks for SNP vCPUs if DebugSwap is *supported*, as
           the guest can enable DebugSwap without KVM's knowledge
      
         - Fix a bug in mmu_stress_tests where a vCPU could finish the "writes
           to RO memory" phase without actually generating a write-protection
           fault
      
         - Fix a printf() goof in the SEV smoke test that causes build
           failures with -Werror
      
         - Explicitly zero EAX and EBX in CPUID.0x8000_0022 output when
           PERFMON_V2 isn't supported by KVM"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVM
        KVM: selftests: Fix printf() format goof in SEV smoke test
        KVM: selftests: Ensure all vCPUs hit -EFAULT during initial RO stage
        KVM: SVM: Don't rely on DebugSwap to restore host DR0..DR3
        KVM: SVM: Save host DR masks on CPUs with DebugSwap
        KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()
        KVM: arm64: Initialize HCR_EL2.E2H early
        KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs
        KVM: SVM: Manually context switch DEBUGCTL if LBR virtualization is disabled
        KVM: x86: Snapshot the host's DEBUGCTL in common x86
        KVM: SVM: Suppress DEBUGCTL.BTF on AMD
        KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value
        KVM: selftests: Assert that STI blocking isn't set after event injection
        KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI shadow
      a382b06d
    • Danilo Krummrich's avatar
      gpu: nova-core: add initial documentation · b28786b1
      Danilo Krummrich authored
      
      Add the initial documentation of the Nova project.
      
      The initial project documentation consists out of a brief introduction
      of the project, as well as project guidelines both general and nova-core
      specific and a task list for nova-core specifically.
      
      The task list is divided into tasks for general Rust infrastructure
      required by the project, tasks regarding GSP enablement and firmware
      abstraction, general GPU driver tasks as well as tasks related to
      external API design and test infrastructure.
      
      Reviewed-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Link: https://lore.kernel.org/r/20250306222336.23482-6-dakr@kernel.org
      
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
      b28786b1
    • Danilo Krummrich's avatar
      gpu: nova-core: add initial driver stub · 54e6baf1
      Danilo Krummrich authored
      Add the initial nova-core driver stub.
      
      nova-core is intended to serve as a common base for nova-drm (the
      corresponding DRM driver) and the vGPU manager VFIO driver, serving as a
      hard- and firmware abstraction layer for GSP-based NVIDIA GPUs.
      
      The Nova project, including nova-core and nova-drm, in the long term,
      is intended to serve as the successor of Nouveau for all GSP-based GPUs.
      
      The motivation for both, starting a successor project for Nouveau and
      doing so using the Rust programming language, is documented in detail
      through a previous post on the mailing list [1], an LWN article [2] and a
      talk from LPC '24.
      
      In order to avoid the chicken and egg problem to require a user to
      upstream Rust abstractions, but at the same time require the Rust
      abstractions to implement the driver, nova-core kicks off as a driver
      stub and is subsequently developed upstream.
      
      Link: https://lore.kernel.org/dri-devel/Zfsj0_tb-0-tNrJy@cassiopeiae/T/#u [1]
      Link: https://lwn.net/Articles/990736/ [2]
      Link: https://youtu.be/3Igmx28B3BQ?si=sBdSEer4tAPKGpOs
      
       [3]
      Reviewed-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Link: https://lore.kernel.org/r/20250306222336.23482-5-dakr@kernel.org
      
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
      54e6baf1
    • Danilo Krummrich's avatar
      rust: firmware: add `module_firmware!` macro · 1d121a33
      Danilo Krummrich authored
      
      Analogous to the `module!` macro `module_firmware!` adds additional
      firmware path strings to the .modinfo section.
      
      In contrast to `module!`, where path strings need to be string literals,
      path strings can be composed with the `firmware::ModInfoBuilder`.
      
      Some drivers require a lot of firmware files (such as nova-core) and
      hence benefit from more flexibility composing firmware path strings.
      
      Acked-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
      Link: https://lore.kernel.org/r/20250306222336.23482-4-dakr@kernel.org
      
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
      1d121a33
    • Danilo Krummrich's avatar
      rust: firmware: introduce `firmware::ModInfoBuilder` · ef476b0d
      Danilo Krummrich authored
      
      The `firmware` field of the `module!` only accepts literal strings,
      which is due to the fact that it is implemented as a proc macro.
      
      Some drivers require a lot of firmware files (such as nova-core) and
      hence benefit from more flexibility composing firmware path strings.
      
      The `firmware::ModInfoBuilder` is a helper component to flexibly compose
      firmware path strings for the .modinfo section in const context.
      
      It is meant to be used in combination with `kernel::module_firmware!`.
      
      Co-developed-by: default avatarAlice Ryhl <aliceryhl@google.com>
      Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
      Link: https://lore.kernel.org/r/20250306222336.23482-3-dakr@kernel.org
      
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
      ef476b0d
    • Danilo Krummrich's avatar
      rust: module: add type `LocalModule` · d4245284
      Danilo Krummrich authored
      
      The `LocalModule` type is the type of the module created by `module!`,
      `module_pci_driver!`, `module_platform_driver!`, etc.
      
      Since the exact type of the module is sometimes generated on the fly by
      the listed macros, provide an alias.
      
      This is first used by the `module_firmware!` macro.
      
      Acked-by: default avatarMiguel Ojeda <ojeda@kernel.org>
      Suggested-by: default avatarAlice Ryhl <aliceryhl@google.com>
      Link: https://lore.kernel.org/r/20250306222336.23482-2-dakr@kernel.org
      
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
      d4245284
    • Paolo Bonzini's avatar
      Merge tag 'kvm-x86-fixes-6.14-rcN.2' of https://github.com/kvm-x86/linux into HEAD · ea9bd29a
      Paolo Bonzini authored
      KVM x86 fixes for 6.14-rcN #2
      
       - Set RFLAGS.IF in C code on SVM to get VMRUN out of the STI shadow.
      
       - Ensure DEBUGCTL is context switched on AMD to avoid running the guest with
         the host's value, which can lead to unexpected bus lock #DBs.
      
       - Suppress DEBUGCTL.BTF on AMD (to match Intel), as KVM doesn't properly
         emulate BTF.  KVM's lack of context switching has meant BTF has always been
         broken to some extent.
      
       - Always save DR masks for SNP vCPUs if DebugSwap is *supported*, as the guest
         can enable DebugSwap without KVM's knowledge.
      
       - Fix a bug in mmu_stress_tests where a vCPU could finish the "writes to RO
         memory" phase without actually generating a write-protection fault.
      
       - Fix a printf() goof in the SEV smoke test that causes build failures with
         -Werror.
      
       - Explicitly zero EAX and EBX in CPUID.0x8000_0022 output when PERFMON_V2
         isn't supported by KVM.
      ea9bd29a
    • Paolo Bonzini's avatar
      Merge tag 'kvmarm-fixes-6.14-4' of... · 1cdad678
      Paolo Bonzini authored
      Merge tag 'kvmarm-fixes-6.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
      
      KVM/arm64 fixes for 6.14, take #4
      
      - Fix a couple of bugs affecting pKVM's PSCI relay implementation
        when running in the hVHE mode, resulting in the host being entered
        with the MMU in an unknown state, and EL2 being in the wrong mode.
      1cdad678
Loading