Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3142866imc; Wed, 13 Mar 2019 09:52:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTLmVUkfBNp9ibTHobnfJELYNA/lhCOeJ6dGx6jF4qyOTsgINAUO5vCOMZu/7wGyp53WgJ X-Received: by 2002:a63:ed0b:: with SMTP id d11mr40745556pgi.435.1552495955093; Wed, 13 Mar 2019 09:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552495955; cv=none; d=google.com; s=arc-20160816; b=t6jLgYdPpt/LjzVe3w0lw/SBhK30HVkVzvmjXVoUo6hX+R1Tc7c9JkYgoVRNa4Q2S1 qWjOqlY5egKRFb7hnXXngZnBR/4pVLddS769Stt1fP0Yf29PeX/3d9v8uPT11DpzGS2p HLA7Q46Vz0zut5j4MUep9bPl3RH2Ygx6z4pqNzQU/z2lvKxIG7UgaGk26R0cZQgYTG9F YW+AAGJEslQiNt94cq+PU6nSnUc4ABoqMUWZH8NASR8X3PyV7yzEd1h0/UKqok13QLZj 7Um2sBL3sW5BadimrNgqvATEcuAYTEbnOyqjY3zZX4bMtwGWoA5A5pMLfD88M8HY1fHC B32g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=tBsvxjBznWCx4BmLg9M6SENL8GgDw631+vIslwJbWRU=; b=DCf3i1HwNL1j2eFhH8Bhucuu+vR3odaCJkdffkduc46gR/toEgbrqnvk/7NdALQ//H UGc9omC1METtAEZdc/EyolCbUG/qcIAf3UW8WM8q9As8cZnpj5RnET4uUqUwsQGt3mfu BAokGakflqiRGYgp4RilQohtEk2WiThXm1P5cIwL3iV5Z2yoBmQ1Yjg/XMUlSa8wS/p3 hVAQ4R1vHojWQpTGIChMeeWCnlO1OkOkIYvetuPAMdnnx33+eVF9b6XkBAMAIUYBsth0 pV4ZOGliMsPhChlK8WxqKfHQuVnvWKVBz5gce0FNApnoCIp7fzeRYpwLyVwOLT+k0DPR fhbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbuki-mvuki-org.20150623.gappssmtp.com header.s=20150623 header.b=0a74UO8n; 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 c32si1053797plj.282.2019.03.13.09.52.18; Wed, 13 Mar 2019 09:52: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=0a74UO8n; 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 S1726787AbfCMQuZ (ORCPT + 99 others); Wed, 13 Mar 2019 12:50:25 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36337 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbfCMQuU (ORCPT ); Wed, 13 Mar 2019 12:50:20 -0400 Received: by mail-wr1-f67.google.com with SMTP id g18so2793093wru.3 for ; Wed, 13 Mar 2019 09:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbuki-mvuki-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=tBsvxjBznWCx4BmLg9M6SENL8GgDw631+vIslwJbWRU=; b=0a74UO8nUn+icfLlLnf8bVYRtIyTbA4/l+z76oT5gG1p5zIdUM+bDEo+5vqOmYUmoH fFs8269/q1tDuJ0EyQhrverlT+LPWZi6PTjv9YRxm/ep4tfP89WQMC6bX9+Q56EVcCGT p0IMFO2SnWeh9FkuZfwq+ZqdxSHkz2JxbM7W79SLAyNbmHc/GfFiq/ii07btnfIf4C+k 2Wk2HPkoB4MivqfpEFc9eY0OZo2KIZDWsCeRFGpmoEScVu/Vw8yZrUEN+OjXMch2vUSd t1Hzpzsrhkac9U/2H5kc2xWQeecJDc9Isbvh2Akh3nYqnt55H/IHQsSPwyUkFj4ycMTB eRtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tBsvxjBznWCx4BmLg9M6SENL8GgDw631+vIslwJbWRU=; b=DHqpCkz3V/2MEXWldSbpg5V8Uq4rWty9P6kOk68KByfjGwQZSFNNi3xxBz7PserYIO bXqIhsbGhaXr0eacxcuTuDbkDNUSPt6Z3bD0bne8jZZ5JzBL4S4RVPUO7WCYRR8s743k M9NfVZzFUkIU8XUupkjkzK/Ba4K0rd/NiSwL4hfulucB+eRCur3WTth+jA9XzTl3y/Lw wDFnoksvtV24vp/syB0eubqEvYA4lE5eD+Cd0dtXHcxVRrBcWdHoy5SBFMg+GxXGIt/f pP9OP6GT54RjZK77z1lbjwVlEsnZPqcukoyfQHm35MeEXGu8A9C6AgVx8Bzwzn6mMa/v 6fvg== X-Gm-Message-State: APjAAAVBPUgJw7LFHct9j0wVDMJjeCi8eSzyxxfAP0eHR3lG3UooP38e l+ESlXbbVAhoXhbTXXLvQjE0Hm0ipX2wXECrFfrFmw== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr27016220wrw.87.1552495818416; Wed, 13 Mar 2019 09:50:18 -0700 (PDT) MIME-Version: 1.0 From: Jesse Hathaway Date: Wed, 13 Mar 2019 11:50:07 -0500 Message-ID: Subject: Regression causes a hang on boot with a Comtrol PCI card To: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Bjorn Helgaas , linux-pci@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 Two regressions cause Linux to hang on boot when a Comtrol PCI card is present. If I revert the following two commits, I can boot again and the card operates without issue: 1302fcf0d03e (refs/bisect/bad) PCI: Configure *all* devices, not just hot-added ones 1c3c5eab1715 sched/core: Enable might_sleep() and smp_processor_id() checks early ; lspci -vs 82:00.0 82:00.0 Multiport serial controller: Comtrol Corporation Device 0061 Subsystem: Comtrol Corporation Device 0061 Flags: 66MHz, medium devsel, IRQ 35, NUMA node 1 Memory at c8004000 (32-bit, non-prefetchable) [size=4K] Memory at c8000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [40] Hot-plug capable Capabilities: [48] Power Management version 2 Kernel driver in use: rp2 Kernel modules: rp2 Is it possible that the problem is that the card claims to support Hot-plug, but does not? I would love to help fix this issue, please let me know what other information would be helpful to provide. ; awk -f scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux tty01 5.0.1-amd64 #1 SMP Wed Mar 13 15:43:44 UTC 2019 x86_64 GNU/Linux GNU C 6.3.0 GNU Make 4.1 Binutils 2.28 Util-linux 2.29.2 Mount 2.29.2 Linux C Library 2.24 Dynamic linker (ldd) 2.24 Procps 3.3.12 Sh-utils 8.26 Udev 232 Modules Loaded 8021q acpi_power_meter aesni_intel aes_x86_64 ahci autofs4 bonding button coretemp crc16 crc32c_generic crc32c_intel crc32_pclmul crct10dif_pclmul cryptd crypto_simd dca dcdbas dm_mod drm drm_kms_helper ehci_hcd ehci_pci evdev ext4 fscrypto garp ghash_clmulni_intel glue_helper i2c_algo_bit igb intel_cstate intel_powerclamp intel_rapl intel_rapl_perf intel_uncore ioatdma ipmi_devintf ipmi_msghandler ipmi_si iptable_filter ip_tables irqbypass iTCO_vendor_support iTCO_wdt ixgbe jbd2 kvm kvm_intel libahci libata libcrc32c libphy llc lpc_ich mbcache mdio megaraid_sas mei mei_me mgag200 mrp mxm_wmi nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 pcc_cpufreq pcspkr rp2 sb_edac scsi_mod sd_mod sg snd snd_pcm snd_timer soundcore stp ttm usbcore wmi x86_pkg_temp_thermal xfrm_algo x_tables xt_conntrack xt_tcpudp