From nobody Tue Jun 23 01:23:41 2026 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 CB5B6C433EF for ; Mon, 14 Mar 2022 09:29:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238175AbiCNJaq (ORCPT ); Mon, 14 Mar 2022 05:30:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238042AbiCNJ3s (ORCPT ); Mon, 14 Mar 2022 05:29:48 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD536443F9; Mon, 14 Mar 2022 02:28:34 -0700 (PDT) Date: Mon, 14 Mar 2022 09:28:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647250113; 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=kL/afjmEA3jEuN1oqWn/f2qR0Dp2m1Y66acTVoUbX8c=; b=3PGRe1cSrXbOudJQTzzt7NDatClXTDHKVEHYOFp+V72IsxoLxnNEPcvARxaZhprfaoYZSk sRveaGxCt1wljNYfS9KXjWmcVpevqNREu97yE2pAVHCw+bRacJaVIAi+nQI11/KXpyPula Ohm67TsRBfKW6KnpMupQoaefcTBscXaZu8/oP1UWO+SvRSMJhsnLMHIvhLkGmBw0jz56wS oFnPj4qoKXdb1goKza5NS0DM2U6y1lM6sggxUScI67zEhFYOydGR7p4H0pDNTeGI0wUuig qxhtsTsjEzeLb8q/aeveMtsHK6qsIQS9Y5+TPjvE6pNrMNuFiMHanz+GUob44w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647250113; 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=kL/afjmEA3jEuN1oqWn/f2qR0Dp2m1Y66acTVoUbX8c=; b=4x8jhkaec7CEVtccF8FGe7ZMfOvWOkqSiUrKgHs189Bv6a7XoWTArX8vaTGZgWVOPGW4ca 9suNL3uNCnOFyvAw== From: "tip-bot2 for Peng Fan" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/imx-tpm: Add CLOCK_EVT_FEAT_DYNIRQ Cc: Jacky Bai , Peng Fan , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20211214120737.1611955-5-peng.fan@oss.nxp.com> References: <20211214120737.1611955-5-peng.fan@oss.nxp.com> MIME-Version: 1.0 Message-ID: <164725011251.16921.9372165520109504949.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 timers/core branch of tip: Commit-ID: 39664b624f6a6518001b2c8f86bac1352c89d0af Gitweb: https://git.kernel.org/tip/39664b624f6a6518001b2c8f86bac1352= c89d0af Author: Peng Fan AuthorDate: Tue, 14 Dec 2021 20:07:36 +08:00 Committer: Daniel Lezcano CommitterDate: Wed, 26 Jan 2022 10:01:00 +01:00 clocksource/drivers/imx-tpm: Add CLOCK_EVT_FEAT_DYNIRQ Add CLOCK_EVT_FEAT_DYNIRQ to allow the IRQ could be runtime set affinity to the cores that needs wake up, otherwise saying core0 has to send IPI to wakeup core1. With CLOCK_EVT_FEAT_DYNIRQ set, when broadcast timer could wake up the cores, IPI is not needed. Acked-by: Jacky Bai Signed-off-by: Peng Fan Link: https://lore.kernel.org/r/20211214120737.1611955-5-peng.fan@oss.nxp.c= om Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-imx-tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/time= r-imx-tpm.c index 3afd9b0..578fe16 100644 --- a/drivers/clocksource/timer-imx-tpm.c +++ b/drivers/clocksource/timer-imx-tpm.c @@ -129,7 +129,7 @@ static struct timer_of to_tpm =3D { .clkevt =3D { .name =3D "i.MX7ULP TPM Timer", .rating =3D 200, - .features =3D CLOCK_EVT_FEAT_ONESHOT, + .features =3D CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DYNIRQ, .set_state_shutdown =3D tpm_set_state_shutdown, .set_state_oneshot =3D tpm_set_state_oneshot, .set_next_event =3D tpm_set_next_event,