Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp665421yba; Mon, 1 Apr 2019 14:14:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrHCTI1jv6fpc6HBPeyJ/M/hqsUukwa1lxzbxbYZa+nelcBFzWjfzAIItPAmY+8dt9dnbw X-Received: by 2002:a62:ed08:: with SMTP id u8mr64649040pfh.200.1554153294256; Mon, 01 Apr 2019 14:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554153294; cv=none; d=google.com; s=arc-20160816; b=AcmNgUzNZQ9PQXmh70ySkUa2YHmc1x/5wPNMiclSt5eywxyFxmm62DqD1DDcxhi1gJ jFLkFRoWts02nfKSV18pax0PIK4qqUJjyx1hXyPXa0Jyt98YbPZ2VPA473gNDc3IFHik nkRNZltNyLz1z0RVzeeZNuJpiQKd73ax8AMwVBdKm+Wf+TwztLlWJkq8l7Ej8x7OnlXa 3JOHC7EfNvdgN4Acon+qBsH5l0775B6eqdQNpNuHnGPl4R93PQ+zxQeMwuUJNcYdIdSs njyGUh8+lyp6Kva1/+v1r848pK0wGa9RuCNUFEpqb8UN8hUgumgnpx27eTLHMRKZYP7v OwAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dgJl5s5ud8KVLVvZdfkPDZxxd04kK+PTjgG6wgydiWM=; b=LSrWUhS1vdEp+eweiTifNurw+Xm6f5VqYaUdec/aaagUdiYAjw6JYCRkxs2D9vniyk IEA51YqbDxKcslStzZ7tK+hxCzYHHbL/aVGgUG9Tx9ORuWzxOqainUKTDkcTp7HwtB+v v8UIdqYsiHO+wOPmVdGYhcv1vmgI5+vac2FJt/r5rkhZSaC/xvBdlNy+h6QCZyeQMc9n UFAGHfs8jzkU7SvWDZCoRKxcLngkBuhr5NPATwI+z61pXo8a4ESE4i8VeIp1Gg7T17wT daQxz6DXPgZ1zt52mJTdbP5Q/eMsjpOiDJUsIe00gvwxAtbG/xLGKBANQCU2ia4skqVZ 3SkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NWrCTEmn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t7si9414937plo.163.2019.04.01.14.14.38; Mon, 01 Apr 2019 14:14:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NWrCTEmn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728567AbfDAVN4 (ORCPT + 99 others); Mon, 1 Apr 2019 17:13:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:40732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbfDAVN4 (ORCPT ); Mon, 1 Apr 2019 17:13:56 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 566CA20880; Mon, 1 Apr 2019 21:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554153235; bh=Lgdt0twy1g6qL1tYqpgMpCFN6e0QKzGNoBPyYjZknQM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NWrCTEmnN/wgWiDVSzXoWa0p0mBy43IyCJFbjJSgEfGhRsSLtrUmDnqkuuFqmUZw8 +GcNScO5mB51EukXQ4X9cXeEH5zeoVtelLtMIFhKJn7vvpPnzT1xQjq2Y2jrEApKwj XAPhWQXGdwtp3pRrHkgYh/7DVdlb6F/vYFIAHMy4= Date: Mon, 1 Apr 2019 16:13:53 -0500 From: Bjorn Helgaas To: Jesse Hathaway Cc: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , Alan Stern , linux-usb@vger.kernel.org Subject: Re: Regression causes a hang on boot with a Comtrol PCI card Message-ID: <20190401211353.GA7263@google.com> References: <20190313232112.GC210027@google.com> <20190321232310.GL251185@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [+cc Mathias, Greg, Alan, linux-usb] Beginning of thread: https://lore.kernel.org/linux-pci/CANSNSoWiKd98Dt1N2sSjP9Af8zk1NPV-=3P4VLtFs_cSQG4RUg@mail.gmail.com Synopsis: v5.0 hangs at boot unless the following commits are reverted: 1302fcf0d03e ("PCI: Configure *all* devices, not just hot-added ones") 1c3c5eab1715 ("sched/core: Enable might_sleep() and smp_processor_id() checks early") The hang appears to be in quirk_usb_early_handoff(). With "initcall_debug", we see the call but not the completion: On Fri, Mar 22, 2019 at 03:02:11PM -0500, Jesse Hathaway wrote: > > So apparently the hang happens while we're running the "final" PCI > > fixups. This happens after all the rest of PCI is initialized. > > > > Can you boot v5.0 vanilla with "initcall_debug"? Maybe we can narrow > > it down to a specific quirk. > > yup, added the "initcall_debug" output to the ticket: > https://bugzilla.kernel.org/show_bug.cgi?id=202927, here is the tail end > > [ 14.896337] NET: Registered protocol family 1 > [ 14.901314] initcall af_unix_init+0x0/0x4e returned 0 after 4866 usecs > [ 14.908694] calling ipv6_offload_init+0x0/0x7f @ 1 > [ 14.914238] initcall ipv6_offload_init+0x0/0x7f returned 0 after 1 usecs > [ 14.921821] calling vlan_offload_init+0x0/0x20 @ 1 > [ 14.927365] initcall vlan_offload_init+0x0/0x20 returned 0 after 0 usecs > [ 14.934948] calling pci_apply_final_quirks+0x0/0x126 @ 1 > [ 14.941106] pci 0000:00:1a.0: calling quirk_usb_early_handoff+0x0/0x6a0 @ 1 > > thanks, Jesse Hathaway