Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5448732imu; Tue, 13 Nov 2018 06:48:56 -0800 (PST) X-Google-Smtp-Source: AJdET5ciAWzYeuKgelI/tiaWW5BlJYO+cmkj+mqhw9+KpVj4AYJWnwPRb3x8IK0qpCGuRchfISwa X-Received: by 2002:a63:5d14:: with SMTP id r20mr5030280pgb.329.1542120536010; Tue, 13 Nov 2018 06:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542120535; cv=none; d=google.com; s=arc-20160816; b=pRWGAV1vKMevdRhEPT0afSGaQ2FIpPA0vR7cjMZf8J6r+hCY5gEj7y0J5zz3tSJcqt Vcl/dgj5QLkNdxoXnby4lXR54G7vMAqi9onUmRY46e4wbNTdMB4q6Nq5sz0LUyRKafSG i5KO1ITaL8cSoHypN22zYzN7wYXfxC7nukNzcFLiYOcDF3R9dPH6d1daeGf+X5Y+SQ3b 50nIuCQijLipAsRKD47+YR65SVaVDi7JKL+2nZNkM9p5fXA8R0pAcoSbn9cpId4702ID CYZFD7iMwfu7zPAlQ8JJQGgStUK8vGLQqHy4NTzMXM05HLpa5pE2+ej1D+2+Uf/6JWR/ 7qBQ== 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=xszQyH8CW5ZodZ0QetpuSvjxu95CwqeAmOKQ/pWBN4o=; b=JnQY8yymboba/zvur+W0SaFx2+v1XDvUH5q5kEgud1bVC9IbVoFej/U5hsXH1cmEK1 93054qPByXFiCyhA+TKQppDjRR5HcKj81olXyfSuvkfIr7MlP7JYg5F9rkifC3KxaBur RsZosMJUmfWxO3QQFPvvjg5EMANh17BdBScn10L+Ah1rrhqJIVpSIdyHSAMm7zxO4WFs NfGt9CitLFI0wNF6Cuxg/oL+IjMEsfGb56SqfsN+qJTpptWSnOsUbfz06Ay2m1fjbuxR JH0IIwNOwKtlowS4Mkw4s02L4gd/2us7gpSTMqavWlCwiu6uUOKEJl6gVmJNxXHO0snu v/dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CDYU1TXE; 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 j6si3445742pfc.57.2018.11.13.06.48.38; Tue, 13 Nov 2018 06:48:55 -0800 (PST) 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=CDYU1TXE; 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 S2387983AbeKNAqP (ORCPT + 99 others); Tue, 13 Nov 2018 19:46:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:34540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387892AbeKNAqP (ORCPT ); Tue, 13 Nov 2018 19:46:15 -0500 Received: from localhost (unknown [64.114.255.114]) (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 A3BD8223C8; Tue, 13 Nov 2018 14:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542120466; bh=G/SQTqC0KrL2++i5H59g/QIk1eK7oFtlXMI/deBiCFI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CDYU1TXEyhpSm8ow2r10wDZjMs5xaa0ct5oVE5LyR6/FuquJ3U9eWsanRRFrRi5+z 6ezXFFJjKso2GdfuC7bQGVIXh01/380hS6CFtLYkY9oeU3HIEpKMquV0xBOcXp/hOO sQ9yy1LX/2lHaI/bj/8QAHCJrx7R5COvLV44DC/Q= Date: Tue, 13 Nov 2018 08:47:46 -0600 From: Bjorn Helgaas To: Borislav Petkov Cc: Ingo Molnar , Jonathan Cameron , Linus Torvalds , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Greg Kroah-Hartman , Bart Van Assche , Jens Axboe , Thomas Gleixner , Peter Zijlstra , Tom Lendacky , Martin =?iso-8859-1?Q?Hundeb=F8ll?= , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org Subject: Re: [GIT PULL] PCI changes for v4.20 Message-ID: <20181113144746.GA69034@google.com> References: <20181023173934.GA14918@bhelgaas-glaptop.roam.corp.google.com> <20181113071712.GA2353@gmail.com> <20181113102004.GC10502@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181113102004.GC10502@zn.tnic> 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 Martin, Rafael, Len, linux-acpi] On Tue, Nov 13, 2018 at 11:20:04AM +0100, Borislav Petkov wrote: > On Tue, Nov 13, 2018 at 08:17:12AM +0100, Ingo Molnar wrote: > > > > * Bjorn Helgaas wrote: > > > > > PCI changes: > > > > > > - Pay attention to device-specific _PXM node values (Jonathan Cameron) > > > > There's a new boot regression, my AMD ThreadRipper system (MSI X399 SLI > > PLUS (MS-7B09)) hangs during early bootup, and I have bisected it down to > > this commit: > > > > bad7dcd94f39: ACPI/PCI: Pay attention to device-specific _PXM node values > > > > Reverting it solves the hang. > > > > Unfortunately there's no console output when it hangs, even with > > earlyprintk. It just hangs after the "loading initrd" line. > > > > Config is an Ubuntu-ish config with PROVE_LOCKING=y and a few other debug > > options. > > > > All my other testsystems boot fine with similar configs, so it's probably > > something specific to this system. Martin reported the same thing [1] (unfortunately the archive didn't capture Martin's original emails, I think because they were multi-part messages with attachments). Looks like Martin might have a similar system: DMI: To Be Filled By O.E.M. To Be Filled By O.E.M./X399 Taichi, BIOS P3.30 08/14/2018 smpboot: CPU0: AMD Ryzen Threadripper 2950X 16-Core Processor (family: 0x17, model: 0x8, stepping: 0x2) Given how painful this is to debug, I queued up a revert on my for-linus branch until we figure out what sanity checks are needed to make the original patch safe. I would expect proximity information to be basically just a hint for optimization, not a functional requirement, so it would be really interesting to figure out why this causes such a catastrophic failure. Maybe there's a way to improve that path as well so it would be more robust or at least more debuggable. Bjorn [1] https://lore.kernel.org/linux-pci/20180912152140.3676-2-Jonathan.Cameron@huawei.com