Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1642940rdb; Thu, 25 Jan 2024 01:38:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTwuHfmGPGzAq+zOVTCTXbF52tbaN5xi1D3l2wPcIAzl/e/fAxWn8edrmqg6QM/6kdEZh8 X-Received: by 2002:ac8:5915:0:b0:42a:5a70:f895 with SMTP id 21-20020ac85915000000b0042a5a70f895mr874079qty.93.1706175514432; Thu, 25 Jan 2024 01:38:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706175514; cv=pass; d=google.com; s=arc-20160816; b=S2lBuP7kCJbW/uXSUz79G5xwUfbKUjl0QQaF5OGNSV3ffJQuE32MFo0/wj3ygsRtVp Cnej/SXzPW2Li+x0tB+iJRdRKZo8/MOM5tqtNNEKlwM/sjHL3USPphaK558Jgi3SKwh5 ebCen8w8jPfhsrVFdb5o2u9GwC0tmZTztrr+EoZSkW428JA+Hvf5geiSErb+ktTssPxA d7YUd+m0Awx5H5JUXCpVZLXS+TYBlVpW3k5QT8YoaaXLzwSsoAnfbHl1HEfK5Z6Ouyoe xlqRzAN/zYOLN6Zzi6B8aFM9cQjlJ3KHeCLR2q4hgkd/4NdoFSsz9kQYaEyGN9YB5v+7 KNqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=PBY1HzrCSoOD+JiFNUnQfEDbKKGOkJwBNVfE16bj6ME=; fh=ArO5S2f1rvOnBmBk4qnXzbNnl1G0evdbqv5Z8pM5RrA=; b=IVaa8zE1h+94rXMsdUGI4YsslKhNfXQu6NXA+JLF95bZLbgI1sw6W4IbFt1xIaXYYH VZMF344F8wXZnieJ7PAP2WfO+BjlojMFayX7OU+bNbdQqNl5N+Ta7eFxcKephdKTV6M9 dSeFw8XpTMwdREGnCBs2dJYK4J/sg6S4dUNiC/EBkFTEKt4ynwr7995OohWnP/c0Iwto HNmM0BCgEeLw7wNqMj+xWUJwK2CcnFuqMnevlgyWXFELQToHMA1ZWqunzoVJWtP9bMZW EOQSrpp8xx8HRsoRvMu8WUHFU5c+BT5X1B6/N+4U2zULM7SNIXaWdD8sVgvculfDS4qT oILA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="3mceS/Fu"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k8-20020a05622a03c800b00429cceb3e6dsi12445153qtx.151.2024.01.25.01.38.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 01:38:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="3mceS/Fu"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 34CE81C22AD3 for ; Thu, 25 Jan 2024 09:38:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FC441BDD9; Thu, 25 Jan 2024 09:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3mceS/Fu"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KR1LFLZC" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E12E11BC5A for ; Thu, 25 Jan 2024 09:37:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706175474; cv=none; b=OD4+8c9qrM6q6pzp+liapCzqbn3aF82S1yrsK6oqhpz0GfImks3x75+V50NaxOULiliQerqBQAD36VRDavYhlT9jiFIQeuhneLhmuskeya76atTbs2kopNF0TZRSdsgMITwj491YOkjqPI13xLvv4PBWv90l4Q/r9Hl8NQZ3EBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706175474; c=relaxed/simple; bh=PBY1HzrCSoOD+JiFNUnQfEDbKKGOkJwBNVfE16bj6ME=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=i1pWm5uqU1Xbywpv6ixcJ51pWY1nSONugJmMF2/1j/X0rNzuuSnBmLpRmAabldRfm8CxkeXnusQ99GXCvfUtomHTK007qw1Y8I0xFon32ov6v8jqAgFba7292Kh5rptXUeI3xVUNPqwqBvCgIHIxuUh1Mc89RDXFn5lDRvUbx38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3mceS/Fu; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=KR1LFLZC; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706175470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PBY1HzrCSoOD+JiFNUnQfEDbKKGOkJwBNVfE16bj6ME=; b=3mceS/FuYm5i7LZw0+8Uwuap/NnjY9ZUSyPbiJvDsYnqLbmieZT2K3WG39fkPgVjaXLWMG hQO+3fAbcSJ38UfvojZpgjDbsv6oMybdlKuGCGkd9U7EEC4n69T3LDUKTF3K+El23k1aZJ Ry4WaeCHrT3vCvt33h4CSuL+opI1WQEgAxZSdHvaz3q1s6aFej6tOvWRj7/a1B6TkiP7lX s8V5XfMaNPwMqmubQYgMLKqAImkpc8jgMc5sSexh3N94sGIF0VmyZvx813bX7R1HHSMvbm JQ3AmBFuDbXc4ArjhZ6Rljm/F2a2lI5nmnrXlN022wDqbk67k4oCBv7MNsQ5XQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706175470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PBY1HzrCSoOD+JiFNUnQfEDbKKGOkJwBNVfE16bj6ME=; b=KR1LFLZCPxYuCATMDriGoIpuF4USzviK7/Jbc9h4ucl7/llQbpA7oyxOWvKQ5ZLd8B/5/v ynLPJJAWvEdDDHAw== To: Frederic Weisbecker , LKML Cc: Frederic Weisbecker , Ingo Molnar , Anna-Maria Behnsen , Peng Liu , Joel Fernandes Subject: Re: [PATCH 08/15] tick: Move tick cancellation up to CPUHP_AP_TICK_DYING In-Reply-To: <20240124170459.24850-9-frederic@kernel.org> References: <20240124170459.24850-1-frederic@kernel.org> <20240124170459.24850-9-frederic@kernel.org> Date: Thu, 25 Jan 2024 10:37:50 +0100 Message-ID: <87wmrxiwi9.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Jan 24 2024 at 18:04, Frederic Weisbecker wrote: > The tick hrtimer is cancelled right before hrtimers are migrated. This > is done from the hrtimer subsystem even though it shouldn't know about > its actual users. > > Move instead the tick hrtimer cancellation to the relevant CPU hotplug > state that aims at centralizing high level tick shutdown operations so > that the related flow is easy to follow. > > Signed-off-by: Frederic Weisbecker Reviewed-by: Thomas Gleixner