From patchwork Wed Dec 1 12:50:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12694315 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 967EFC433EF for ; Wed, 1 Dec 2021 12:53:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pIIJSJwgUViVZ2i6Kdv+5L8cbORRlXCIHtrkfLw0fGE=; b=RqXdgggyAxRsSF w7WL2FDXp4ttMt1x67KXsRs3GHuPHxVnoKYlPpkCOYqXeWZQV3I4U43O3SbonXlm02703uBAExwqh D9sjnxv+32tB8ueVRNseK3+5bNG6+585NlnCI9uycBy84NwhfhaDJs0VxjW1Tbs+Wu9Cm3DBE8gYv Q7dClpOGVDGyKO5meVg1NuqXDQg70yOgnJev6u6TlkutWJitbSdbReZ5oMzA/aSrMjw7pRyEdHGhe 9DpVzIGX4FCkUpFVeKtCMhiAf+4+CR4KIJZNzqCfG/kC0DWYsTmA10uex01PGSxJQQb9yhEyMNENN tgJRBYuETj4WgJo0yRhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msP5M-008YRQ-Qe; Wed, 01 Dec 2021 12:51:45 +0000 Received: from mail-eopbgr70083.outbound.protection.outlook.com ([40.107.7.83] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msP5C-008YOm-1G for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 12:51:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h/O8gArMY4souMov2fsQ5wgVkby4gRA5wfSzy1JBhFnol/syEWWSw1U0EfZYnV5SCHbAW/ixiBuUIEkTEHm/KFxdBktZKcmI2zhPRV7cLQ7xmYJMxu50+7tJ3Xa417U+MpvDaTw055zQ5xRiT+BrcG0hQ7ZsLcbMpuQgncNu2E+Ws4lmkVoYQI+J0CTvyNrtfcFagd8U0teFtPVS6TABXzCJgtpbCJIq2AIeSHa16b6iYeUaLeahKRNFxjN2IpSztTSEjbKu2uIxOVnvyrRwR8JMLtUnYl21rHC5rFa8MM92TibY4wOiQFg4X79coTNNfHX8JJ9IbLv4EjvVhV0GCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y69XqWnxbnuNUNp75sWgk/TmksfQY3+PSA/CZE+v7nk=; b=SEDchiUhjo0yXF3N12ExSwTs40CcbK9gpzk65MvI1alwcpAd6R9iJn4NRvW5MsVVaTXHZJCRZUZms7mZalvryl6P45k+PyHURtmmhNS6AJEn61lLxezN05CRFVU0wO5P2SsyUJmIrKK2qH4sYbuQLteXuTAh9iXD7EKIMiSBgBJzuDiGy0+g5c2HSmNafzr0Rj01D39P0zScs+KbOrYEnPCz4mxTuZ0ePbLy438nAPErtPHiEi3YooGvxaJYdECK0EmXr/kx/Ju1LZkweYozb58OhSeeFmSkO6QIww215ihdOIBQG0YLof5NWbCrqQLdOF5KM8mQqFBOyi3mm959jw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y69XqWnxbnuNUNp75sWgk/TmksfQY3+PSA/CZE+v7nk=; b=jJvx25KzLvMlS4afiKOmmRnwxxKCG1mXk4ojSTyQAe6mESL842DG4DsvLY7nuGLWtoqPkSTFHfYiFZkwpEoKvo63wL0pLWR603s4DQ0h1TsFkrcaD7oiED3JR6luL1fcFasCbhUiMM7wLXw86aScpbRBEW1eye8/S/Yk6wVjUwg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9018.eurprd04.prod.outlook.com (2603:10a6:10:2d9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Wed, 1 Dec 2021 12:51:30 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::82e:6ad2:dd1d:df43]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::82e:6ad2:dd1d:df43%9]) with mapi id 15.20.4713.027; Wed, 1 Dec 2021 12:51:30 +0000 From: "Peng Fan (OSS)" To: daniel.lezcano@linaro.org, tglx@linutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, van.freenix@gmail.com, Peng Fan Subject: [PATCH 2/2] clocksource: timer-imx-sysctr: set cpumask to cpu_possible_mask Date: Wed, 1 Dec 2021 20:50:30 +0800 Message-Id: <20211201125030.2307746-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211201125030.2307746-1-peng.fan@oss.nxp.com> References: <20211201125030.2307746-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG3P274CA0022.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::34) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG3P274CA0022.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11 via Frontend Transport; Wed, 1 Dec 2021 12:51:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91c76a1b-0f0e-43b0-2ad8-08d9b4c94b92 X-MS-TrafficTypeDiagnostic: DU2PR04MB9018: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dh3eJbdm70RlyI52G0r5tIkC48LgUGy2Q73BDz5VSBBCjArNDHeKclijlMTjFeeOgmnvRo9PAZ3uL06urvX9O3KmS2/gTexyDHkBbCkB7x2p0ItwX9pD9NExP7610ms9oJOLMeyn0gMYrDcuf8ut1EBl6yD4rNBUkFchifeEIXogFGqIu0Qn3Boac42mM4ukO0tLqJkSUPcRVB2+WOKHtEURxy1sPFAAtIAOCRm/BWGChPjgMrTEMgpixDqiH53o2gzjdjF33AaPLb4TiydKJA02MPFJO3LQtdN9kaOywcfSGHOsBDcrqXLpW9Z8At/PRwj+D8NgAt/3025dsKSqabMJmHGAjXdD/unFJZ93pIGFeSIVrypR+wWu2k/FDDepagA9F7Y/7vmDgIOyJQM8L3c/c9XVC58fDPcijTdIRhaxv/ruUUq42XAi22QKa3BMzoCxk+8b1fhybZPuEM6CjXpmuPD8iqgHBmjyce5NeDsWwzHWbR1bVY9kTfBkHerI3SVNL3MYxZRsnpWxlF2x7nIlkhAp1NSoMBTzYPoygR1gjZV4AflsB5lywIDXRDfwcOO/Fqc7Xp293a8rijTqj7mxM6NzKRs962jCqp52alBDQQeA5bJPG6w2HmgxL8FLLXQdbtc9tjClHyPsm0b6Sc6HbmE2IEcDOqWMp1FbuWv09+GaUC9tNnIWuTHNJKKJYH60lf+jQ/+M6QrWvnj5+Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(4744005)(26005)(508600001)(38350700002)(316002)(2616005)(38100700002)(2906002)(4326008)(186003)(6666004)(66946007)(86362001)(8676002)(66556008)(6486002)(52116002)(1076003)(66476007)(6506007)(6512007)(956004)(83380400001)(5660300002)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 89bOnlQ1cUuPYXuI6ASRFrmt+FMlecTXJJ7CV3sLBvfVPRrOrvj7ZzS54KEgiPp4kzguiO0IIAgYzPwq4omRT1E2nWNzNnKepNSpujroiF6oQJMDbhytVyXRCTEhek6TLoUPyk+Lue7JmABbymdqZQhps/78DOU6VpJXImkSpKCbXl/vWARU8yE68pe30l0pG3XxpiYdBtInor5xPnzSZMN8xf8rtfCYhG0gpIakif5ZeIbhmWXzHhrQr9bETCbjQrotC9jjFspisX50Rcvvi4VWvyfy/ijwhDEsoHSsprN6TlEJOcEJJ8h+hBEz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8+Rr4P68ZOFWcV3s0SgBCaLaeMZ+jpcKt7ru1wnysST2ZJjCvqKSUh1iLtlOAYoQRQCW3KsoC7r3C+7vpE/pIkpki3UzmpapGb8kScrYmZScTf554yQ+JF7zh2TkkvdPtrMeAbyXTaZKrNLurKGR5CiHqwAaAFkUVB7jhg8kMkIloE25XnwIvfGGs4pv8rxxoqW8M1H5ajDjAWRaojeOtVhw3p0ZylZ4gbxv4PkqXPwb7U= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91c76a1b-0f0e-43b0-2ad8-08d9b4c94b92 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2021 12:51:30.2168 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b1bbAIW9jdPVxSGRFfnk+3edubV/aVQSavwK0P5o+cpheUqfv+ezBCLyqVwWIU2L1Zyik65zNKt/eKJLat5bhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9018 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_045134_108571_91DCBB1E X-CRM114-Status: GOOD ( 10.85 ) 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 From: Peng Fan Actually we have CLOCK_EVT_FEAT_DYNIRQ, the irq affinity will be runtime changed and no issue. But the system counter timer is not tied to CPU0, so use cpu_possible_mask here. Signed-off-by: Peng Fan --- drivers/clocksource/timer-imx-sysctr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-imx-sysctr.c b/drivers/clocksource/timer-imx-sysctr.c index 2b309af11266..55a8e198d2a1 100644 --- a/drivers/clocksource/timer-imx-sysctr.c +++ b/drivers/clocksource/timer-imx-sysctr.c @@ -119,7 +119,7 @@ static struct timer_of to_sysctr = { static void __init sysctr_clockevent_init(void) { - to_sysctr.clkevt.cpumask = cpumask_of(0); + to_sysctr.clkevt.cpumask = cpu_possible_mask; clockevents_config_and_register(&to_sysctr.clkevt, timer_of_rate(&to_sysctr),