From patchwork Thu Oct 17 16:50:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Weisbecker X-Patchwork-Id: 13840451 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 4BD2FD3C526 for ; Thu, 17 Oct 2024 17:02:54 +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:References:In-Reply-To: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:List-Owner; bh=gck+Uk/3I+dgBwmezwwiN5Kl+pWAI3U8IJE1yPWtH/w=; b=MZi3Ih2uyjpBxFD1mdgzsZupCJ H88xadVcavlgInn6kp9MKUphhMd/N/sPUHJdZXq/4znatbxAI52MHOpYHNJ1xqdSTfYSiNXvGORak Ylwo+kbKLL60Pyw6Sn807BIGbmsEl+VWiAJX4XOyTYX4eRB5I9NvDqQtiIN+90Vab6IOUSumPsdDu STgFjcX/POWWuHYD7KRFNLe67ULwuPPvldO+Y1mwS9tZj1dSec/N6/zjBkc3AxgZnEtX7Cf3lLaXr mWUwqqqaPsFo8Zrpm664QuIenI3B5Ri87tVOqWkhHZzjt8zHXoD83cIjOwMcr60t/QJscaWj6ziQI cLKVcpLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1TtY-0000000FdOX-3zq7; Thu, 17 Oct 2024 17:02:40 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1TiF-0000000FaI6-2vfz for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:51:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 8182E5C5F73; Thu, 17 Oct 2024 16:50:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DB4AC4CECE; Thu, 17 Oct 2024 16:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729183858; bh=ohm5m/FEq12JHJkouCz6F5DIQ6ro0AAeDjfyVqNditQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HBKLIDg7vejluna9ytgUb4LHK7sdDU7oqfV7yErYzd5nQdeGSD1MFac1Hz1xcdpq5 aRrQiu6m9HBk0r+WUopP2JYDblNExvZUn9oKHRySr/MX66XwXV7dhAs+7ljKPN6xyJ uPjssWeNWcPV6S9jqdnP0J/gaIA29CvGpeaox4Y6aF+5ZLXFgM9ca7xVI75iE51GIA hXBtGl34rnvSMOTkjZRQqZorsD0U1Z8/X/jbv+duNZtvJYovUXzGNoSz6xQqr7MmJF isPtP/DUvTK62i94mqsw0nHd5o9f2+T5H6daHkld/SyxcEw8viYC8QujE9N9Q9Gthz dD6EjJwo8ZvSg== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Daniel Lezcano , Thomas Gleixner , Anna-Maria Behnsen , Patrice Chotard , linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/10] clocksource/driver/arm_global_timer: Remove clockevents shutdown call on offlining Date: Thu, 17 Oct 2024 18:50:37 +0200 Message-ID: <20241017165041.6954-7-frederic@kernel.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241017165041.6954-1-frederic@kernel.org> References: <20241017165041.6954-1-frederic@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_095059_801398_74E22B77 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. 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 The clockevents core already detached and unregistered it at this stage. Signed-off-by: Frederic Weisbecker --- drivers/clocksource/arm_global_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index a05cfaab5f84..2d86bbc2764a 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c @@ -195,7 +195,6 @@ static int gt_dying_cpu(unsigned int cpu) { struct clock_event_device *clk = this_cpu_ptr(gt_evt); - gt_clockevent_shutdown(clk); disable_percpu_irq(clk->irq); return 0; }