Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2252888pxp; Mon, 21 Mar 2022 15:03:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsWHQ8zoXW6Mcne2kgObJoloNDaT7v48X25L4B0o/Y9jIR3rkQ9n/9GgAdXwFa2gKW6X8E X-Received: by 2002:a05:6a00:2310:b0:4fa:7eb1:e855 with SMTP id h16-20020a056a00231000b004fa7eb1e855mr14319671pfh.14.1647900190423; Mon, 21 Mar 2022 15:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900190; cv=none; d=google.com; s=arc-20160816; b=qIfyi6Q6sxfmQL98cCEDwhn4Z7cKgmbUNzLrzxkfKjH67H67kIZp/cAYpyQkW5jU2x ehYH4PHWVXgH0tinCc5YsXLqtS6b1V9t1IQCYGetz0bwleYzVoUL0N/9FgAj9PVQ9Ucp b0Us9neRP5M3PVaXFmzeWiurgZ8DZgPvGNE7ASlw2Sptp9r+IDNC3P5PEuOIxEuLM+Nc hCGjhVXBuunIHuWbq55M+Qo9ONVKCvlP4GJpvwzPyRvjk3n9GwhxSlMYfVjtyTOW4d/0 CVzAojnHkstYt5Dt10+r9Rbn2/3hj9YIuvgDNmb8qrQonbamQFZpqDpM/X69mEwyqraL 2mAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=FuV81IIF3LymAR8I5LPuqTpPRTHr0t0Vaaga5EkxftA=; b=gdMsTm64xZyc4qmSq8PZ6MsFPXVTpYXzBeybOAxhhuJv5F0WTARU7pbDtgSEb9NL3h u82Q4SXN1napMOjJK9/KH1xWG6ZTG3ivFmEbfHWGx62mrsQSWlWd51lo4vO9/8JNU+AC PFtWUbHrNZ4WzxPZIskA5yqHKktdvYUHfZD9QArdrlMyTX6EfjUIHCMgCcDF8eidZp2M b1/KulT7nlmPKUZOXhFC0UeJuBtZIsdZh9O8CXTGXC12uD1JkL9Czurqyzw38/UGwGn7 GXhi/YhtK+28PXVvAXVBW+ZOWiXgqFP8Ba2rzFqlUkVpVWmbOmwnPVlwR+NHycsSbnGZ cAHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YYJ5wFQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q10-20020a056a00084a00b004fa3a8e0009si9690983pfk.192.2022.03.21.15.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YYJ5wFQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 30CF534EAE0; Mon, 21 Mar 2022 14:26:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346692AbiCULNP (ORCPT + 99 others); Mon, 21 Mar 2022 07:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244077AbiCULNN (ORCPT ); Mon, 21 Mar 2022 07:13:13 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9A4E393DF for ; Mon, 21 Mar 2022 04:11:48 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id g20so17382530edw.6 for ; Mon, 21 Mar 2022 04:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=FuV81IIF3LymAR8I5LPuqTpPRTHr0t0Vaaga5EkxftA=; b=YYJ5wFQfu0abRvyvnmzS+Uev/nGmrlM6mRsGaVBROd65/9r0ZsKTTbcBgQSCQeqf4i +Us1oEZokigKRzKO18rtr2MCvwRrMLzXnhLamY4tGILGGoLFuCL/KDmOJebspuRPG9X6 9WfzbVkeYbNtxp2yP85pL2MoAPVYkHtwhoCjleSA5/aJkqtLDf/ztx4hMSyF/HLZS7JF mm/RiwhDIK7lbnozGXFv1APCgxPtiAlxgD5mr3KsO8W57tz60yj2bbQW36Wu4J2vQJe0 jCpfsOx3Zzjdt19y1oGUn5DLR5JrIxDOkjGlA+HW1NoSgQM0NTvHHpNLT8PYxRvVMZRa ZwuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition; bh=FuV81IIF3LymAR8I5LPuqTpPRTHr0t0Vaaga5EkxftA=; b=AMN0NfrW7RlfDZkOzh/JhxxPoJvhkgVjEuMZFvlCRpXn3JQvZwhHDS5qCXMoE5EO5m Ws5WnGAv1z4p0fT0WbQy8CoY633AUHvVlK+pYf/2p18RYPRuLmD11j1CkBMHosOODF/a ONRZQ/go3IRauIi1MwJe5hx7COxnnRd+m7xJJyzVCwvvoEIGwkAx+Zf38KlDR1yUwGcH 4pHWP53udVNp3Myuvq9EfVfduFfytiLAF4+eKNCVtY+fAJrjeYGM/uINpHg5czDSz5y6 ef279ex74Tj/3J0vEi8PeVJshv5cvXGFn48fgAug7pYj4Yv7+yKra0mBquNggTzDEfl5 /+jA== X-Gm-Message-State: AOAM531EnUqxKpK62ndNry38OkAKZgHFxeVVxbZgzCC+vKLfUAtLozHj SPGsynrpVfj2USbbmKJH64g= X-Received: by 2002:aa7:df99:0:b0:419:2823:4c23 with SMTP id b25-20020aa7df99000000b0041928234c23mr9152325edy.341.1647861107296; Mon, 21 Mar 2022 04:11:47 -0700 (PDT) Received: from gmail.com (0526ECD0.dsl.pool.telekom.hu. [5.38.236.208]) by smtp.gmail.com with ESMTPSA id z8-20020a170906270800b006bbd3efa6b8sm6731985ejc.80.2022.03.21.04.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 04:11:46 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 21 Mar 2022 12:11:44 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Will Deacon , Waiman Long , Boqun Feng , Thomas Gleixner , Borislav Petkov , Andrew Morton Subject: [GIT PULL] locking changes for v5.18 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, Please pull the latest locking/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2022-03-21 # HEAD: cd27ccfc727e99352321c0c75012ab9c5a90321e jump_label: Refactor #ifdef of struct static_key Changes in this cycle were: - bitops & cpumask: - Always inline various generic helpers, to improve code generation, but also for instrumentation, found by noinstr validation. - Add a x86-specific cpumask_clear_cpu() helper to improve code generation - atomics: - Fix atomic64_{read_acquire,set_release} fallbacks - lockdep: - Fix /proc/lockdep output loop iteration for classes - Fix /proc/lockdep potential access to invalid memory - minor cleanups - Add Mark Rutland as reviewer for atomic primitives - jump labels: - Clean up the code a bit - misc: - Add __sched annotations to percpu rwsem primitives - Enable RT_MUTEXES on PREEMPT_RT by default - Stray v8086_mode() inlining fix, result of noinstr objtool validation Thanks, Ingo ------------------> Borislav Petkov (4): asm-generic/bitops: Always inline all bit manipulation helpers cpumask: Always inline helpers which use bit manipulation functions cpumask: Add a x86-specific cpumask_clear_cpu() helper x86/ptrace: Always inline v8086_mode() for instrumentation Mark Rutland (2): MAINTAINERS: add myself as reviewer for atomics atomics: Fix atomic64_{read_acquire,set_release} fallbacks Masahiro Yamada (2): jump_label: Avoid unneeded casts in STATIC_KEY_INIT_{TRUE,FALSE} jump_label: Refactor #ifdef of struct static_key Minchan Kim (1): locking: Add missing __sched attributes Sebastian Andrzej Siewior (2): locking/local_lock: Make the empty local_lock_*() function a macro. locking: Enable RT_MUTEXES by default on PREEMPT_RT. Waiman Long (2): locking/lockdep: Avoid potential access of invalid memory in lock_class locking/lockdep: Iterate lock_classes directly when reading lockdep files Xiu Jianfeng (1): lockdep: Use memset_startat() helper in reinit_class() MAINTAINERS | 1 + arch/x86/include/asm/cpumask.h | 10 +++++ arch/x86/include/asm/ptrace.h | 2 +- include/asm-generic/bitops/instrumented-atomic.h | 12 ++--- .../asm-generic/bitops/instrumented-non-atomic.h | 16 +++---- include/linux/atomic/atomic-arch-fallback.h | 38 +++++++++++++--- include/linux/cpumask.h | 18 ++++---- include/linux/jump_label.h | 13 ++---- include/linux/local_lock_internal.h | 6 +-- init/Kconfig | 1 + kernel/locking/lockdep.c | 43 ++++++++++-------- kernel/locking/lockdep_internals.h | 6 ++- kernel/locking/lockdep_proc.c | 51 ++++++++++++++++++---- kernel/locking/percpu-rwsem.c | 5 ++- kernel/locking/rwsem.c | 2 +- scripts/atomic/fallbacks/read_acquire | 11 ++++- scripts/atomic/fallbacks/set_release | 7 ++- 17 files changed, 168 insertions(+), 74 deletions(-)