Received: by 10.223.185.116 with SMTP id b49csp3528408wrg; Mon, 19 Feb 2018 01:21:35 -0800 (PST) X-Google-Smtp-Source: AH8x2267UT56Ns/2xkORBKVoSUx/wCpucrVw194Q4mY2K81RKedldUOr4vBj1n/lCTo2ckg/agAB X-Received: by 10.99.54.196 with SMTP id d187mr9826485pga.154.1519032095692; Mon, 19 Feb 2018 01:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519032095; cv=none; d=google.com; s=arc-20160816; b=xe12wLVYsUm3jnMkQqDOm/9oJt7hdmYDnOElaPfM0fFya+9XkMlrFTsgNcsc9GSMgO tOCqbnbi6i2iu/TLwGUSIZT5zYlE0mXqUnjvYDnOfPhjOLD9pZBSJSaAizsnV0qYoIGl TKt1E3pW8Y+9eY0uvY8/cfk+WKTWeLpZ1L7jFPY4XhwUlxOGc/RdzxfpLvKtemCyYIH/ wRLj/0oLnwaXtqsJu1ZjlDvy4ImgHSV3vTiA3tGYiP3IL89mJCRKBmHIhshK4vo7boaD deazHep5f7zPDv0Cu3JrA+mY9WnLIFdZzSEZEGot16eYIzTb0SZJEyfKrmuuR1kGZ6ZH 7MbQ== 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:arc-authentication-results; bh=FvueqTImb6UemBPZpHTtD6VuK4lWqRZkUQzs0kp8+ZQ=; b=0Doso0IGucm7pFs2tr4T0kQOuT4WvlFtmOWeESMZsdcWtVPb8GQ+qARkE7b1LoiVoI gMT+GlwzN6HHpywjzHDQbb6MMAPObGr1ZXUFN0Rc9gWhORHbKHmELjCVgJn/GhrxhObe GeTMvjonWkqBoAadf/lv1AywjPQWX5J687TC3ZyhfQI5nBeh1k5kyc4L7vvRkyX3U0k1 0IPJiNQbYm4oHa+M9h/8rjA6XU8HgCJdlNE7LwULs+PBex33mkVs7yNagvD319SJuO0o raFxJ+D047zSM8g8bx92dKkobIQTWGXP/DLMpdG9x10hGre8M2SKBfgFsUYYBNNsJGlr kquA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=i679saBA; 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 f132si1062667pgc.219.2018.02.19.01.21.20; Mon, 19 Feb 2018 01:21:35 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=i679saBA; 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 S1752222AbeBSJUj (ORCPT + 99 others); Mon, 19 Feb 2018 04:20:39 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:34888 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbeBSJUi (ORCPT ); Mon, 19 Feb 2018 04:20:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FvueqTImb6UemBPZpHTtD6VuK4lWqRZkUQzs0kp8+ZQ=; b=i679saBAdfNY5ltDC+LD5+GOH 4Jo7ZA+nUWCaN4gZUJLaQIg+6akmeDi3b9uQ4TSEjbu5NIuBPm1JG09yyMXwyvuOriH+nrvbH5W5r s1COOkin88PTZIUauo/Yo6zA7JzLRTlEliKWAgGWCBtBvZZ7IXOFbydu7a8lDENAGjJDno2w8zNZb EmBbz+j3n9LDmzHsmXR4UKX8T8To8XrDCimiMFEBhQizZdfsxsm2WqPXmqAIPnq//6FSpRXbPmf9n A7c+z45YMPMePxMwfLWNp16PNXFl5N8K/gcAUUmeO4mH9j1MbFs6Hvoovh+43LgsWlLO3joHiqCa8 WAxPOVkGw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1enhcS-000619-EU; Mon, 19 Feb 2018 09:20:20 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D35A3201FB4E8; Mon, 19 Feb 2018 10:20:17 +0100 (CET) Date: Mon, 19 Feb 2018 10:20:17 +0100 From: Peter Zijlstra To: Ingo Molnar Cc: Tim Chen , David Woodhouse , hpa@zytor.com, tglx@linutronix.de, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Borislav Petkov Subject: Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware Message-ID: <20180219092017.GN25201@hirez.programming.kicks-ass.net> References: <1518362359-1005-1-git-send-email-dwmw@amazon.co.uk> <1518808600.7876.49.camel@infradead.org> <66f94cb1-8160-56e0-680c-2e847ae05893@linux.intel.com> <20180217102616.vcwatxsgj2vunlew@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180217102616.vcwatxsgj2vunlew@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 17, 2018 at 11:26:16AM +0100, Ingo Molnar wrote: > Note that PeterZ was struggling with intermittent boot hangs yesterday as well, > which hangs came and went during severeal (fruitless) bisection attempts. Then at > a certain point the hangs went away altogether. > > The symptoms for both his and your hangs are consistent with an alignment > dependent bug. Mine would consistently hang right after "Freeing SMP alternatives memory: 44K" At one point I bisected it to commit: a06cc94f3f8d ("x86/build: Drop superfluous ALIGN from the linker script") But shortly thereafter I started having trouble reproducing, and now I can run kernels that before would consistently fail to boot :/ > My other guess is that it's perhaps somehow microcode related? I did not update or otherwise change packages while I was bisecting; the machine is: vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz stepping : 4 microcode : 0x428 Like I wrote on IRC; what _seems_ to have 'cured' things is clearing out my /boot. The amount of kernels generated by the bisect was immense and running 'update-grub' was taking _much_ longer than actually building a new kernel. What I have not tried is again generating and installing that many kernels to see if that will make it go 'funny' again.