1. 09 Jul, 2024 2 commits
  2. 04 Jul, 2024 2 commits
  3. 27 Jun, 2024 1 commit
  4. 25 Jun, 2024 2 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'thermal-core' · 06d55c42
      Rafael J. Wysocki authored
      Merge thermal core changes for v6.11:
      
       - Fix and clean up several minor shortcomings in thermal debug (Rafael
         Wysocki).
      
       - Rename __thermal_zone_set_trips() to thermal_zone_set_trips() and
         make it use trip thresholds (Rafael Wysocki).
      
       - Use READ_ONCE() for lockless access to trip temperature and
         hysteresis (Rafael Wysocki).
      
       - Drop unnecessary cooling device target state checks from the
         Bang-Bang thermal governor (Rafael Wysocki).
      
       - Avoid invoking thermal governor .trip_crossed() callback for critical
         and hot trip points (Rafael Wysocki).
      
      * thermal-core:
        thermal: core: Avoid calling .trip_crossed() for critical and hot trips
        thermal: gov_bang_bang: Drop unnecessary cooling device target state checks
        thermal: trip: Use READ_ONCE() for lockless access to trip properties
        thermal: trip: Make thermal_zone_set_trips() use trip thresholds
        thermal: trip: Rename __thermal_zone_set_trips() to thermal_zone_set_trips()
        thermal: trip: Use common set of trip type names
        thermal/debugfs: Move some statements from under thermal_dbg->lock
        thermal/debugfs: Compute maximum temperature for mitigation episode as a whole
        thermal/debugfs: Adjust check for trips without statistics in tze_seq_show()
        thermal/debugfs: Fix up units in "mitigations" files
        thermal/debugfs: Print mitigation timestamp value in milliseconds
        thermal/debugfs: Do not extend mitigation episodes beyond system resume
        thermal/debugfs: Use helper to update trip point overstepping duration
      06d55c42
    • Rafael J. Wysocki's avatar
      thermal: gov_step_wise: Go straight to instance->lower when mitigation is over · 52903814
      Rafael J. Wysocki authored
      Commit b6846826 ("thermal: gov_step_wise: Restore passive polling
      management") attempted to fix a Step-Wise thermal governor issue
      introduced by commit 042a3d80 ("thermal: core: Move passive polling
      management to the core"), which caused the governor to leave cooling
      devices in high states, by partially reverting that commit.
      
      However, this turns out to be insufficient on some systems due to
      interactions between the governor code restored by commit b6846826
      and the passive polling management in the thermal core.
      
      For this reason, revert commit b6846826 and make the governor set
      the target cooling device state to the "lower" one as soon as the zone
      temperature falls below the threshold of the trip point corresponding
      to the given thermal instance, which means that thermal mitigation is
      not necessary any more.
      
      Before this change the "lower" cooling device state would be reached in
      steps through the passive polling mechanism which was questionable for
      three reasons: (1) cooling device were kept in high states when that was
      not necessary (and it could adversely impact performance), (2) it only
      worked for thermal zones with nonzero passive_delay_jiffies value, and
      (3) passive polling belongs to the core and should not be hijacked by
      governors for their internal purposes.
      
      Fixes: b6846826 ("thermal: gov_step_wise: Restore passive polling management")
      Closes: https://lore.kernel.org/linux-pm/6759ce9f-281d-4fcd-bb4c-b784a1cc5f6e@oldschoolsolutions.bizReported-by: default avatarJens Glathe <jens.glathe@oldschoolsolutions.biz>
      Tested-by: default avatarJens Glathe <jens.glathe@oldschoolsolutions.biz>
      Link: https://patch.msgid.link/12464461.O9o76ZdvQC@rjwysocki.netSigned-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Tested-by: default avatarSteev Klimaszewski <steev@kali.org>
      Tested-by: default avatarJohan Hovold <johan+linaro@kernel.org>
      52903814
  5. 23 Jun, 2024 8 commits
  6. 22 Jun, 2024 19 commits
  7. 21 Jun, 2024 6 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 35bb670d
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Two fixes: one in the ufs driver fixing an obvious memory leak and the
        other (with a core flag based update) trying to prevent USB crashes by
        stopping the core from issuing a request for the I/O Hints mode page"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: usb: uas: Do not query the IO Advice Hints Grouping mode page for USB/UAS devices
        scsi: core: Introduce the BLIST_SKIP_IO_HINTS flag
        scsi: ufs: core: Free memory allocated for model before reinit
      35bb670d
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-06-22' of https://gitlab.freedesktop.org/drm/kernel · d6c94157
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Still pretty quiet, two weeks worth of amdgpu fixes, with one i915 and
        one xe. I didn't get the drm-misc-fixes tree PR this week, but there
        was only one fix queued and I think it can wait another week, so seems
        pretty normal.
      
        xe:
         - Fix for invalid register access
      
        i915:
         - Fix conditions for joiner usage, it's not possible with eDP MSO
      
        amdgpu:
         - Fix display idle optimization race
         - Fix GPUVM TLB flush locking scope
         - IPS fix
         - GFX 9.4.3 harvesting fix
         - Runtime pm fix for shared buffers
         - DCN 3.5.x fixes
         - USB4 fix
         - RISC-V clang fix
         - Silence UBSAN warnings
         - MES11 fix
         - PSP 14.0.x fix"
      
      * tag 'drm-fixes-2024-06-22' of https://gitlab.freedesktop.org/drm/kernel:
        drm/xe/vf: Don't touch GuC irq registers if using memory irqs
        drm/amdgpu: init TA fw for psp v14
        drm/amdgpu: cleanup MES11 command submission
        drm/amdgpu: fix UBSAN warning in kv_dpm.c
        drm/radeon: fix UBSAN warning in kv_dpm.c
        drm/amd/display: Disable CONFIG_DRM_AMD_DC_FP for RISC-V with clang
        drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA
        drm/amd/display: change dram_clock_latency to 34us for dcn35
        drm/amd/display: Change dram_clock_latency to 34us for dcn351
        drm/amdgpu: revert "take runtime pm reference when we attach a buffer" v2
        drm/amdgpu: Indicate CU havest info to CP
        drm/amd/display: prevent register access while in IPS
        drm/amdgpu: fix locking scope when flushing tlb
        drm/amd/display: Remove redundant idle optimization check
        drm/i915/mso: using joiner is not possible with eDP MSO
      d6c94157
    • Linus Torvalds's avatar
      Merge tag 'ovl-fixes-6.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs · 264efe48
      Linus Torvalds authored
      Pull overlayfs fixes from Miklos Szeredi:
       "Fix two bugs, one originating in this cycle and one from 6.6"
      
      * tag 'ovl-fixes-6.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
        ovl: fix encoding fid for lower only root
        ovl: fix copy-up in tmpfile
      264efe48
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.10-20240621' of git://git.kernel.dk/linux · a502e727
      Linus Torvalds authored
      Pull io_uring fix from Jens Axboe:
       "Just a single cleanup for the fixed buffer iov_iter import.
      
        More cosmetic than anything else, but let's get it cleaned up as it's
        confusing"
      
      * tag 'io_uring-6.10-20240621' of git://git.kernel.dk/linux:
        io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed
      a502e727
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · ffdf504c
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "Small bug fixes:
      
         - Prevent a crash in bnxt if the en and rdma drivers disagree on the
           MSI vectors
      
         - Have rxe memcpy inline data from the correct address
      
         - Fix rxe's validation of UD packets
      
         - Several mlx5 mr cache issues: bad lock balancing on error, missing
           propagation of the ATS property to the HW, wrong bucketing of freed
           mrs in some cases
      
         - Incorrect goto error unwind in mlx5 driver probe
      
         - Missed userspace input validation in mlx5 SRQ create
      
         - Incorrect uABI in MANA rejecting valid optional MR creation flags"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/mana_ib: Ignore optional access flags for MRs
        RDMA/mlx5: Add check for srq max_sge attribute
        RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init
        RDMA/mlx5: Ensure created mkeys always have a populated rb_key
        RDMA/mlx5: Follow rb_key.ats when creating new mkeys
        RDMA/mlx5: Remove extra unlock on error path
        RDMA/rxe: Fix responder length checking for UD request packets
        RDMA/rxe: Fix data copy for IB_SEND_INLINE
        RDMA/bnxt_re: Fix the max msix vectors macro
      ffdf504c
    • Linus Torvalds's avatar
      Merge tag 'sound-6.10-rc5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 4545981f
      Linus Torvalds authored
      Pull  more sound fixes from Takashi Iwai:
       "A follow-up fix for a random build issue, as well as another trivial
        HD-audio quirk"
      
      * tag 'sound-6.10-rc5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda: Use imply for suggesting CONFIG_SERIAL_MULTI_INSTANTIATE
        ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14AHP9
      4545981f