Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2573364yba; Mon, 15 Apr 2019 14:48:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKc3yPH1kvZKuDpzFXN1VetjSZsb0nfUgl99NFCsPO9OszSJWi+kqeNabEvMQ6eLGzu2SE X-Received: by 2002:a63:84c7:: with SMTP id k190mr71286635pgd.255.1555364915422; Mon, 15 Apr 2019 14:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555364915; cv=none; d=google.com; s=arc-20160816; b=MTbG7eXeP40Rt9ZGmaGA0DS4fbY9c+vanq8staChK4brh03QF/ocPJTjhoDniqOBjh xoas1y5R0/xgM4ZwzSZXw9V1uOf+3OEVzhZswdS2IDLV1hMP8Q6xjIke4DkHoX7q9CbX UQMTanihuQgK/I2hyoBN+wPVGKgMprb6iBO/bisZTqDALs8sLJHF3aNN70MliYYBACcX 2xCsW0YuzIjkTfqEsKOaJEtZVZa9cK8lKE0rNmmywTfHPlOhdBHQ/l4l25uLKZGgnzqt xm9GL/Zu17iVCVthIVzoZLBXrCR+9MZF3nt71dmLLJQk3uLbIJ1Vhcv70oQWeuPImCQ8 uVeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2mYPKJwiykBYivU1xKRnC9lEdWiu662zi9Gpi4fZ6KE=; b=B1FmfhJz7aNSVMI5wD+IQy/QXkd3A7LtHB99MG98wuFeE8kO5kgywWNn9IIVBFSBbE bobZhdXi9RkcLG7HQlyQFPaIk6NFeRW7Cp56kPIUtflfYFkrB7vZTzX9kiFR6MzkBjIe NVJQGBp2FNQvt3HCLF8UbNdwrnwyrligmZ1wCNnf06v9O+vK3dN4nvqEHrPnGoyFGc2C SRAVKyGoHuDIz/J9Y8iUvE7n+Q4QttgjGmDsE7mtapntNAgef4HWTlsIoGRj4UFMRdsW 6NTXJp8ZQYVF/8+ec9tUssDwFDBMvHdZnkWKncrSFiqEPuKegmU4yv0v5lhp1rMLBFEy NS4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbuki-mvuki-org.20150623.gappssmtp.com header.s=20150623 header.b=kt8zl76P; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17si46565346pgi.514.2019.04.15.14.48.19; Mon, 15 Apr 2019 14:48:35 -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=@mbuki-mvuki-org.20150623.gappssmtp.com header.s=20150623 header.b=kt8zl76P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728093AbfDOVrT (ORCPT + 99 others); Mon, 15 Apr 2019 17:47:19 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41787 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727301AbfDOVrT (ORCPT ); Mon, 15 Apr 2019 17:47:19 -0400 Received: by mail-wr1-f67.google.com with SMTP id r4so23892429wrq.8 for ; Mon, 15 Apr 2019 14:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbuki-mvuki-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2mYPKJwiykBYivU1xKRnC9lEdWiu662zi9Gpi4fZ6KE=; b=kt8zl76PaUjEhO8D1LVUSnTTRJ6rWv8L7w8nOtVQxh2lWnFL2vP9fldXfdSKbpjxwv utR398y+ET2zjcDkjiQasptZX5+VrI17QA+ldghk0uZPJJuYIpV3zc92JQrKvJSNJqEn OMGpS1SmyswbrMGSLEaI865Naz4Q4TSwhEMyKpFLLDHjXQHswmB3vzl8i7zyJSrq2fD9 yCEJDOu15mb4OQYCv6q1cJPKe9oUhIK7lpgaoB476AFvnU2mUx9Bzk8rkpjk4RK6oZO8 S2WQT+1eNK42uPy9piiwKVK29wW/m8Vk9PTkp5Dm85q6wBegb/R4JoMMmJYyU5JS1ecf lA9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2mYPKJwiykBYivU1xKRnC9lEdWiu662zi9Gpi4fZ6KE=; b=SvizjkvSOqcvNjC25HLe8JQV1eO9YQsS3bmZlJMV7XOjdEzRLmzhLdv4ouQxeKZRx9 j9YXnPjnPU4VaffclDbLTa7jF8/vstnT+OTPrbRv2ifHeIUYykr1b7DUsSJFZbYDfwuc DugYmqFOpRih3913oyLFL6zeujdSoJqQT878PbXAw2nC3O+wojZft/7FqE/nv+kWM2PC DsaiFPmBwjjS72mCSPSCPGWRfQMyoIGf/X+iNzOpz8xud9/8bELWzVHeQAMlvY8GCsSx daLGyDpwZtpGIzGQANTZHMKMXOQBsw0Nn95wQUP0+1t2DSftu5+mS3xxvD8bJ55+68rc tj2w== X-Gm-Message-State: APjAAAVU2G+kj3hO6GPGx5E2W80p724bL7RItK3tK4rC1PRaEmfXJH5x fRz/ZPfy+bpZwd/nvQdiLF5lavmwt3p99EDc8gNRqg== X-Received: by 2002:adf:edca:: with SMTP id v10mr20631184wro.157.1555364836976; Mon, 15 Apr 2019 14:47:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jesse Hathaway Date: Mon, 15 Apr 2019 16:47:06 -0500 Message-ID: Subject: Re: Regression causes a hang on boot with a Comtrol PCI card To: Alan Stern Cc: Bjorn Helgaas , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 6, 2019 at 10:32 AM Alan Stern wrote: > Well, at least that's forward progress. I don't know what pstore is or > what connection it has to the USB subsystem. Does the machine hang > similarly if you boot without the Comtrol PCI card present? Yes the box boots fine when the Comtrol PCI card is *not* present. > For that matter, what happens if you remove EHCI from the kernel > configuration completely? If I remove USB support, the box still hangs after registering the pstore, but if I remove pstore support and APEI support from the kernel then the box boots without issue. > As for how the PCI card affects the USB handoff, it depends on how the > BIOS behaves. Normally the BIOS will take control of all the available > EHCI controllers during bootup (so that it can use them to communicate > with a USB keyboard or mouse), including controllers on add-on PCI > cards as well as those on the motherboard. When the kernel starts up, > it tries to take ownership of the controllers away from the BIOS > (that's the handoff) so that Linux can use them. However, if the BIOS > was never tested for handoff of USB controllers on add-on PCI cards, it > could easily have a bug that would crash the machine. The Comtrol card provides 32 serial ports, via a breakout box, but it has no USB functionality, which was why I was surprised that its presence somehow breaks the USB hand off.