1. 02 May, 2024 3 commits
  2. 30 Apr, 2024 2 commits
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.10-2024-04-26' of... · 4a56c0ed
      Dave Airlie authored
      Merge tag 'amd-drm-next-6.10-2024-04-26' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-6.10-2024-04-26:
      
      amdgpu:
      - Misc code cleanups and refactors
      - Support setting reset method at runtime
      - Report OD status
      - SMU 14.0.1 fixes
      - SDMA 4.4.2 fixes
      - VPE fixes
      - MES fixes
      - Update BO eviction priorities
      - UMSCH fixes
      - Reset fixes
      - Freesync fixes
      - GFXIP 9.4.3 fixes
      - SDMA 5.2 fixes
      - MES UAF fix
      - RAS updates
      - Devcoredump updates for dumping IP state
      - DSC fixes
      - JPEG fix
      - Fix VRAM memory accounting
      - VCN 5.0 fixes
      - MES fixes
      - UMC 12.0 updates
      - Modify contiguous flags handling
      - Initial support for mapping kernel queues via MES
      
      amdkfd:
      - Fix rescheduling of restore worker
      - VRAM accounting for SVM migrations
      - mGPU fix
      - Enable SQ watchpoint for gfx10
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240426221245.1613332-1-alexander.deucher@amd.com
      4a56c0ed
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2024-04-26' of... · 68b89e23
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2024-04-26' of https://anongit.freedesktop.org/git/drm/drm-intel into drm-next
      
      UAPI Changes:
      
      - drm/i915/guc: Use context hints for GT frequency
      
          Allow user to provide a low latency context hint. When set, KMD
          sends a hint to GuC which results in special handling for this
          context. SLPC will ramp the GT frequency aggressively every time
          it switches to this context. The down freq threshold will also be
          lower so GuC will ramp down the GT freq for this context more slowly.
          We also disable waitboost for this context as that will interfere with
          the strategy.
      
          We need to enable the use of SLPC Compute strategy during init, but
          it will apply only to contexts that set this bit during context
          creation.
      
          Userland can check whether this feature is supported using a new param-
          I915_PARAM_HAS_CONTEXT_FREQ_HINT. This flag is true for all guc submission
          enabled platforms as they use SLPC for frequency management.
      
          The Mesa usage model for this flag is here -
          https://gitlab.freedesktop.org/sushmave/mesa/-/commits/compute_hint
      
      - drm/i915/gt: Enable only one CCS for compute workload
      
          Enable only one CCS engine by default with all the compute sices
          allocated to it.
      
          While generating the list of UABI engines to be exposed to the
          user, exclude any additional CCS engines beyond the first
          instance
      
          ***
      
          NOTE: This W/A will make all DG2 SKUs appear like single CCS SKUs by
          default to mitigate a hardware bug. All the EUs will still remain
          usable, and all the userspace drivers have been confirmed to be able
          to dynamically detect the change in number of CCS engines and adjust.
      
          For the smaller percent of applications that get perf benefit from
          letting the userspace driver dispatch across all 4 CCS engines we will
          be introducing a sysfs control as a later patch to choose 4 CCS each
          with 25% EUs (or 50% if 2 CCS).
      
          NOTE: A regression has been reported at
      
          https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10895
      
          However Andi has been triaging the issue and we're closing in a fix
          to the gap in the W/A implementation:
      
          https://lists.freedesktop.org/archives/intel-gfx/2024-April/348747.html
      
      Driver Changes:
      
      - Add new and fix to existing workarounds: Wa_14018575942 (MTL),
        Wa_16019325821 (Gen12.70), Wa_14019159160 (MTL), Wa_16015675438,
        Wa_14020495402 (Gen12.70) (Tejas, John, Lucas)
      - Fix UAF on destroy against retire race and remove two earlier
        partial fixes (Janusz)
      - Limit the reserved VM space to only the platforms that need it (Andi)
      - Reset queue_priority_hint on parking for execlist platforms (Chris)
      - Fix gt reset with GuC submission is disabled (Nirmoy)
      - Correct capture of EIR register on hang (John)
      
      - Remove usage of the deprecated ida_simple_xx() API
      - Refactor confusing __intel_gt_reset() (Nirmoy)
      - Fix the fix for GuC reset lock confusion (John)
      - Simplify/extend platform check for Wa_14018913170 (John)
      - Replace dev_priv with i915 (Andi)
      - Add and use gt_to_guc() wrapper (Andi)
      - Remove bogus null check (Rodrigo, Dan)
      
      . Selftest improvements (Janusz, Nirmoy, Daniele)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZitVBTvZmityDi7D@jlahtine-mobl.ger.corp.intel.com
      68b89e23
  3. 29 Apr, 2024 1 commit
  4. 28 Apr, 2024 6 commits
  5. 27 Apr, 2024 9 commits
    • Linus Torvalds's avatar
      Merge tag 'rust-fixes-6.9' of https://github.com/Rust-for-Linux/linux · 2c815938
      Linus Torvalds authored
      Pull Rust fixes from Miguel Ojeda:
      
       - Soundness: make internal functions generated by the 'module!' macro
         inaccessible, do not implement 'Zeroable' for 'Infallible' and
         require 'Send' for the 'Module' trait.
      
       - Build: avoid errors with "empty" files and workaround 'rustdoc' ICE.
      
       - Kconfig: depend on '!CFI_CLANG' and avoid selecting 'CONSTRUCTORS'.
      
       - Code docs: remove non-existing key from 'module!' macro example.
      
       - Docs: trivial rendering fix in arch table.
      
      * tag 'rust-fixes-6.9' of https://github.com/Rust-for-Linux/linux:
        rust: remove `params` from `module` macro example
        kbuild: rust: force `alloc` extern to allow "empty" Rust files
        kbuild: rust: remove unneeded `@rustc_cfg` to avoid ICE
        rust: kernel: require `Send` for `Module` implementations
        rust: phy: implement `Send` for `Registration`
        rust: make mutually exclusive with CFI_CLANG
        rust: macros: fix soundness issue in `module!` macro
        rust: init: remove impl Zeroable for Infallible
        docs: rust: fix improper rendering in Arch Support page
        rust: don't select CONSTRUCTORS
      2c815938
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 57865f39
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix for TASK_SIZE on rv64/NOMMU, to reflect the lack of user/kernel
         separation
      
       - A fix to avoid loading rv64/NOMMU kernel past the start of RAM
      
       - A fix for RISCV_HWPROBE_EXT_ZVFHMIN on ilp32 to avoid signed integer
         overflow in the bitmask
      
       - The sud_test kselftest has been fixed to properly swizzle the syscall
         number into the return register, which are not the same on RISC-V
      
       - A fix for a build warning in the perf tools on rv32
      
       - A fix for the CBO selftests, to avoid non-constants leaking into the
         inline asm
      
       - A pair of fixes for T-Head PBMT errata probing, which has been
         renamed MAE by the vendor
      
      * tag 'riscv-for-linus-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: selftests: cbo: Ensure asm operands match constraints, take 2
        perf riscv: Fix the warning due to the incompatible type
        riscv: T-Head: Test availability bit before enabling MAE errata
        riscv: thead: Rename T-Head PBMT to MAE
        selftests: sud_test: return correct emulated syscall value on RISC-V
        riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
        riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
        riscv: Fix TASK_SIZE on 64-bit NOMMU
      57865f39
    • Linus Torvalds's avatar
      Merge tag '6.9-rc5-cifs-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · d43df69f
      Linus Torvalds authored
      Pull smb client fixes from Steve French:
       "Three smb3 client fixes, all also for stable:
      
         - two small locking fixes spotted by Coverity
      
         - FILE_ALL_INFO and network_open_info packing fix"
      
      * tag '6.9-rc5-cifs-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
        smb3: missing lock when picking channel
        smb: client: Fix struct_group() usage in __packed structs
      d43df69f
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 5d12ed4b
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Fix a race condition in the at24 eeprom handler, a NULL pointer
        exception in the I2C core for controllers only using target modes,
        drop a MAINTAINERS entry, and fix an incorrect DT binding for at24"
      
      * tag 'i2c-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: smbus: fix NULL function pointer dereference
        MAINTAINERS: Drop entry for PCA9541 bus master selector
        eeprom: at24: fix memory corruption race condition
        dt-bindings: eeprom: at24: Fix ST M24C64-D compatible schema
      5d12ed4b
    • Tetsuo Handa's avatar
      profiling: Remove create_prof_cpu_mask(). · 2e5449f4
      Tetsuo Handa authored
      create_prof_cpu_mask() is no longer used after commit 1f44a225 ("s390:
      convert interrupt handling to use generic hardirq").
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2e5449f4
    • Linus Torvalds's avatar
      Merge tag 'soundwire-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · 8a5c3ef7
      Linus Torvalds authored
      Pull soundwire fix from Vinod Koul:
      
       - Single AMD driver fix for wake interrupt handling in clockstop mode
      
      * tag 'soundwire-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
        soundwire: amd: fix for wake interrupt handling for clockstop mode
      8a5c3ef7
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 6fba14a7
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - Revert pl330 issue_pending waits until WFP state due to regression
         reported in Bluetooth loading
      
       - Xilinx driver fixes for synchronization, buffer offsets, locking and
         kdoc
      
       - idxd fixes for spinlock and preventing the migration of the perf
         context to an invalid target
      
       - idma driver fix for interrupt handling when powered off
      
       - Tegra driver residual calculation fix
      
       - Owl driver register access fix
      
      * tag 'dmaengine-fix-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
        dmaengine: idxd: Fix oops during rmmod on single-CPU platforms
        dmaengine: xilinx: xdma: Clarify kdoc in XDMA driver
        dmaengine: xilinx: xdma: Fix synchronization issue
        dmaengine: xilinx: xdma: Fix wrong offsets in the buffers addresses in dma descriptor
        dma: xilinx_dpdma: Fix locking
        dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue
        idma64: Don't try to serve interrupts when device is powered off
        dmaengine: tegra186: Fix residual calculation
        dmaengine: owl: fix register access functions
        dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"
      6fba14a7
    • Linus Torvalds's avatar
      Merge tag 'phy-fixes-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 63407d30
      Linus Torvalds authored
      Pull phy fixes from Vinod Koul:
      
       - static checker (array size, bounds) fix for marvel driver
      
       - Rockchip rk3588 pcie fixes for bifurcation and mux
      
       - Qualcomm qmp-compbo fix for VCO, register base and regulator name for
         m31 driver
      
       - charger det crash fix for ti driver
      
      * tag 'phy-fixes-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
        phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered
        phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6
        phy: phy-rockchip-samsung-hdptx: Select CONFIG_RATIONAL
        phy: qcom: m31: match requested regulator name with dt schema
        phy: qcom: qmp-combo: Fix register base for QSERDES_DP_PHY_MODE
        phy: qcom: qmp-combo: Fix VCO div offset on v3
        phy: rockchip: naneng-combphy: Fix mux on rk3588
        phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
        phy: rockchip-snps-pcie3: fix bifurcation on rk3588
        phy: freescale: imx8m-pcie: fix pcie link-up instability
        phy: marvell: a3700-comphy: Fix hardcoded array size
        phy: marvell: a3700-comphy: Fix out of bounds read
      63407d30
    • Wolfram Sang's avatar
      i2c: smbus: fix NULL function pointer dereference · 91811a31
      Wolfram Sang authored
      Baruch reported an OOPS when using the designware controller as target
      only. Target-only modes break the assumption of one transfer function
      always being available. Fix this by always checking the pointer in
      __i2c_transfer.
      Reported-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Closes: https://lore.kernel.org/r/4269631780e5ba789cf1ae391eec1b959def7d99.1712761976.git.baruch@tkos.co.il
      Fixes: 4b1acc43 ("i2c: core changes for slave support")
      [wsa: dropped the simplification in core-smbus to avoid theoretical regressions]
      Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
      Tested-by: default avatarBaruch Siach <baruch@tkos.co.il>
      91811a31
  6. 26 Apr, 2024 19 commits