From patchwork Thu Oct 17 16:50:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Weisbecker X-Patchwork-Id: 13840450 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 66B3CD3C526 for ; Thu, 17 Oct 2024 17:01:22 +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=1BFcJKbGb3E9mJ5EsFDLFnqr34Y42nTMqQdmb2h5i0Q=; b=UvGUw8r/xzziD+fqpVuDV3BIyo pfWfaVoEqsqFqB/hH99xPAqEsfMmNgRog+SKgHVAFLSZWFmAi4EyESNkKrBlD7j+2oaZTZh9iF92D W7tGRfNYyMQZGWFFXGza5zU5lEp9yIN/xX0zCMJ6KHb0C8S44jVdIhHiWOQMpR5CY/s7aVA2xJ4Yp fXscirNZcVVM69z8AolMjpj9I/+T0OAF/RuBXFG1JLIDPYlU0FnsOl+FlydpkhzE8sWny69bb6xvs i5sFP0pFQikQUi0BBap/Mhbmn+NCvIOi8JB9rNr3nc/35uitpwLbKCnJsFJ+rkmnxOuxSnm2vM5Is 0jPirMnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Ts6-0000000Fcrw-0a1z; Thu, 17 Oct 2024 17:01:10 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1TiD-0000000FaHC-1fi0 for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:50:58 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 794EF5C613F; Thu, 17 Oct 2024 16:50:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1C77C4CEC3; Thu, 17 Oct 2024 16:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729183856; bh=LSVbONdYSI3CZ/dJAq35R0rVW7RNPedEHyCHamPd/X4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aIQTBZQp84Ia/ch94EF3cCuXu+IVDl2CyVe6PXaftl8EeW2bwIPRDm+gnJ6Cy68R4 bu6Uo/31++jynHj+p4k9GLYlAtC9v0AXI5FHqecuTUf2WGPrf34QZV/WS4PWkWh+CB Xt6YzX4F/b1DpXBxOXCl0mKpUWxue2/0bKfn968ciH77Z5E1z+4mZJP6jycVfj6YWB PKGIBIg1I9sShmI94NHE1HH8ZByoZGx0O27EjS7Gm3xlYDu6MrZ728tZ6GIvE1wTlu uAw+iTWOV44MdC9gtKJ4xSPqNk7FpB9VXGnTe+Mk47MtCvVDfWbg9/ZnVhZhJVECtm CgC5ddDs+iwEA== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Daniel Lezcano , Thomas Gleixner , Anna-Maria Behnsen , Mark Rutland , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/10] clocksource/drivers/arm_arch_timer: Remove clockevents shutdown call on offlining Date: Thu, 17 Oct 2024 18:50:36 +0200 Message-ID: <20241017165041.6954-6-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_095057_514573_AC993E9F X-CRM114-Status: UNSURE ( 8.75 ) 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_arch_timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 03733101e231..2bba81e25aa2 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -1179,8 +1179,6 @@ static void arch_timer_stop(struct clock_event_device *clk) disable_percpu_irq(arch_timer_ppi[arch_timer_uses_ppi]); if (arch_timer_has_nonsecure_ppi()) disable_percpu_irq(arch_timer_ppi[ARCH_TIMER_PHYS_NONSECURE_PPI]); - - clk->set_state_shutdown(clk); } static int arch_timer_dying_cpu(unsigned int cpu)