From patchwork Sat Sep 14 09:00:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryo Takakura X-Patchwork-Id: 13804320 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D54D0C02185 for ; Sat, 14 Sep 2024 09:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=80gUEy4Xpou+IbrhU/9l3MOOZ3f+Iwp7Qlf1giy0P58=; b=lNQi8TXtKQvHpi0N1woq7In1s4 XnJMYGIzllpI4RGHnSfH4XEe2oUwgEWGt+8JnCWEGgefTRfRNnH/veiigAhEdPe8Qwoh8e/ZyU9ld z7GZqbu18L8X00oXGxW2cWIHjsNfkcMsot6iicCVYmXfRjg1ZT+APCIeOyF6Xyr8BnqK8bp40bKOW lsmvpLm2Rfjkag38GR7uaozbbCTaOwcQY3Q9dHI+Dqw+twXRn1U5yQmwo2rGc58NuwB/eWx360G25 QOsh4AqPuBvLsU+oFwVr6bNp0xalGzJ8IBAZgxa0FXXJMiLHYMQLf9PnmxdSPgkFudaIWV8NS6rw5 99SC0khg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spOfc-00000000PHZ-1lDf; Sat, 14 Sep 2024 09:02:20 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spOeX-00000000P6s-3YGm for linux-arm-kernel@lists.infradead.org; Sat, 14 Sep 2024 09:01:15 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-2068acc8a4fso15819125ad.1 for ; Sat, 14 Sep 2024 02:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726304471; x=1726909271; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=80gUEy4Xpou+IbrhU/9l3MOOZ3f+Iwp7Qlf1giy0P58=; b=HlKAYjX+/owEVdvVKKGWe8opZ+c1qULSYbXbXzlRljBVVwlayCRTozo1dKIGzf4qen 4svmn1w6RdRvz2ZklW3WpPQlIT5R+899M+23auOKLyWjuqn6x2p/9Hf3bssKDZUcJ0c7 vc0V0pN2WHuN8smtPPoyP4aU2Ww+1ZUPq5/1e+mb707AWsZYEYD5VWeBlQUCi0WQBqzl dskuhohasqFqpS1Z/CQTTAc9Hq1MWK0HvBX3SCQ03rtuKv/Rcuk+Any/fJl5Qy0BQHk/ PCg5N+j+2LOXmofxmkGwSjzUQBOkEfAr/aWw+W5Xj0LRYBcA7pVGWOcm6m8fJQhuqPsg nang== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726304471; x=1726909271; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=80gUEy4Xpou+IbrhU/9l3MOOZ3f+Iwp7Qlf1giy0P58=; b=PJAnnf+LxAa6s4ZcQdYyOQtXWMR9jn5sO8guqRuvoW19e8hMu55osInwh4pLR3Lexc DOTehccB1tefU40/11mCut7FYMcIInZarU55jzlByWIh2EWGAno+kxImc+uZd4Q+TyAQ G3PkJMyw9faI4Fr13KCFYNKUXrZTD5022cHyoYaTXNw1xOx0wKJMfFo8gZeX/DAx8Bt/ 3LKI/Ky0fZZEtvVKgxa8fUKUhqXMPeMMMUVvJGu3U21CyeFOlmJmEiP7BnZYSDgqpDjo EwYTxv/RCXRAmyOY2UPdGs0ciGLij28lScGzku8JUj3PFCTuz2Ej1UmJGosfqetDF9it Hv8A== X-Gm-Message-State: AOJu0Yy2yp5rp9sos0eiHFtgPncN/JZHiK863pyGv49s3a6yqTcp47j9 pB30PS31dC/k0XYP+fzyQVH98gpHLc/HXF7ZqMTWbmcfBWfOFGEA X-Google-Smtp-Source: AGHT+IG1DBSrsAg0ikSLradEKrt+4UxO3yKqee0CzbioY1UzBOJiyV9ahXp6yXnodFqScK6Syx2T8w== X-Received: by 2002:a17:902:ea09:b0:205:88bf:bfe9 with SMTP id d9443c01a7336-2078284bf3dmr86790815ad.15.1726304471420; Sat, 14 Sep 2024 02:01:11 -0700 (PDT) Received: from DESKTOP-NBGHJ1C.flets-east.jp (p10213112-ipngn20001marunouchi.tokyo.ocn.ne.jp. [153.220.101.112]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20794602f36sm6587175ad.83.2024.09.14.02.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Sep 2024 02:01:11 -0700 (PDT) From: Ryo Takakura To: catalin.marinas@arm.com, will@kernel.org, broonie@kernel.org, mark.rutland@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ryo Takakura Subject: [PATCH] arm64: Remove the check for CONFIG_TINY_RCU Date: Sat, 14 Sep 2024 18:00:40 +0900 Message-Id: <20240914090040.166671-1-ryotkkr98@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240914_020113_905696_6E8D31D1 X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since the commit 4b3dc9679cf77 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs"), arm64 defaults to CONFIG_SMP but TINY_RCU is cofigured only for !SMP systems. Remove the check for CONFIG_TINY_RCU as it should always be false. Signed-off-by: Ryo Takakura --- arch/arm64/kernel/entry-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c index b77a15955f28..a9765364fc67 100644 --- a/arch/arm64/kernel/entry-common.c +++ b/arch/arm64/kernel/entry-common.c @@ -40,7 +40,7 @@ static __always_inline void __enter_from_kernel_mode(struct pt_regs *regs) { regs->exit_rcu = false; - if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { + if (is_idle_task(current)) { lockdep_hardirqs_off(CALLER_ADDR0); ct_irq_enter(); trace_hardirqs_off_finish();