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: 13089311 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 A3680C678D6 for ; Thu, 5 Jan 2023 00:41:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235751AbjAEAlI (ORCPT ); Wed, 4 Jan 2023 19:41:08 -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: kvm@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: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: 13089313 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 561C9C678DE for ; Thu, 5 Jan 2023 00:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239634AbjAEAlL (ORCPT ); Wed, 4 Jan 2023 19:41:11 -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: kvm@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: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: 13089312 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 26816C54EF1 for ; Thu, 5 Jan 2023 00:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235768AbjAEAlN (ORCPT ); Wed, 4 Jan 2023 19:41:13 -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: kvm@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: 13089310 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 E24A8C63709 for ; Thu, 5 Jan 2023 00:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235604AbjAEAlF (ORCPT ); Wed, 4 Jan 2023 19:41:05 -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: kvm@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