From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41F6518FDDF for ; Mon, 20 Jan 2025 08:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737361925; cv=none; b=mppjsEig0DNPr3cpqL/wRwDDQ1ZAOkw1BlGpLO8axczEVfkq1ze5/1COF3Vw3aU/jx+1kFFu7EnaOAjf67OYTDL5DZxvEL/ZcD0vUiQUv9CHTO9YrM8d5SIyOZrZzhaBT1Lcvq8Hl/8lwT1omgzqxXGheLbFmc46SM2iWc1dVBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737361925; c=relaxed/simple; bh=yFe+enyI8csod2QPcIYroEIfHxIXk/BGApTIcKdPEok=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=qrH6tcM7k3LM24eEOrvw/NQ0M1CJGX2KubLjsQk7M1yZmcvD1zK5FTfRqmHsJfMm1GJ3ff9sOLcg4XYZ84531BX+fmkUywMKGjqK3HAEkFf/nJQ8us1qGtLt36KiV57FdTrA52JhnQZrcoj00xUJluYr+jwjG/vVusFe/a6KAE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pTf4PvKV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pTf4PvKV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5CFFC4CEDD; Mon, 20 Jan 2025 08:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737361924; bh=yFe+enyI8csod2QPcIYroEIfHxIXk/BGApTIcKdPEok=; h=Date:From:To:Cc:Subject:From; b=pTf4PvKVH3JMOeFfei+zxisFih4EAUumnWICUHLAnv6sfx3rcv+1UqYYY2YHY4KYT yu5qwSwgA9RheMeCll1dlm+ohq4BgJhGe/NMo50woQfWtY2onjU72u8jIljV4ingY0 5jO6PHHaorLqj0TbliMbnJHdqQ0FyU4y//J1bFUgcXWjm3D9QJIDHyr9pHT+GcUBgp CM/NQ6YhlptQP5Pf2KWl8NgoO1+zptrAe/Y6Xa71qyrZj7MhnDQiuXv8sbCkxjLNVT TM24vzpJYrb7FXs4qZIk0KDMOVksktTykFR+vT5XmBuROIWV239/q2POrZZBzMNZV2 IscNvRLlRPdsA== Date: Mon, 20 Jan 2025 09:31:54 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Will Deacon , Waiman Long , Boqun Feng , Borislav Petkov Subject: [GIT PULL] locking changes for v6.14 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Linus, Please pull the latest locking/core Git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2025-01-20 # HEAD: cb4ccc70344c3dc29a5d0045361a4f0959bc5a6b MAINTAINERS: Add static_call_inline.c to STATIC BRANCH/CALL Locking changes for v6.14: - Lockdep: - Improve and fix lockdep bitsize limits, clarify the Kconfig documentation (Carlos Llamas) - Fix lockdep build warning on Clang related to chain_hlock_class_idx() inlining (Andy Shevchenko) - Relax the requirements of PROVE_RAW_LOCK_NESTING arch support by not tying it to ARCH_SUPPORTS_RT unnecessarily (Waiman Long) - Rust integration: - Support lock pointers managed by the C side (Lyude Paul) - Support guard types (Lyude Paul) - Update MAINTAINERS file filters to include the Rust locking code (Boqun Feng) - Wake-queues: - Add raw_spin_*wake() helpers to simplify locking code (John Stultz) - SMP cross-calls: - Fix potential data update race by evaluating the local cond_func() before IPI side-effects (Mathieu Desnoyers) - Guard primitives: - Ease [c]tags based searches by including the cleanup/guard type primitives (Peter Zijlstra) - ww_mutexes: - Simplify the ww_mutex self-test code via swap() (Thorsten Blum) - Static calls: - Update the static calls MAINTAINERS file-pattern (Jiri Slaby) Thanks, Ingo ------------------> Andy Shevchenko (2): lockdep: Mark chain_hlock_class_idx() with __maybe_unused lockdep: Move lockdep_assert_locked() under #ifdef CONFIG_PROVE_LOCKING Boqun Feng (1): locking: MAINTAINERS: Start watching Rust locking primitives Carlos Llamas (3): lockdep: Fix upper limit for LOCKDEP_*_BITS configs lockdep: Clarify size for LOCKDEP_*_BITS configs lockdep: Document MAX_LOCKDEP_CHAIN_HLOCKS calculation Jiri Slaby (SUSE) (1): MAINTAINERS: Add static_call_inline.c to STATIC BRANCH/CALL John Stultz (1): sched/wake_q: Add helper to call wake_up_q after unlock with preemption disabled Lyude Paul (5): rust: sync: Add Lock::from_raw() for Lock<(), B> rust: sync: Make Guard::new() public rust: sync: Add MutexGuard type alias rust: sync: Add SpinLockGuard type alias rust: sync: Add lock::Backend::assert_is_held() Mathieu Desnoyers (1): smp/scf: Evaluate local cond_func() before IPI side-effects Peter Zijlstra (1): cleanup, tags: Create tags for the cleanup primitives Thorsten Blum (1): locking/ww_mutex/test: Use swap() macro Waiman Long (1): locking/lockdep: Enforce PROVE_RAW_LOCK_NESTING only if ARCH_SUPPORTS_RT MAINTAINERS | 9 +++++++-- include/linux/sched/wake_q.h | 34 ++++++++++++++++++++++++++++++++++ kernel/futex/pi.c | 5 +---- kernel/locking/lockdep.c | 4 +++- kernel/locking/lockdep_internals.h | 3 ++- kernel/locking/mutex.c | 16 ++++------------ kernel/locking/rtmutex.c | 32 +++++--------------------------- kernel/locking/test-ww_mutex.c | 9 +++------ kernel/smp.c | 5 +++-- lib/Kconfig.debug | 22 +++++++++++----------- rust/helpers/mutex.c | 5 +++++ rust/helpers/spinlock.c | 5 +++++ rust/kernel/sync.rs | 4 ++-- rust/kernel/sync/lock.rs | 35 ++++++++++++++++++++++++++++++++++- rust/kernel/sync/lock/mutex.rs | 13 +++++++++++++ rust/kernel/sync/lock/spinlock.rs | 13 +++++++++++++ scripts/tags.sh | 7 +++++++ 17 files changed, 152 insertions(+), 69 deletions(-)