From patchwork Thu Jan 5 00:37:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089296 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C739C7112F for ; Thu, 5 Jan 2023 00:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240439AbjAEAlS (ORCPT ); Wed, 4 Jan 2023 19:41:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240655AbjAEAip (ORCPT ); Wed, 4 Jan 2023 19:38:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11BAC327; Wed, 4 Jan 2023 16:38:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A23C261886; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B91FC433D2; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=Csa7ZOvocT4iHE2+eFHJkdwdqaRGDl3I3p+hry5hXgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uQIDbChw8YO6o7XPlNJcgIE+x0DZX/DlurmnU8opQn7/BIOPNsCDUollJiqi4bc55 FUAUQqBDPi1gvF8QBqkZFaMxtinhx5MAqAXqXTpEYUr4z6pB0aopwLXBxpdevF3RW3 jrGk9OUAXy2NOoLkaYXy3LdJ3LfCxEIL+IRL2JMDu5Ygi9IQWVcnm7v8xHtYihzuaW c7yoiYtYFTE7KJYPkpEPRWnOhdsZV3W6448meglV3pNnV9XLZQ4iBnJch8YSZ85PWK jcJYS4wfOrvgIoTJ7X3VHrpRcLwRiYiT0jZzpnjX4JoN4h/hIF2Qd/a6/9T9Q5ede1 QB26Gbw1B5aoQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B54025C05CA; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Sean Christopherson , Paolo Bonzini , x86@kernel.org, kvm@vger.kernel.org Subject: [PATCH rcu 01/27] arch/x86: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:47 -0800 Message-Id: <20230105003813.1770367-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Cc: Sean Christopherson Cc: Paolo Bonzini Cc: Cc: --- arch/x86/Kconfig | 2 -- arch/x86/kvm/Kconfig | 1 - 2 files changed, 3 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3604074a878b8..4a9175fe7dd18 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -283,7 +283,6 @@ config X86 select RTC_LIB select RTC_MC146818_LIB select SPARSE_IRQ - select SRCU select SYSCTL_EXCEPTION_TRACE select THREAD_INFO_IN_TASK select TRACE_IRQFLAGS_SUPPORT @@ -1938,7 +1937,6 @@ config X86_SGX depends on X86_64 && CPU_SUP_INTEL && X86_X2APIC depends on CRYPTO=y depends on CRYPTO_SHA256=y - select SRCU select MMU_NOTIFIER select NUMA_KEEP_MEMINFO if NUMA select XARRAY_MULTI diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index fbeaa9ddef598..9306d99585188 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -46,7 +46,6 @@ config KVM select KVM_XFER_TO_GUEST_WORK select KVM_GENERIC_DIRTYLOG_READ_PROTECT select KVM_VFIO - select SRCU select INTERVAL_TREE select HAVE_KVM_PM_NOTIFIER if PM help From patchwork Thu Jan 5 00:37:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089288 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C528C54EBE for ; Thu, 5 Jan 2023 00:41:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240351AbjAEAlN (ORCPT ); Wed, 4 Jan 2023 19:41:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240674AbjAEAir (ORCPT ); Wed, 4 Jan 2023 19:38:47 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 187A333F; Wed, 4 Jan 2023 16:38:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AD8FC6188D; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14406C433EF; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=4Nam+o5lyarcNVckvSQPxI6mOyMmetTwa/zR7Zpt5dg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p31EY/XwrnyaoU5mSIzNPoW4ikWf781bZ0fmTYW2HaiK9mCVATGR2ZXFMOZP7N75X ripItCzffheM0p38Wg08REEWDHdk2Sp9CludjYuuvOSKHP9qmOw8x4IAxrzgDJI1JU Kv/vZtE1ULUTBZEOfBJRrEsov/O8lb0rSFIdEu8lQAhHHh0DlLj98Suoj5QoIytXek khI72ic3Q+37832+KmKAHpl+QJZBIyeTqlpB23L0qLF4fqnxsUwP7QEvpY5UVWd5Sv m+uIUaj5NIv4+Wp84Bpt2oVlrnz6NO/iT0ZsipBtGE76sCC0B+G3HduELXPJ0AwNHu kpzBWOO1HNTPw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B850B5C086D; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu Subject: [PATCH rcu 02/27] arch/arm64/kvm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:48 -0800 Message-Id: <20230105003813.1770367-2-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Marc Zyngier Cc: James Morse Cc: Alexandru Elisei Cc: Suzuki K Poulose Cc: Oliver Upton Cc: Catalin Marinas Cc: Will Deacon Cc: Cc: Cc: Acked-by: Marc Zyngier --- arch/arm64/kvm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 05da3c8f7e88f..312f0e9869111 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -28,7 +28,6 @@ menuconfig KVM select KVM_MMIO select KVM_GENERIC_DIRTYLOG_READ_PROTECT select KVM_XFER_TO_GUEST_WORK - select SRCU select KVM_VFIO select HAVE_KVM_EVENTFD select HAVE_KVM_IRQFD From patchwork Thu Jan 5 00:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089292 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E652FC54EF0 for ; Thu, 5 Jan 2023 00:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235810AbjAEAlJ (ORCPT ); Wed, 4 Jan 2023 19:41:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240657AbjAEAiq (ORCPT ); Wed, 4 Jan 2023 19:38:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2985EB0E; Wed, 4 Jan 2023 16:38:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B1DED61888; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 128B8C433F0; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=y8xRrU76YdOECfRSbYnfV2Bk66MTu1Uv/uSklehNSxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IeGs2XWr+ifvcauS1t6kJhZsfDir+pO9qE+SmEvi+Sog0DQIef3EBJu8ofLTX4FnO q2N17PIMXbO7h0rvE8z+Fruvfjfv6KIx6z4FtNuanxUPURmQnX1ygqH/KTGWSghf15 LR9BybAtj5nsWOWUx+8XI/hox2tkt/vcRHRdj4neuMipbmrnO20QywihHplvL4DsKL 4umYJ40GGFSOqElocb6+wrqdin9x2kbu3XyAbWhc4IUMkRqLa/JlEE8Rdwm71HI2cO ed6lnoNZ7JEPvsESENzfaYpM8timAtBosa6km+HOTgCcKLn3s5jcfehpvrfodSD+4Y M+59Q57JyUvHg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B9D2B5C08E5; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Huacai Chen , Aleksandar Markovic , Thomas Bogendoerfer , linux-mips@vger.kernel.org, kvm@vger.kernel.org Subject: [PATCH rcu 03/27] arch/mips/kvm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:49 -0800 Message-Id: <20230105003813.1770367-3-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Huacai Chen Cc: Aleksandar Markovic Cc: Thomas Bogendoerfer Cc: Cc: --- arch/mips/kvm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/kvm/Kconfig b/arch/mips/kvm/Kconfig index 91d197bee9c0a..591f46a5d7be1 100644 --- a/arch/mips/kvm/Kconfig +++ b/arch/mips/kvm/Kconfig @@ -26,7 +26,6 @@ config KVM select HAVE_KVM_VCPU_ASYNC_IOCTL select KVM_MMIO select MMU_NOTIFIER - select SRCU select INTERVAL_TREE help Support for hosting Guest kernels. From patchwork Thu Jan 5 00:37:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8904C46467 for ; Thu, 5 Jan 2023 00:41:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234780AbjAEAlB (ORCPT ); Wed, 4 Jan 2023 19:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240566AbjAEAil (ORCPT ); Wed, 4 Jan 2023 19:38:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CBDBB11; Wed, 4 Jan 2023 16:38:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B820161892; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17289C433F2; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=5gCrufnnSVpPm8uAIzNsafH1DxAklWprFMYPiBys5Bs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OZ1lIREtKmRTkJ5EF8pKnxbhCtjBbIpgLsnrJSVSPH1uSfJoMfE1TQKGNZxGZoKsU sMIGsYXJLHYBU+Lzx3VcHZfSTAbu5XdwQdYWDfhrn+NaLOTPYCjkZssVV/VWoW/dUT KTHlXQRroF6D5dhGSurYZA0DYelfWXPKMo4kaeifWePnPXnSn5xfoVqAsVWZati6OO KiA4tEK3jyYssjJ0kAbIZXP0ktiWPJBkdZm6JRbTFrDD3sIo0k0dvYQ9T3UJn8fxLu z/VZfH72zA+54zNCMSZXzhruIKT3gAneZU4YxHA+heiufnTti+VSyVepnj7IgJTk6v LKqL2eaoJ9zDA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BBFC15C1456; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Michael Ellerman , Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org Subject: [PATCH rcu 04/27] arch/powerpc/kvm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:50 -0800 Message-Id: <20230105003813.1770367-4-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: Acked-by: Michael Ellerman (powerpc) --- arch/powerpc/kvm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index a9f57dad6d916..902611954200d 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig @@ -22,7 +22,6 @@ config KVM select PREEMPT_NOTIFIERS select HAVE_KVM_EVENTFD select HAVE_KVM_VCPU_ASYNC_IOCTL - select SRCU select KVM_VFIO select IRQ_BYPASS_MANAGER select HAVE_KVM_IRQ_BYPASS From patchwork Thu Jan 5 00:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089301 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84C34C7113C for ; Thu, 5 Jan 2023 00:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240523AbjAEAl0 (ORCPT ); Wed, 4 Jan 2023 19:41:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240662AbjAEAiq (ORCPT ); Wed, 4 Jan 2023 19:38:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D90BB1B; Wed, 4 Jan 2023 16:38:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC47561890; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20BF4C433F1; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=Dk3fbmwrwKI+Ju1OKvba1E6k//C52GxxfEwKgJeFV/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UiOT16+5fy+ZmlY3dQ4rBYsTA89IkFc+A4RtgWUMm8g2H27yGepuXpenbS3q+7Fen Yx9qedTGLeb2TG7J+JgxnX3VlWN+r1jCHZzXQ8hIWpQdqo+sEy6p5G+7gYq6TpQANG JJL4jlHAbAMXa7dvcsyOZPZ+gT2k69uYrvw0pvj21ot5Jbq27mUqcSrRHbi6k+fRyM 7D/hGfrezAZpbakTuKPhgqM3t6uu8v1J9nihITN51oGbesCYuEBUz55kGA/kPZU+O/ Syr6yvA9o1/kr7cIGRB8rZnxb4fr7oWSMrPDeDY+RcF0U/cLTMQ698RB2/u4yLdAXD TQtcUHdY/9e/g== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BE0335C149B; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org Subject: [PATCH rcu 05/27] arch/riscv/kvm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:51 -0800 Message-Id: <20230105003813.1770367-5-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Anup Patel Cc: Atish Patra Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Cc: Cc: Cc: Acked-by: Anup Patel --- arch/riscv/kvm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig index f36a737d5f96d..6bc9b290c1283 100644 --- a/arch/riscv/kvm/Kconfig +++ b/arch/riscv/kvm/Kconfig @@ -27,7 +27,6 @@ config KVM select KVM_XFER_TO_GUEST_WORK select HAVE_KVM_VCPU_ASYNC_IOCTL select HAVE_KVM_EVENTFD - select SRCU help Support hosting virtualized guest machines. From patchwork Thu Jan 5 00:37:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089290 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04222C678DD for ; Thu, 5 Jan 2023 00:41:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240355AbjAEAlO (ORCPT ); Wed, 4 Jan 2023 19:41:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240691AbjAEAis (ORCPT ); Wed, 4 Jan 2023 19:38:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9725BC23; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5685D618A0; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 697C2C433AA; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=DG7Pd7Nd4SDFQ0Z2L3qtkeDuW2Mx222F1hGW9El87wY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T0KeEQevUbKVz3bYSLrR93Wal79fsjYKnTPR7SX3CUYnrv4rH+W31Q3tgM6QGP1Mt Aw/KQZprQxWswMUcgXu1wkPPvaZlLoQgoHr+mhiZGSFiN2GsR9gBScMSVUus3LR8cF wLx8T5/6+3CEe6BoSUse4eie7lsotO9KAm0FANz60tJ7VG9dTVbiXxdEhTrSqARvb1 /mM383P0IXDH53usLPqMDLlh/4gsUS/B7KzyQRRWX7zdUyiYevbmm9pP6guj6sfJfn qrBMGJ0iXoc7rDcEtcsIHvn94QWqiz9PpYq6HY7ej7nxpPwj99UnEOb8z+ErJihzc5 owDecVACEulCA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C028C5C1ADF; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , David Hildenbrand , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Sven Schnelle , kvm@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH rcu 06/27] arch/s390/kvm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:52 -0800 Message-Id: <20230105003813.1770367-6-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Christian Borntraeger Cc: Janosch Frank Cc: Claudio Imbrenda Cc: David Hildenbrand Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Alexander Gordeev Cc: Sven Schnelle Cc: Cc: Acked-by: Heiko Carstens --- arch/s390/kvm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig index 33f4ff909476c..45fdf2a9b2e32 100644 --- a/arch/s390/kvm/Kconfig +++ b/arch/s390/kvm/Kconfig @@ -31,7 +31,6 @@ config KVM select HAVE_KVM_IRQ_ROUTING select HAVE_KVM_INVALID_WAKEUPS select HAVE_KVM_NO_POLL - select SRCU select KVM_VFIO select INTERVAL_TREE select MMU_NOTIFIER From patchwork Thu Jan 5 00:37:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089298 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0037C71133 for ; Thu, 5 Jan 2023 00:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240520AbjAEAlZ (ORCPT ); Wed, 4 Jan 2023 19:41:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240700AbjAEAit (ORCPT ); Wed, 4 Jan 2023 19:38:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98255C42; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 485156185C; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69826C433AC; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=U+JNmGaLukQdGfoV+R2DP604qkOvEolb/RV2Clv2XIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jW9kE9w6GphGhw9Iug5nV0iloFRPqQiTQ8wW71s9lbUkhgxc7BmTwcbu3skPCx1wW svAa1qvvIIS2bpDtotm89534twxgMEmdZUlM5Zwq+hBHjoWkamazXtWpweY7ltoTvu zla2ZFlCg7vWAeNEe+uLfX3Y13swrX/AK+UavD+229AP4Q89RnHfhI1xGBQKB273eH ELiNK5JQhm3IFumgktlKoQ94sq1VdOn5VoahKNH4HGDItv+jLoLadiPAVX7Op0KZ/N o3Shumzvdy2zTutzws9tyNKAe5yMc+K15Q67rhWjLlVBdyVBMitKiEIkPEq5bfaRwC 6iW0iv4KG+uKA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C1FD55C1AE0; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Jens Axboe , linux-block@vger.kernel.org Subject: [PATCH rcu 07/27] block: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:53 -0800 Message-Id: <20230105003813.1770367-7-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Jens Axboe Cc: linux-block@vger.kernel.org Reviewed-by: Jens Axboe --- block/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/block/Kconfig b/block/Kconfig index 444c5ab3b67e2..5d9d9c84d5165 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -6,7 +6,6 @@ menuconfig BLOCK bool "Enable the block layer" if EXPERT default y select SBITMAP - select SRCU help Provide block layer support for the kernel. From patchwork Thu Jan 5 00:37:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089279 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6662C54EBD for ; Thu, 5 Jan 2023 00:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235050AbjAEAlC (ORCPT ); Wed, 4 Jan 2023 19:41:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240689AbjAEAir (ORCPT ); Wed, 4 Jan 2023 19:38:47 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F564C1C; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 427646189B; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69658C433A1; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=VZ0XP9k+B6JCpAEaJUc1YvhjSIE4GvrohuwFSYSkxhs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GbBLL0A17D0Y2kEN6kXZlb0uETWfWcNbPl31YmyHcTg7LrkHkY+4QYqqcMd7eQWon o/eR9irHCWd3e6E3obV4mRG7qyZWUlweebcGQgVi8fmIOyJouv8nrMKWXSxe5mca7a l3sGIi1U4nntsVT9Fj7T3aUWNbbYlJbYlz8kSB8nBijG48Pk52t817A86TuD1D5jBz T0fk+WBYZShqT0RwcjnnYvVKn+jpwRybN8M2eG2w9UvbE1FMT5dcP4nF7TQvg9ERtn NUF89Azim2HUn8okXF2ckTFM8b25R9Z8qVhE1kFTPXB2e2X6JjHeTQh0WzgVBax7YW 9KjGIroP+FxVQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C3DB65C1C5B; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: [PATCH rcu 08/27] drivers/base: Remove CONFIG_SRCU Date: Wed, 4 Jan 2023 16:37:54 -0800 Message-Id: <20230105003813.1770367-8-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef and throw away the #else clause. Signed-off-by: Paul E. McKenney Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Acked-by: Greg Kroah-Hartman --- drivers/base/core.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index a3e14143ec0cf..bb36aca8d1b7a 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -181,7 +181,6 @@ void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode) } EXPORT_SYMBOL_GPL(fw_devlink_purge_absent_suppliers); -#ifdef CONFIG_SRCU static DEFINE_MUTEX(device_links_lock); DEFINE_STATIC_SRCU(device_links_srcu); @@ -220,47 +219,6 @@ static void device_link_remove_from_lists(struct device_link *link) list_del_rcu(&link->s_node); list_del_rcu(&link->c_node); } -#else /* !CONFIG_SRCU */ -static DECLARE_RWSEM(device_links_lock); - -static inline void device_links_write_lock(void) -{ - down_write(&device_links_lock); -} - -static inline void device_links_write_unlock(void) -{ - up_write(&device_links_lock); -} - -int device_links_read_lock(void) -{ - down_read(&device_links_lock); - return 0; -} - -void device_links_read_unlock(int not_used) -{ - up_read(&device_links_lock); -} - -#ifdef CONFIG_DEBUG_LOCK_ALLOC -int device_links_read_lock_held(void) -{ - return lockdep_is_held(&device_links_lock); -} -#endif - -static inline void device_link_synchronize_removal(void) -{ -} - -static void device_link_remove_from_lists(struct device_link *link) -{ - list_del(&link->s_node); - list_del(&link->c_node); -} -#endif /* !CONFIG_SRCU */ static bool device_is_ancestor(struct device *dev, struct device *target) { From patchwork Thu Jan 5 00:37:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61168C54EF0 for ; Thu, 5 Jan 2023 00:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235331AbjAEAlD (ORCPT ); Wed, 4 Jan 2023 19:41:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240711AbjAEAiv (ORCPT ); Wed, 4 Jan 2023 19:38:51 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 995B0C52; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 44EB26189D; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A025C433AF; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=CxNoIVnojblXsI8lyz2C7HZU+DjFixYiXxVzbQ0VHio=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxIGer1xiDRSnTm9x+cgEIpwPFleN8jJWt7nMRRFCSNe+IWTPwYTPyl5NaUl3Z4aU dadJN77L9NqR9PdFB9lFm8MfKtwIQ6jpV4quuiu01+O8ajM3E35AQh8cZdUl6nZBLZ nBXuH8yoJRw/hekFt71mCZkAz/R1CalnZBztCaLfVhLzuIZzJSRXdfAv22QWX6MG8E u76P2bubsn8cWa8WvKGHPc+Cq0NjeBXz+u6wzGCT0E+EZf7NEOCx3kHPSTYMCnit4b 2mty9hdlvm3dC5fGSWvfeQLF7dP3gNWcdXW6PFQljLNrS9r5FAP33KYolJbT8xWfwz EENLg03YirXsA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C5AAC5C1C5D; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org Subject: [PATCH rcu 09/27] drivers/clk: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:55 -0800 Message-Id: <20230105003813.1770367-9-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Michael Turquette Cc: Stephen Boyd Cc: --- drivers/clk/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index d79905f3e1744..b6c5bf69a2b2c 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -23,7 +23,6 @@ menuconfig COMMON_CLK depends on !HAVE_LEGACY_CLK select HAVE_CLK_PREPARE select HAVE_CLK - select SRCU select RATIONAL help The common clock framework is a single definition of struct From patchwork Thu Jan 5 00:37:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089283 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 823E2C6379F for ; Thu, 5 Jan 2023 00:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235680AbjAEAlH (ORCPT ); Wed, 4 Jan 2023 19:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240642AbjAEAio (ORCPT ); Wed, 4 Jan 2023 19:38:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585FEB27; Wed, 4 Jan 2023 16:38:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EDAF2B81986; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7163AC433A8; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=pmxqtakK705BzwWvBQE+dFM2C0amDkuSHY8pS0YL7kk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HpSI7DbJwfDBWYWgnC3IJV+TI4i6HhdV6ftIZTP9kjj7A2r1PmhVeTQws6/gUgjDs XEQy8I/22rLla93nUH7+psF462w8zVdSkSxfm653ChDRnwsKoUFdeSzNOlfaovrG8x SLJEf0QpDfhXfqRdoVtBFf8VKGvauavkCOaXK10ECfChVXH2aK0a+7HLrGlIhPkZ3y fZe8ZgdnI434TREiF11EoMDELv0sEtrlHlO3Ae/mVYE6Y93BmNBBNInfpU9p2JWKJ/ dUMSkDfHSDLbUoLKVeBuja49ZAfWR/pM2lv4uHfIw6UHW7TNcg1NOqyAKScHLYVh2D xEpk9dir8p4mA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C78D35C1C64; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH rcu 10/27] drivers/cpufreq: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:56 -0800 Message-Id: <20230105003813.1770367-10-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: Acked-by: Viresh Kumar Acked-by: "Rafael J. Wysocki" --- drivers/cpufreq/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 2a84fc63371e2..785541df59379 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -3,7 +3,6 @@ menu "CPU Frequency scaling" config CPU_FREQ bool "CPU Frequency scaling" - select SRCU help CPU Frequency scaling allows you to change the clock speed of CPUs on the fly. This is a nice method to save power, because From patchwork Thu Jan 5 00:37:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 143E2C71134 for ; Thu, 5 Jan 2023 00:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240516AbjAEAlZ (ORCPT ); Wed, 4 Jan 2023 19:41:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240699AbjAEAit (ORCPT ); Wed, 4 Jan 2023 19:38:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 981D6C3C; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5467C61880; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7572EC433B0; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=+L9zhcB+hUYsHjcRcqemJqoGzF3x7d5CEb6FU4DWqac=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WL687Kncqgklk45rSEUmRACcroNljnbgdpcKFptf5DqAPBW78Z/NNWYc82CjT/bfO 93+pVhh35Tpt42P19/AQy5ZApRuyxi/sI3TyhwCvvbun9E6KuGt5yaCmeNtCGroKoi 8uasysST/D8M9m3fpl6tLCsIFIW55apBrWDSzGi5lpOXne0QRbUlkKea1xSnMgZ9zo LWQkR2MYB7IkIm+9bKOsPE6jO6HAXsmMp2wTx5jxvtaz4cqquAGRVIBNVuyv7BxA4M 5lQWjMkYF0uwYjaMRGpdjKo/oS2Ly/ox3gef7rEinayWupH6pkvCPGv3MO0B1isom5 Uskow1uXCa+zQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C96D55C1C77; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Dan Williams , Vishal Verma , Dave Jiang , nvdimm@lists.linux.dev Subject: [PATCH rcu 11/27] drivers/dax: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:57 -0800 Message-Id: <20230105003813.1770367-11-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: Acked-by: Dan Williams --- drivers/dax/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index 5fdf269a822e5..2bf5123e48279 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig DAX tristate "DAX: direct access to differentiated memory" - select SRCU default m if NVDIMM_DAX if DAX From patchwork Thu Jan 5 00:37:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089278 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 021E5C54EBF for ; Thu, 5 Jan 2023 00:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234899AbjAEAlC (ORCPT ); Wed, 4 Jan 2023 19:41:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240678AbjAEAir (ORCPT ); Wed, 4 Jan 2023 19:38:47 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F4ADC1B; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 572E66189F; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8101FC433B3; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=zkZ8AeyBUD5bYoynief0pjvU2ogx9k9CKTyFXK04KFM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jAGp6iX6SICmhEgIb67V031ubnOM0MV1K5lobMNAnmlW34LbWtnogmY/XfPXXDETs ggYVRNmjieSnYCCMF74DkpixYoDAVX2NfyWRtUZJMby0ETFdTLonlP/kyGvHSv9iG7 ZJtj8RaNy8kQmYz7gyMeBORJ9Us4snlKwCYj25UsbxWFzcfOGoBQZMxWmP+XYGOvzw nkPns3amJi3WdevHErd+0lm4CEpn6bujFtmkC3litt81KC9PdUIhd16cu7VGOSFGd8 OMJn0ZGcy74/iR0EHj6bjTiM12mMuwl44nkijO8EhosMnC3pnxjigUpFWbuJT6fde0 zVlcrGWrZk/HA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CB5265C1C78; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , linux-pm@vger.kernel.org Subject: [PATCH rcu 12/27] drivers/devfreq: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:58 -0800 Message-Id: <20230105003813.1770367-12-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Chanwoo Choi Cc: --- drivers/devfreq/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 9754d8b316211..3c4862a752b5a 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig PM_DEVFREQ bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support" - select SRCU select PM_OPP help A device may have a list of frequencies and voltages available. From patchwork Thu Jan 5 00:37:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19154C63707 for ; Thu, 5 Jan 2023 00:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240474AbjAEAlT (ORCPT ); Wed, 4 Jan 2023 19:41:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240570AbjAEAil (ORCPT ); Wed, 4 Jan 2023 19:38:41 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 516B4B1F; Wed, 4 Jan 2023 16:38:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 030D3B81988; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DE29C433AE; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=F6aQ6vvbp0e6OcVSUyTnleHkOEpf+ZhLzaidGHNo6qg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LRc1BevFOo0jEMuP3psUfI8LN5nfq+xryqEO+ola5YGJyy7JmBqkDxjpE/1bpzyQj z3nSL9AKI6u/H69Bbsi3gQcOdx8T7p1wovRH18XFg4Sno1H3wgegFqi3D9FDkknX6x QZbVKOSalV0H9d9v7wlTnGjizbf8HoaFSsz+gGJXNNQf9eCHhd5AJBQL2cSEMNxcBy BqvNTNjTv9d4IMjw8xXLTRo4BYCl+W6lZVdCwNn37bH0pVLkH3qLtoygxCrn+qZ/CD 00loVj9LJNoL9C5s6cLimc+bLiPZK8rDPGJITohY3LD5T4HKhvWxl1bzwjPpt4T6Ex 2r3BVymwwEB6w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CD2585C1C89; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH rcu 13/27] drivers/hwtracing/stm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:37:59 -0800 Message-Id: <20230105003813.1770367-13-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Alexander Shishkin Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Cc: Acked-by: Alexander Shishkin --- drivers/hwtracing/stm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/stm/Kconfig b/drivers/hwtracing/stm/Kconfig index aad594fe79cc5..eda6b11d40a1f 100644 --- a/drivers/hwtracing/stm/Kconfig +++ b/drivers/hwtracing/stm/Kconfig @@ -2,7 +2,6 @@ config STM tristate "System Trace Module devices" select CONFIGFS_FS - select SRCU help A System Trace Module (STM) is a device exporting data in System Trace Protocol (STP) format as defined by MIPI STP standards. From patchwork Thu Jan 5 00:38:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38277C71136 for ; Thu, 5 Jan 2023 00:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240539AbjAEAl1 (ORCPT ); Wed, 4 Jan 2023 19:41:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240571AbjAEAil (ORCPT ); Wed, 4 Jan 2023 19:38:41 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56ED4B20; Wed, 4 Jan 2023 16:38:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0C290B81989; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8816FC43444; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=N9C4ScMyf0Ff65FqkFOqtz+P3Cu1Uumu82YuwHajmao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SwFKD1T6G4ejo9ZbVyeOcrmDfP36+30OXCgwhYl8yB/n7JgLwi1gpT7ZUvxyz7q3R OHIfrpJuYyDvFa061ymVzU6pRhP5yV1HHHo9Ax0m/HmOn83FwvmyH4CnWS/+F5EZha 6/JylXXmWnMTB48IvHOPTht6n9H6t1+NaZ46JSMA2FS3bl5hRSzSj7+2rBmtQBip1P dh4HPGsLRLkI8py7PtoKyfJcyqLjh37n7DknnlHjqxRu03YL0OUqZAcaGfypUYlp6m tBvHaC4xkSIz61OIbS5mPKwm46Ek6+RAwGtV5eiggdA2pSHmdMvGIxu5oFKqEXAbj3 jFZt12oWJYGrQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CF0515C1C98; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Song Liu , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, linux-raid@vger.kernel.org Subject: [PATCH rcu 14/27] drivers/md: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:00 -0800 Message-Id: <20230105003813.1770367-14-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Song Liu Cc: Alasdair Kergon Cc: Mike Snitzer Cc: Cc: Acked-by: Song Liu --- drivers/md/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 998a5cfdbc4e9..5f1e2593fad7e 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -6,7 +6,6 @@ menuconfig MD bool "Multiple devices driver support (RAID and LVM)" depends on BLOCK - select SRCU help Support multiple physical spindles through a single logical device. Required for RAID and logical volume management. From patchwork Thu Jan 5 00:38:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089293 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A20A9C678DF for ; Thu, 5 Jan 2023 00:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238925AbjAEAlL (ORCPT ); Wed, 4 Jan 2023 19:41:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240630AbjAEAio (ORCPT ); Wed, 4 Jan 2023 19:38:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 876C0B2D; Wed, 4 Jan 2023 16:38:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2174FB81987; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 916B4C43323; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=zQrOASeiQkWJ2fTAnSKZb1lM+olIZOfGqaBBzWSL5Os=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=st3dkbbgHwtbilG5So1Lzkk0fgRX5Eq6lT3vyl8jLa/WC/soo489AykwAVP6KCJSd dRUEfg2RnrIn0m9pSaO7J06wTbTU11Z6C3S+I3/xOvj4H/2fk8Swz3zTFP4xpORiT7 MUQpUMrEw+F2pFEAXofRXAH4nrUEC7J1DndkjcblZNz+2ySfaTF06QQMJCVCNojXID IeV5X6viB08711cPeFqw4cPblG8syj+hHmsAdozXmwuX56CjxkrNQ5VtoBl1evOa+0 3mswbNhX+HqxEEdepbe2FVgZKN4iz1LZscAXADU4Dx4TMdo8cFDyY4PvGZVfudKXeD nCz3CSLOzoWdA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D0DD85C1C99; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH rcu 15/27] drivers/net: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:01 -0800 Message-Id: <20230105003813.1770367-15-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: Acked-by: Jakub Kicinski --- drivers/net/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9e63b8c43f3e2..12910338ea1a0 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -334,7 +334,6 @@ config NETCONSOLE_DYNAMIC config NETPOLL def_bool NETCONSOLE - select SRCU config NET_POLL_CONTROLLER def_bool NETPOLL From patchwork Thu Jan 5 00:38:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089304 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AD3AC7113B for ; Thu, 5 Jan 2023 00:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240525AbjAEAl0 (ORCPT ); Wed, 4 Jan 2023 19:41:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240701AbjAEAit (ORCPT ); Wed, 4 Jan 2023 19:38:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9854FC4A; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 71D7C618A9; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF5BDC43329; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=F+eE9IH0Y6vz1maiMyupWMIpzNBkwY0owmUSVTgPU/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bJASdM3AzhLsv/qlYLK/h5tDWvhjs4W09Nb9Xo7nKT+72tTVAptBqZNjZ5WGRBO62 MPP6gTpem8itu/jvn0eooIzOTZc2wy5HtkXzpFilOXSQR5yPonmHCdMyLsBw2StRrJ IyXR+d1B7Rq337qkaCQUbat8YIo24BRCFKPTh/EVbff9hJQaEM3DMWmp98WHBJmdh4 9x9GcMsVN0uTBy94xMYu72XqYKxhj/5kkr8ig942qU+FFeiynGph7RjXj5n4JdiJac XqLRLgdSqrtWlS/rD01rsC5Z4fvlFRykqbs/02GxYBGmvQuvm5ubSt99o17YuGYQnr TpMNlQDS8wRug== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D2AB85C1C9A; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org Subject: [PATCH rcu 16/27] drivers/opp: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:02 -0800 Message-Id: <20230105003813.1770367-16-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Viresh Kumar Cc: Nishanth Menon Cc: Stephen Boyd Cc: --- drivers/opp/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/opp/Kconfig b/drivers/opp/Kconfig index e8ce47b327359..d7c649a1a981c 100644 --- a/drivers/opp/Kconfig +++ b/drivers/opp/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only config PM_OPP bool - select SRCU help SOCs have a standard set of tuples consisting of frequency and voltage pairs that the device will support per voltage domain. This From patchwork Thu Jan 5 00:38:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089282 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C16E6C63705 for ; Thu, 5 Jan 2023 00:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235494AbjAEAlE (ORCPT ); Wed, 4 Jan 2023 19:41:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240724AbjAEAix (ORCPT ); Wed, 4 Jan 2023 19:38:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BDCDE2; Wed, 4 Jan 2023 16:38:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DEB71618BC; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2F88C4332E; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=UjkrzubYnsQygg5xUFcf0zzRRPdEO1lA8NbpaEs5Q3k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ka31L00eyKKuwmjxEQfuPzindN6L982vKDLeYcs5CqFzznr2US1FdPPZGWI6RNCtt kIaSdU7QLvxIA0Ct0SbEVEuTk4A1RwDtZgT5mqh5eD07DktJnn3TZV73fhMB7+jB0o Pw3nDIQOh4XvBiarU0nsq85ZUtvEZVJuX13KRpL7Y7e2TxfRmUXhLRibixbJknQTdd 9cgjP4kvahLo5X8fifk8m2U7zmuhH8U2Mq3BC0og6GoakLn5fzEa3yYnOihpnQelhV /mAENSBTNHcbfxgU+NUf3ztwXlPj3++PpnRsQNps1QJHj1JUYCWNY6LKzQu/lONyJn QUvWoVN/opOuA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D48045C1C9B; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH rcu 17/27] drivers/pci/controller: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:03 -0800 Message-Id: <20230105003813.1770367-17-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Lorenzo Pieralisi Cc: Rob Herring Cc: "Krzysztof Wilczyński" Cc: Bjorn Helgaas Cc: Acked-by: Lorenzo Pieralisi --- drivers/pci/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index 1569d9a3ada0b..b09cdc59bfd02 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -258,7 +258,7 @@ config PCIE_MEDIATEK_GEN3 MediaTek SoCs. config VMD - depends on PCI_MSI && X86_64 && SRCU && !UML + depends on PCI_MSI && X86_64 && !UML tristate "Intel Volume Management Device Driver" help Adds support for the Intel Volume Management Device (VMD). VMD is a From patchwork Thu Jan 5 00:38:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089280 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A58A1C54EBC for ; Thu, 5 Jan 2023 00:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbjAEAlB (ORCPT ); Wed, 4 Jan 2023 19:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240694AbjAEAis (ORCPT ); Wed, 4 Jan 2023 19:38:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975F9C27; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 702AE618A8; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF58FC43392; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=uNGdCXg8tvhFdD75cJKP+MAi0FVpcft3pRlEy5ToqTM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kZK17cdKWfyVtVbBELFi9PU3XxQufZKvLED9pEgVpPrNMvnpDMWnsBYHi7ynpV/aO +F1WRjWAH3B4lFWJ9xzguuL+NSeLcGmx0+79sbBbhwiJP7THgQIbF8jyGiZBGMo4vb RcDKz8ZE5vxNCVtUW3ynX7IN7KObRCV9/T6VFdbUJ7raVEo2Sqvar9SIoxf4jWnMRC c9BRbkwgJPLOexgZPo1+cRQK8ZegZBMrwgERaxVCUSgtDjlwBh48lrxapLRSpVK4Rs njuuVU843Vj60lInbU92N+cMN3nVlTaPbZp2gfeU4eAz6I4ujjghZRqIU1SpJtjDqZ 3y4si+uPWMhsA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D65C05C1C9D; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org Subject: [PATCH rcu 18/27] fs/btrfs: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:04 -0800 Message-Id: <20230105003813.1770367-18-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: Reviewed-by: Qu Wenruo Acked-by: David Sterba --- fs/btrfs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index 183e5c4aed348..37b6bab90c835 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -17,7 +17,6 @@ config BTRFS_FS select FS_IOMAP select RAID6_PQ select XOR_BLOCKS - select SRCU depends on PAGE_SIZE_LESS_THAN_256KB help From patchwork Thu Jan 5 00:38:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1B52C46467 for ; Thu, 5 Jan 2023 00:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235530AbjAEAlG (ORCPT ); Wed, 4 Jan 2023 19:41:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240697AbjAEAis (ORCPT ); Wed, 4 Jan 2023 19:38:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97D9AC2D; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7669B618AC; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2D78C4332B; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=CNDCwOrRVxUy3ujKbfGE7sGTvn3Vq+9DqFQxAJ7ZB+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SMaaDhhKZ0MrSTVLCvLXZQMerWIWXg9Cmx8ITsLfD7eS/7W0ZL/uYWoRg4DJoYrA2 BSeXZ76gZTElV/Z3NAhtMpVAZbpadsQIs9o3D9EvZd9gnpTxWTjJWfVPtMNsvGydvZ SXWQo/mM+DQ1epJyiNoY85T6V0sAGb7Th9TKEYyR0sP9M6H/sIAGPpG/ZQqzTF/mNg p5tS/v/17Qd8tNkfl1GwoII/gpiTGJGH/GaQ6VM3CKRvzanZjFOPLKg08URm5NBWc5 43zER5ex/EwPEy6+/ot1ZSkb6Pkfjzu8CrsbxJLbZt3/+BGrMvex2cC+EyHu67EpfY mEOr3RN5u0erA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D83965C1C9E; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Christine Caulfield , David Teigland , cluster-devel@redhat.com Subject: [PATCH rcu 19/27] fs/dlm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:05 -0800 Message-Id: <20230105003813.1770367-19-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Christine Caulfield Cc: David Teigland Cc: --- fs/dlm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index 1105ce3c80cbd..b3b86dbdc1878 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconfig @@ -4,7 +4,6 @@ menuconfig DLM depends on INET depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n) select IP_SCTP - select SRCU help A general purpose distributed lock manager for kernel or userspace applications. From patchwork Thu Jan 5 00:38:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089289 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE442C678DA for ; Thu, 5 Jan 2023 00:41:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240105AbjAEAlL (ORCPT ); Wed, 4 Jan 2023 19:41:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240707AbjAEAiu (ORCPT ); Wed, 4 Jan 2023 19:38:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993B2C4D; Wed, 4 Jan 2023 16:38:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7985FB8198C; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF63AC4332C; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=uoGgcjGPKW6WOc/kv1zTqKaKBuXUOztQUJ0azz/FjbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mE82tqRjiTJ3LsNUM1pJG7Fd5iOdFe20DdzmxMYspIJIpqnztEbWgIsMeB2Uu+XgP imAOCjUHCBenTW19vhpGOW9IVC1l80oqLd4xAYyJBAbkcH55zeAFF75YFwkIDZLBdv 9CRBNn4LFSoIETi5tP6d0XEN3QqO0X74dxFA1mK1pLR4ahGAKJRc1+WkWdw1sw5pDw C9r5ec0M+UaYk9tUNZO8dl5xCRQ2QkdhYAPb60lVegWFn/IWcEq1JkPY1/RuKtrJvt Y0pN1D0qzmpvWjMY/IOCLhs7DnZn4w6acwMNXsFyeLCuHY2nARw7rF+Gef0u1mmgzh 9u9+Hmh4jEI7w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id DA7AB5C1C9F; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Jan Kara , Amir Goldstein , linux-fsdevel@vger.kernel.org Subject: [PATCH rcu 20/27] fs/notify: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:06 -0800 Message-Id: <20230105003813.1770367-20-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Jan Kara Cc: Amir Goldstein Cc: Acked-by: Jan Kara --- fs/notify/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/notify/Kconfig b/fs/notify/Kconfig index c020d26ba223e..c6c72c90fd253 100644 --- a/fs/notify/Kconfig +++ b/fs/notify/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only config FSNOTIFY def_bool n - select SRCU source "fs/notify/dnotify/Kconfig" source "fs/notify/inotify/Kconfig" From patchwork Thu Jan 5 00:38:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4C69C71131 for ; Thu, 5 Jan 2023 00:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240510AbjAEAlY (ORCPT ); Wed, 4 Jan 2023 19:41:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240708AbjAEAiv (ORCPT ); Wed, 4 Jan 2023 19:38:51 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 995F5C55; Wed, 4 Jan 2023 16:38:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 91DA8B8198D; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C419EC4332D; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=tTPpQxCe30EzZFaC8M8h6GJmnI2dQGjCQpcbnqvTzS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qv+kcb288Gibon1xC+W5aPz+TYF7FmP0Id4z1GWhP8X2I0HPBM93VkZON5J8FaI6L xO37MP/VyZVMaaeVVUxfY6VFsuwfqFdyd36Vjj+UMMhMPTRfn3ZaTSBSCaNyw3k0xd eKxooI0lPoQB1tb6g+jUcv1R7/YWT3w4KsBAMgdsqeoS9NUrhC4G1T28hBL2eSexSe oDwBdsa+BzjX+tr9+bpLorTjZrjr+Pom0Ohfo1ebufb9Iw7bVHXQONAeHCJARAX4qb jjPXsLjPWBS+GwDv9CS/Zby6oom5jQ10t0gKWrhTJzcMaYzFt/soq6bicsHgviIOr6 xZ2FeGiIlm9dw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id DC4A65C1CA0; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Jan Kara Subject: [PATCH rcu 21/27] fs/quota: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:07 -0800 Message-Id: <20230105003813.1770367-21-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Jan Kara Acked-by: Jan Kara --- fs/quota/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig index b59cd172b5f97..d5a85a8062d05 100644 --- a/fs/quota/Kconfig +++ b/fs/quota/Kconfig @@ -6,7 +6,6 @@ config QUOTA bool "Quota support" select QUOTACTL - select SRCU help If you say Y here, you will be able to set per user limits for disk usage (also called disk quotas). Currently, it works for the From patchwork Thu Jan 5 00:38:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 970E3C63709 for ; Thu, 5 Jan 2023 00:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240480AbjAEAlU (ORCPT ); Wed, 4 Jan 2023 19:41:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240719AbjAEAiw (ORCPT ); Wed, 4 Jan 2023 19:38:52 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F829C4B; Wed, 4 Jan 2023 16:38:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 86BD5618B8; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9C90C4332F; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=h6bjYJAJ6MmX8IBKY+t7pThy5+DMPKWOhSwAgfRS86w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qd+GXxMIVHrrf8spj28vw7je+1WS+GM/SBz1383t3dCPs/i7wIqL58W5cPSqE3Q+o Lz5wpGscM9DjTt2af9TwLhzceYBoSy4jhpJuYtMmRejxAn2mSWkXRNSwSwzzE41E7I EfQ5gmSn+D9+cn+zWx2LKe4K0Osz6Jf0ouMkyqYMrX6vrOm08uex03FzZxvMUOAQaS lG3JeECS6w4F5fHLcDDYZXLCxXm3x+J03xWCDUh5qZiJCJwSKVEJ8g2d0DgcTeR47x LTtfz6qXhDek/q0g1xssFYa2QjJzxHFiKLKvkONf1YLup5vIpcEey6g/epOXmgw3Hf VUGNtnWdCPWdg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id DE76F5C1CAE; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Andrew Morton , Nick Desaulniers , Masahiro Yamada , Johannes Weiner , Vlastimil Babka , Nathan Chancellor , Arnd Bergmann , Miguel Ojeda , Masami Hiramatsu , Dmitry Torokhov , Aaron Tomlin , Tejun Heo , Christophe Leroy Subject: [PATCH rcu 22/27] init: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:08 -0800 Message-Id: <20230105003813.1770367-22-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Andrew Morton Cc: Nick Desaulniers Cc: Masahiro Yamada Cc: Johannes Weiner Cc: Vlastimil Babka Cc: Nathan Chancellor Cc: Arnd Bergmann Cc: Miguel Ojeda Cc: Masami Hiramatsu Cc: Dmitry Torokhov Cc: Aaron Tomlin Cc: Tejun Heo Cc: Christophe Leroy Reviewed-by: Nick Desaulniers --- init/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 7e5c3ddc341de..af511c726d695 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1865,7 +1865,6 @@ config PERF_EVENTS default y if PROFILING depends on HAVE_PERF_EVENTS select IRQ_WORK - select SRCU help Enable kernel support for various performance events provided by software and hardware. From patchwork Thu Jan 5 00:38:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089268 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 368C0C46467 for ; Thu, 5 Jan 2023 00:41:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234415AbjAEAlA (ORCPT ); Wed, 4 Jan 2023 19:41:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240692AbjAEAis (ORCPT ); Wed, 4 Jan 2023 19:38:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 974BBC25; Wed, 4 Jan 2023 16:38:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8289E618A2; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0887C43330; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=gga//6dn2CIxYDjd4uFuwFdmdAYgvyqFrWt6xDOyEao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=muaya0j7eLdCrveK++V8rYMeNoBFu+tZoUI/MPGQjjsqfFzZL2EkWp0cFvT9f4mxs E+ZAPUeno25HNWkHOpZMgZYAM1It5Kzys+JHw/dymgJ3AecWNjpcsKjyExR+57SeiG kMHbtGBXQUtc5E48W0VjdLbayGgpQP6FyXZU1WJicBzPPlaORiXwbqBQbSfsd/d987 nrR+3FerRuKC7M7fn9kV5rnjLMyCtIMZpOoKGduC+emL0ob4UyZpq+XJu6kVCbegLe hXgfe581uSK9qVnopyz/odYTfBUdLdgth2D9AXUyo0KNATqksL0QC1Lg+Pst9dZfYf viP4SHZm0GsnQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E05CF5C1CAF; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , "Rafael J. Wysocki" , Len Brown , Pavel Machek , linux-pm@vger.kernel.org Subject: [PATCH rcu 23/27] kernel/power: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:09 -0800 Message-Id: <20230105003813.1770367-23-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Pavel Machek Cc: Acked-by: "Rafael J. Wysocki" --- kernel/power/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 60a1d3051cc79..4b31629c5be4b 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -118,7 +118,6 @@ config PM_SLEEP def_bool y depends on SUSPEND || HIBERNATE_CALLBACKS select PM - select SRCU config PM_SLEEP_SMP def_bool y From patchwork Thu Jan 5 00:38:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089286 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4507C677F1 for ; Thu, 5 Jan 2023 00:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235725AbjAEAlI (ORCPT ); Wed, 4 Jan 2023 19:41:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240722AbjAEAix (ORCPT ); Wed, 4 Jan 2023 19:38:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89BE7DC0; Wed, 4 Jan 2023 16:38:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 85D0F618B6; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2D1EC43331; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=GxCQJo192VD3OzGEZf6V7v83CQvu18lIxIn+I4KK/Ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WPvwDfu/dxtu1tKjf6stLL5tgBRxLS7oOWidfG65dmX4eA+4+XLGKj63OhDJhmcGF sMHh1R8nH4rNFZHs4vB7LQKoRBGvoLDH1EGRVPHwMjOMNNtdcOzX0g1RAgcVinYkNm Qgh1w1qA0cIutxfu9nSwF/JI6bst7q/ZKlK2gU93NQ1zw9KcQSqP7NZwudkO3yxo/v v60ixmR1HYpQxifHPlXJM/BKByZWrPD8a/Kfn4fIlHfOrAq0rmsQIwCHdcRuntwvJo HFh0ZlqiM1xg+DEEu1Jj7UeexZasXtEDYkScR1QdoHo7kKoCtgKpyMoFFuRLYbd/2P zwBvx0KqJqh4g== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E255C5C1CB9; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , linux-mm@kvack.org Subject: [PATCH rcu 24/27] mm: Remove "select SRCU" Date: Wed, 4 Jan 2023 16:38:10 -0800 Message-Id: <20230105003813.1770367-24-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Andrew Morton Cc: --- mm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index ff7b209dec055..dc660775b7d3f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -667,7 +667,6 @@ config BOUNCE config MMU_NOTIFIER bool - select SRCU select INTERVAL_TREE config KSM From patchwork Thu Jan 5 00:38:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FC45C54EBD for ; Thu, 5 Jan 2023 00:41:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240339AbjAEAlN (ORCPT ); Wed, 4 Jan 2023 19:41:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240727AbjAEAix (ORCPT ); Wed, 4 Jan 2023 19:38:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17D2BDE4; Wed, 4 Jan 2023 16:38:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F1CD7618BF; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6A89C43332; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=XMX0rNISyJ3jdJLoqDXy9UsPPAVZ6pFivTvukmA1Yy0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=blU9blNCFeH4+MvoJnMJK2XWTi40fgcvMY1ZZGJCka/5+Rh+1E+L/Ian43TBJEuGq DMi5UvOsUHaWIkfgb7k/mOe6b7avNFVzalMFKsDtGOjIsBosFw8GNIuaH7TdSpyik+ dfvW/iY99Z+zLSodcCngB77xOBlB7w+rGdGzZVkNf6dXCPw/9OKZDWj5+VzOmhtEV7 NQMa+wXpsOA5rDjRs1WgYQePd+gDLEI1u9ZSqNZAD85H1NwMZ3vNbMirGYbgIkuYbK Zc1R6IGO7j6bMXnch4c97JlJrs/jE8ss9C8TKB3tchu771TDVs0IwqSuLkvx/wuH69 VU+S+ehWHamTQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E41B15C1CBA; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Jeff Layton , Chuck Lever , Alexander Viro , linux-fsdevel@vger.kernel.org Subject: [PATCH rcu 25/27] fs: Remove CONFIG_SRCU Date: Wed, 4 Jan 2023 16:38:11 -0800 Message-Id: <20230105003813.1770367-25-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef and throw away the #else clause. Signed-off-by: Paul E. McKenney Cc: Jeff Layton Cc: Chuck Lever Cc: Alexander Viro Cc: --- fs/locks.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 8f01bee177159..1909a9de242c8 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1889,7 +1889,6 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp, } EXPORT_SYMBOL(generic_setlease); -#if IS_ENABLED(CONFIG_SRCU) /* * Kernel subsystems can register to be notified on any attempt to set * a new lease with the lease_notifier_chain. This is used by (e.g.) nfsd @@ -1923,30 +1922,6 @@ void lease_unregister_notifier(struct notifier_block *nb) } EXPORT_SYMBOL_GPL(lease_unregister_notifier); -#else /* !IS_ENABLED(CONFIG_SRCU) */ -static inline void -lease_notifier_chain_init(void) -{ -} - -static inline void -setlease_notifier(long arg, struct file_lock *lease) -{ -} - -int lease_register_notifier(struct notifier_block *nb) -{ - return 0; -} -EXPORT_SYMBOL_GPL(lease_register_notifier); - -void lease_unregister_notifier(struct notifier_block *nb) -{ -} -EXPORT_SYMBOL_GPL(lease_unregister_notifier); - -#endif /* IS_ENABLED(CONFIG_SRCU) */ - /** * vfs_setlease - sets a lease on an open file * @filp: file pointer From patchwork Thu Jan 5 00:38:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089294 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC8E5C7112B for ; Thu, 5 Jan 2023 00:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240387AbjAEAlQ (ORCPT ); Wed, 4 Jan 2023 19:41:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240709AbjAEAiv (ORCPT ); Wed, 4 Jan 2023 19:38:51 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B368C56; Wed, 4 Jan 2023 16:38:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A21C4B8198B; Thu, 5 Jan 2023 00:38:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC264C4333B; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=mKsNoUjuRkefu8oWnwwhbiT27WpnrGkS6A7pHvB9XEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rydFqGWdFKNTiCXwXkCtTLgXPrcIws9xkyksZRUmeHArYPiZ6nHJwuMpMhM5iH7Z4 Trs1F6Jjn2SZcJHkq5+A9TYMnJpkN6ugjcU5FugLmAKAJYuktsbkmeOh57I5lbRUSu XkcbAj+g+OP0utYvGrT5HaY1XOL8sdEh0QLl6hzh9O7+J2BBH60JRRYM4MUC9ut8jE zoR2puFlIX2wfvw7HQWj+jIDu1jKHlEaZ6KMQfsAjLro3XOqBtqtVSXxcyQN7bDY4i m4xTZ7+vVbeLCmvPo7nwP2whE1k3DzfE6OpOKjZ4poK9AOMHXun0OMuL3hUdWFE50m jps2Cm/ulA9YA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E625D5C1CBC; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , "Rafael J. Wysocki" , =?utf-8?b?TWljaGHFgiBN?= =?utf-8?b?aXJvc8WCYXc=?= , Borislav Petkov , Alan Stern Subject: [PATCH rcu 26/27] kernel/notifier: Remove CONFIG_SRCU Date: Wed, 4 Jan 2023 16:38:12 -0800 Message-Id: <20230105003813.1770367-26-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: "Michał Mirosław" Cc: Borislav Petkov Cc: Alan Stern --- kernel/notifier.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/notifier.c b/kernel/notifier.c index ab75637fd904f..d353e4b5402d7 100644 --- a/kernel/notifier.c +++ b/kernel/notifier.c @@ -456,7 +456,6 @@ int raw_notifier_call_chain(struct raw_notifier_head *nh, } EXPORT_SYMBOL_GPL(raw_notifier_call_chain); -#ifdef CONFIG_SRCU /* * SRCU notifier chain routines. Registration and unregistration * use a mutex, and call_chain is synchronized by SRCU (no locks). @@ -573,8 +572,6 @@ void srcu_init_notifier_head(struct srcu_notifier_head *nh) } EXPORT_SYMBOL_GPL(srcu_init_notifier_head); -#endif /* CONFIG_SRCU */ - static ATOMIC_NOTIFIER_HEAD(die_chain); int notrace notify_die(enum die_val val, const char *str, From patchwork Thu Jan 5 00:38:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089284 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61FFDC64981 for ; Thu, 5 Jan 2023 00:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235540AbjAEAlF (ORCPT ); Wed, 4 Jan 2023 19:41:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240728AbjAEAix (ORCPT ); Wed, 4 Jan 2023 19:38:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C45DE3; Wed, 4 Jan 2023 16:38:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F0169618B9; Thu, 5 Jan 2023 00:38:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBEC5C43339; Thu, 5 Jan 2023 00:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879095; bh=9ltLnmPueyNAThHqCnMBk2/jo7HOn9NSQikvjiJ8fT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bpbiHeVxHb1z++NPrcNY8YC7ux8CBWGapwm3Cdo9I1onoMWT3TpKY3DEpEl2HpuAd FJfasS/kV/CL3uWODdyThwoYPhsLjQX61lVXkw/MRHAKfhN9X2IV4AA4bmDh/6WbvM jx/ddyNNbTzlTHruR8B0oHLBdKisKaIFZ7b72LLDFKFX9l7DBuOJzuB/H1oZbgGe6l uKmFt5YFpA9YXrm/fBOaL1npNhxhHRgx2pFv7TtmKnnAuXple2mx1IhnMVxN5Nt08P 6qgdu22rI828gX6qsXzNaT4gqHQ6jNG5zHqYO/OqqM5DbemEaTLjlhgVsFPgsS7UzO +kmZiuiIfwgWQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E7F0E5C1CE5; Wed, 4 Jan 2023 16:38:14 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , John Ogness , Petr Mladek Subject: [PATCH rcu 27/27] rcu: Remove CONFIG_SRCU Date: Wed, 4 Jan 2023 16:38:13 -0800 Message-Id: <20230105003813.1770367-27-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that all references to CONFIG_SRCU have been removed, it is time to remove CONFIG_SRCU itself. Signed-off-by: Paul E. McKenney Cc: John Ogness Cc: Petr Mladek Reviewed-by: John Ogness --- kernel/rcu/Kconfig | 3 --- tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 4 ---- 2 files changed, 7 deletions(-) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index ab62074174c32..9071182b1284b 100644 --- a/kernel/rcu/Kconfig +++ b/kernel/rcu/Kconfig @@ -53,9 +53,6 @@ config RCU_EXPERT Say N if you are unsure. -config SRCU - def_bool y - config TINY_SRCU bool default y if TINY_RCU diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index 42acb1a64ce10..3f5fb66f16df7 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt @@ -71,9 +71,5 @@ CONFIG_TASKS_RCU These are controlled by CONFIG_PREEMPT and/or CONFIG_SMP. -CONFIG_SRCU - - Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable. - boot parameters ignored: TBD