From nobody Mon Sep 15 07:39:22 2025 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 67756C54EBD for ; Fri, 13 Jan 2023 12:34:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241490AbjAMMed (ORCPT ); Fri, 13 Jan 2023 07:34:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241321AbjAMMcO (ORCPT ); Fri, 13 Jan 2023 07:32:14 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ACB5544EA; Fri, 13 Jan 2023 04:31:12 -0800 (PST) Date: Fri, 13 Jan 2023 12:31:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673613068; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AiMYGRbr2i7iO+FhMFblx75D0SPORUTgWyRhH0TmmlE=; b=04c+lsozKK7IFek6kXnZNcakwxgMvZUK0dUK0qYN0HdOZOruoFbyUiBfNKHngOgldnYEuh 51EvV6PXn6I1TP9DXr4+WeERcqNF0PU7SRWTni++6QnCz/EOqw3f4jr98W12MrLP6l6xn4 l5LVOtZOH+PUWPsQHAo+Lzes6UepeqH9Lx+h2fGMjFmd4dDKGipZygGJEiGpj9B0WGuQV0 eJZsK6uCL2IIMsIV4WDTQjIWErgNHetMdjV1C+a+UogjFaNGhBa3S/i1YV/6tNGxC+5rqk n3i4VOv4f4czuFD4ppkYdCXqpMFLb9Qc2C+Hza8Pajrg7/PuUaPV36sVYR6AlA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673613068; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AiMYGRbr2i7iO+FhMFblx75D0SPORUTgWyRhH0TmmlE=; b=NkqTk/jcvHZhxIhAC+VDYBRD958xvLliJaFLKwVcJiQlXO7UvKlYuCjZq7X2kcBMnJWhU7 1kOW6OxCuvRV1eBg== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] cpuidle, OMAP3: Use WFI for omap3_pm_idle() Cc: "Peter Zijlstra (Intel)" , Ingo Molnar , Tony Lindgren , Ulf Hansson , "Rafael J. Wysocki" , Frederic Weisbecker , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230112195541.538053457@infradead.org> References: <20230112195541.538053457@infradead.org> MIME-Version: 1.0 Message-ID: <167361306785.4906.4134931108392938974.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 40dbea961a3d92a7dec92a72c18ee03d33ccc52a Gitweb: https://git.kernel.org/tip/40dbea961a3d92a7dec92a72c18ee03d3= 3ccc52a Author: Peter Zijlstra AuthorDate: Thu, 12 Jan 2023 20:43:50 +01:00 Committer: Ingo Molnar CommitterDate: Fri, 13 Jan 2023 11:48:16 +01:00 cpuidle, OMAP3: Use WFI for omap3_pm_idle() arch_cpu_idle() is a very simple idle interface and exposes only a single idle state and is expected to not require RCU and not do any tracing/instrumentation. As such, omap_sram_idle() is not a valid implementation. Replace it with the simple (shallow) omap3_do_wfi() call. Leaving the more complicated idle states for the cpuidle driver. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Tested-by: Tony Lindgren Tested-by: Ulf Hansson Acked-by: Tony Lindgren Acked-by: Rafael J. Wysocki Acked-by: Frederic Weisbecker Link: https://lore.kernel.org/r/20230112195541.538053457@infradead.org --- arch/arm/mach-omap2/pm34xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index d73c7b6..9a3535b 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -294,7 +294,7 @@ static void omap3_pm_idle(void) if (omap_irq_pending()) return; =20 - omap_sram_idle(); + omap3_do_wfi(); } =20 #ifdef CONFIG_SUSPEND