Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1307108pxb; Thu, 28 Jan 2021 13:02:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjXXqCk8afgeGr5ksIsb2tfVJ3ZD0vlxYVETK+D9kDU5B3gukcPooixWtg+fwOfs9tyD4i X-Received: by 2002:a05:6402:34c5:: with SMTP id w5mr1689580edc.65.1611867733269; Thu, 28 Jan 2021 13:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611867733; cv=none; d=google.com; s=arc-20160816; b=Xh23KlwCrc1sxAOSbpu6Zmnmbf1hGHaTopWKLb+yMiAAvQ7hAPSp0p5wm2i1QWjwqS SkubV8EbXXDYNcGf5mi5DI3InS8yfzhoT51eRoi102/oQMBGpOpOdvAL/YAl+91r2syu cWWcCJvJvKCy+ulJTAoaiz0IoXQhHjYP0DgOjSIVgMHmblKsic1aQ11gu9SUeRQuKK3T rsLPlF9xTA8F+F9vr807MZeb3GX2ucLijLoHW3oT4uR0tZSp8TZP4VJ7zIg/m0mBQRcf n4yPvkw/znww0n/oLY+291ZL6tPYkR+ocmu0zHXHV+EH+nQVmzMK3yoH9m1t+us1xxIy jisg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=4LMaZw3NtNH9A4LdieZVci3lGoYyMTWGqFLjtGqjyEM=; b=WBn06eN5NkhVLJh6IjcXxne1Iu2/kctzWO1GtbL88hnhxq8z0Fvs9hmKO7YRJJAjVI XhGIuwTcvPpJlFunTebBvZinhg5j6W0wYiCVojSZiggmiCI9NQodKJ1U6Whjmgbm59Sw ehDnCizia6ZH9g80i3VBC3WdiyEz/emHYeuXq6g7f+XBdeKW0G2x5f8p5qgHfsOUnnCp D4dK+mxRuwGdSZLT0Qs3yt+vnIehjNvGBXGqmR7vkz9/bbXf+YmxAjsh4pxDJYJ4RcRZ +SG2yycsqpmLoyE8PNx9J/5KR4dKEnjiBi5fRKvejOlquJBHSaXJ3/Tu0UleKsKh0eFU KTsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lFzgJrI6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si3995990ede.504.2021.01.28.13.01.47; Thu, 28 Jan 2021 13:02:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lFzgJrI6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbhA1VAi (ORCPT + 99 others); Thu, 28 Jan 2021 16:00:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:57492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbhA1VA2 (ORCPT ); Thu, 28 Jan 2021 16:00:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6875F64DDE; Thu, 28 Jan 2021 20:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611867587; bh=I/Eo/ckFo/UmLLq/4F+ksUbGqF3NvUqqpdVR1dzGu2Y=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=lFzgJrI60IS7FZ9jt4yG9eaeDFmWJXV9IQ3UGRKicN9QWr0GKbOkcsiXIGtxXZ2J5 bMv/PHYsZtmIe6aHHQBZC2v38jGMwjuDl1Ph55nA56rDVbvRh4caNRwpWKxls0VMp6 FRGr1hIxzD+4PTuY37qCJqcL6EXQXN4CEZuR1Ed2rikDm/oH8ISVusYXGRXI9Ag0YB 57WOrCp0TYgUSWD7pDazBiDIPhrqLHvx4ojGClOhWPfe6Dxw6txQLfCwYafuvVSq5U zFSd/Rp3PpQUCOqa9VAsK0tr/63WOcrDzxUcxWkUn8cvhqPUMmtZTiLW3H7V6jzEG0 A3RqGbV2JErmQ== Date: Thu, 28 Jan 2021 14:59:46 -0600 From: Bjorn Helgaas To: Marc MERLIN Cc: nouveau@lists.freedesktop.org, Mika Westerberg , LKML , Linux PCI Subject: Re: 5.9.11 still hanging 2mn at each boot and looping on nvidia-gpu 0000:01:00.3: PME# enabled (Quadro RTX 4000 Mobile) Message-ID: <20210128205946.GA27855@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127213300.GA3046575@bjorn-Precision-5520> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 03:33:02PM -0600, Bjorn Helgaas wrote: > On Sat, Dec 26, 2020 at 03:12:09AM -0800, Marc MERLIN wrote: > > This started with 5.5 and hasn't gotten better since then, despite > > some reports I tried to send. > > > > As per my previous message: > > I have a Thinkpad P70 with hybrid graphics. > > 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M600M] (rev a2) > > that one works fine, I can use i915 for the main screen, and nouveau to > > display on the external ports (external ports are only wired to nvidia > > chip, so it's impossible to use them without turning the nvidia chip > > on). > > > > I now got a newer P73 also with the same hybrid graphics (setup as such > > in the bios). It runs fine with i915, and I don't need to use external > > display with nouveau for now (it almost works, but I only see the mouse > > cursor on the external screen, no window or anything else can get > > displayed, very weird). > > 01:00.0 VGA compatible controller: NVIDIA Corporation TU104GLM [Quadro RTX 4000 Mobile / Max-Q] (rev a1) > > > > > > after boot, when it gets the right trigger (not sure which ones), it > > loops on this evern 2 seconds, mostly forever. > > > > I'm not sure if it's nouveau's fault or the kernel's PCI PME's fault, or something else. > > IIUC there are basically two problems: > > 1) A 2 minute delay during boot > 2) Some sort of event every 2 seconds that kills your battery life > > Your machine doesn't sound unusual, and I haven't seen a flood of > similar reports, so maybe there's something unusual about your config. > But I really don't have any guesses for either one. > > It sounds like v5.5 worked fine and you first noticed the slow boot > problem in v5.8. We *could* try to bisect it, but I know that's a lot > of work on your part. > > Grasping for any ideas for the boot delay; could you boot with > "initcall_debug" and collect your "lsmod" output? I notice async_tx > in some of your logs, but I have no idea what it is. It's from > crypto, so possibly somewhat unusual? Another random thought: is there any chance the boot delay could be related to crypto waiting for entropy?