Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2797072pxp; Mon, 14 Mar 2022 05:16:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcdlsjgT0jpFao1tbV9IlwH/YHVbyZYe6dZ+6pc0IlorWPaK6Z7VPUaDlVfICn0h91XJSc X-Received: by 2002:a05:6402:c0a:b0:416:4f23:ebdf with SMTP id co10-20020a0564020c0a00b004164f23ebdfmr19951851edb.245.1647260213048; Mon, 14 Mar 2022 05:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647260213; cv=none; d=google.com; s=arc-20160816; b=0iwLgssjnZmpoFu1I3ckWKoyUdhBWokvCs3ofT2ljtcxH8gw1iyReeIe+5rxrqgpFc Ky+xYKmm91Ld0FWa5JzLd+veC7jnjVozIGyejVCdbHyKFFFLf8MuiWteS1IXzC7UM5A5 e+RKKC6760QYZcO7gbXPtCIEEBXVwymsf2cVxlzUoIvEhDPWVRv9MzfBSS1RhMHF8x9G uLC0t7cq2vPABb/+6oWJDrbXSja2yB5ufmUvj0qbp5UmMAmFG+sb4LOsxRQnjvuKFvD2 kMReRZ/WVHLvhXvB5eCdoR+A025uE4q5JnIruMw8sGR749DLpk9yBPeoeUgb6MqZRE4m X5AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=kL/afjmEA3jEuN1oqWn/f2qR0Dp2m1Y66acTVoUbX8c=; b=r2EAfuH1uW1TEbZRInTJm+rDUZ1j0NME800uIygdyp+cr6hoaZUAPe8mWhZfNzyUzc 3+pfXPpphidbBtFUnDZw25G8q1bG+SbjPMnFtOlKVHOccQngAnp5Ocq0zZ6w7SeV45Nj jAlcj0HIaj94fBDv27T9LL9m9zDOx0jm7q6OUriRsOLN09IxI3b1A7NGAhIzabsY4x6h TbVbpUwasusO3Du/z8JxhfWx3VhKWjtOUlKr2zgKfetlcFSu1JGaUaCbI71ApdfQYmut LNDz2EL7UegreX2W2DdCfIyCj4kusn0JIiLWg6zpJbKL96aI5oPOD+m1mfmCj+J6te/c pwtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3PGRe1cS; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a056402268600b00415c704ad64si10303918edd.96.2022.03.14.05.16.23; Mon, 14 Mar 2022 05:16:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3PGRe1cS; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238128AbiCNJao (ORCPT + 99 others); Mon, 14 Mar 2022 05:30:44 -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: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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/39664b624f6a6518001b2c8f86bac1352c89d0af 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.com 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/timer-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 = { .clkevt = { .name = "i.MX7ULP TPM Timer", .rating = 200, - .features = CLOCK_EVT_FEAT_ONESHOT, + .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DYNIRQ, .set_state_shutdown = tpm_set_state_shutdown, .set_state_oneshot = tpm_set_state_oneshot, .set_next_event = tpm_set_next_event,