Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp389111lqb; Thu, 14 Mar 2024 14:21:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtdTSlmVfRow9o8kLvSJdv5bF6m0g5Kr6WCkZkRW7ryv5z7/rxXNxpbsko5KplBrjYNGjfu7X/H4Re5Nkfneth/JcLRYGhW/3htK9xmA== X-Google-Smtp-Source: AGHT+IE1k43Lr6JvQnBKCY5Jqv7P0/DZsoC7iuC2YG9pS1HMhS3XNtrBbv2iCqlbS9yHf1T4G3zr X-Received: by 2002:a05:620a:495b:b0:788:49a3:5eff with SMTP id vz27-20020a05620a495b00b0078849a35effmr2262671qkn.55.1710451295891; Thu, 14 Mar 2024 14:21:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710451295; cv=pass; d=google.com; s=arc-20160816; b=pOTrlzK74qrEmlYSXu0PkW8WF4E046e5W6M+VwwzPayKLH9mOP0IMgmQ/jTgXhNlDG TOYoxQEUpiznNNCZn5zalNNkMgbTTv1dsWwyQAP/uBFmTMo6nEZqWlBoBP5wusdS6vm6 bVREiXXVLboexEW1nW5mgM1TZS4XQkKk/S8MVEcgS33DWZZyGKPt83xMzLpYvIYxkEm5 8gzO7DH81zI7BhNtS1JivjXIBGbYKJg3O9KplPi/OcWyrQgoLNuo83EnNypE0LcG08sk YY9P4qoh1a6VYq/0kBkpe9U09GqXly83hUdsQeTusRFK8BDiM3+R4xahWd5L/qe9jW9Q 9Z8g== 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=5/b8mRvFsI4RID413+I6WKq1+9lG0aPqz7WOE4uPthI=; fh=sivLZ+YwdsQJBqzENcwFbjRbWrTsfjxYApFsgXSwxF4=; b=X96JIJU6j8zOoJIddtJzWo94jIhgDdBjwROB2Ei1fZ0Ya+q5ogAeEN7VG/tiTKfAsu 9UpnijvZuwy7f4etKG3BOIXJqPmJdRdNXY1YEvu7VjcOtV6tXeoHZnazblnI9F9cZeIq MlGPNa0dVVq+Qm6jbeDMnDj22zFey7pORcs4hUmhEZsIzyOSxUNwEWPtcg+LNWzDYb8q zitNFynYDTDPQMAMOfk0n8ioWH07nSbkUNzONVkKgVaBCBi1acmK04IwHXrd5bod4Mm4 ew7+YazIOs168ASDeW+uAcecUhqYVAMJHqivxf0ZmGr74kKiFiy2Srmy/p0NmOHrVvs/ s5Ag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=i3Uftnjg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="DdiSTkk/"; 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-103800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103800-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r21-20020a05620a299500b007882b1c1e60si2562952qkp.782.2024.03.14.14.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 14:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=i3Uftnjg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="DdiSTkk/"; 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-103800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103800-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 86D041C21629 for ; Thu, 14 Mar 2024 21:21:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D2E8768ED; Thu, 14 Mar 2024 21:21:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="i3Uftnjg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="DdiSTkk/" 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 EC1BC5C61C; Thu, 14 Mar 2024 21:21:23 +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=1710451285; cv=none; b=XS5SmmEE8P2nJzPS9Hiry5Dle82oz5NjYvu10OPJhwotU/LnBoVxFTteDigP2DAVJQuKDHknwijyeUbH1uJXJ4KtfEUWCbkQjNjmtFQqNdg78TkkZCAmHpVuJ966h9bLXV2dvajU9oa4QwxuvJR0tjABhxTyOU7iJvD9pCAR2KM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710451285; c=relaxed/simple; bh=5iKYpVmwKtY3HKTze1MxAp6NLobKOmeF+sENxDioL7g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=MTeyD+TML4KLZo6mp0JIqe+rhufSihx7GnVvO28JFFUFZm/7C0ZvZeeT3HK0wMh1gxaG8+N5yqu9p76tGTbndl1cRIM2BMIkkGLVLBrkBbF4S3Z9kBhz5pFu7NXTgHuobiGkvSqhPGmQHd5E1zNRkFAsbMqUu/JM5l8SYAqXXkc= 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=i3Uftnjg; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=DdiSTkk/; 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=1710451282; 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=5/b8mRvFsI4RID413+I6WKq1+9lG0aPqz7WOE4uPthI=; b=i3UftnjgxpyCLN40bO5f19Ec09PlRCMerv4mnJIe0fiXepk/I8mnMHbH4jHBlVGKRWYaZZ 7WAC3p0zi4xm7TzcGDFToNq5tQaa3Kq2ANpiB1aVOxK2uCRTdH1PnELJT/ceRGHEcNDLcc 8BRjNM0ISeeop0gCj8hJ6qFfUGZ9Y8UB5PsO7iaF48RqdADo+DfAbYbcNBighMfq4InCZn u6+BsVAGSHt/cmohXEpzJgB8cdJZt6KWVZGCQn4oGO+EdilDftsbYTd6bJizac6Grwm/9L bo+soNCZLQlWEeZIye64lp3MRatIV9BYSQptvHMJ8I4punNloozdlZ16ALArCQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710451282; 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=5/b8mRvFsI4RID413+I6WKq1+9lG0aPqz7WOE4uPthI=; b=DdiSTkk/hs8gEDhVmlTOMoFtVgKuOY7rY9oFSKuiA+hw56BJiPsIYx5++iy9h04LzC/qHm vGG26N5pU12NKOCQ== To: Florian Fainelli , Boqun Feng Cc: Frederic Weisbecker , "Russell King (Oracle)" , Joel Fernandes , Anna-Maria Behnsen , Linus Torvalds , linux-kernel@vger.kernel.org, kernel-team@meta.com, paulmck@kernel.org, mingo@kernel.org, rcu@vger.kernel.org, neeraj.upadhyay@amd.com, urezki@gmail.com, qiang.zhang1211@gmail.com, bigeasy@linutronix.de, chenzhongjin@huawei.com, yangjihong1@huawei.com, rostedt@goodmis.org, Justin Chen Subject: Re: Unexplained long boot delays [Was Re: [GIT PULL] RCU changes for v6.9] In-Reply-To: <87v85olez3.ffs@tglx> References: <2fb110ed-ba04-4320-9ef0-8766c9df5578@gmail.com> <533151c9-afb5-453b-8014-9fbe7c3b26c2@gmail.com> <87v85olez3.ffs@tglx> Date: Thu, 14 Mar 2024 22:21:21 +0100 Message-ID: <87sf0sldbi.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 Thu, Mar 14 2024 at 21:45, Thomas Gleixner wrote: > On Thu, Mar 14 2024 at 12:09, Florian Fainelli wrote: >> https://gist.github.com/ffainelli/cb562c1a60ef8e0e69e7d42143c48e8f >> >> this one is does include the tmigr events. Thanks! > > You need 8ca1836769d758e4fbf5851bb81e181c52193f5d too. So from the above trace it's clear where it goes south: [ 236.318158] -0 3..s.. 2928466us : tmigr_handle_remote: group=aecb05cb lvl=0 [ 236.326526] -0 3d.s.. 2928467us : tmigr_handle_remote_cpu: cpu=0 parent=aecb05cb wakeup=9223372036854775807 [ 236.357809] -0 3d.s.. 2928469us : tmigr_update_events: child=00000000 group=aecb05cb group_lvl=0 child_active=0 group_active=8 nextevt=3103000000 next_expiry=2934000000 child_evt_expiry=0 child_evtcpu=0 [ 236.377222] -0 0dn... 2928471us : tmigr_cpu_active: cpu=0 parent=aecb05cb wakeup=9223372036854775807 [ 236.387765] -0 0dn... 2928471us : tmigr_group_set_cpu_active: group=aecb05cb lvl=0 numa=0 active=9 migrator=8 parent=00000000 childmask=1 [ 236.401526] -0 0d.... 2928477us : tmigr_update_events: child=00000000 group=aecb05cb group_lvl=0 child_active=0 group_active=8 nextevt=3103000000 next_expiry=2934000000 child_evt_expiry=0 child_evtcpu=0 [ 236.420940] -0 0d.... 2928478us : tmigr_group_set_cpu_inactive: group=aecb05cb lvl=0 numa=0 active=8 migrator=8 parent=00000000 childmask=1 [ 236.434874] -0 0d.... 2928478us : tmigr_cpu_idle: cpu=0 parent=aecb05cb nextevt=3103000000 wakeup=9223372036854775807 [ 236.446896] -0 3d.... 2929469us : tmigr_group_set_cpu_inactive: group=aecb05cb lvl=0 numa=0 active=0 migrator=ff parent=00000000 childmask=8 [ 236.460916] -0 3d.... 2929470us : tmigr_cpu_idle: cpu=3 parent=aecb05cb nextevt=9223372036854775807 wakeup=9223372036854775807 [ 236.473721] -0 3d.... 2934471us : tmigr_cpu_new_timer_idle: cpu=3 parent=aecb05cb nextevt=9223372036854775807 wakeup=9223372036854775807 CPU3 is the last active CPU and goes idle. So it should take care of the pending events, but it does not. This is the next trace entry where CPU0 magically comes back to life. [ 236.487393] -0 0d.s.. 162001359us : timer_cancel: timer=8c725d84 8ca1836769d758e4fbf5851bb81e181c52193f5d is related, but dos not fully explain the fail. I haven't yet spotted where this goes into lala land.