Received: by 10.223.185.116 with SMTP id b49csp3541068wrg; Mon, 19 Feb 2018 01:37:37 -0800 (PST) X-Google-Smtp-Source: AH8x2248fH6ml4enaZsVuVydTk2NCDGpAc949PkPMxXYNUPVIwQVENEaR0oAI0/c3jbh3tjTAC5E X-Received: by 2002:a17:902:7e87:: with SMTP id c7-v6mr1545700plm.138.1519033057793; Mon, 19 Feb 2018 01:37:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519033057; cv=none; d=google.com; s=arc-20160816; b=KyqbyKQ1o81fe65tSb4+yX1Dhr2h6fDSEJFVIaiPSAU07n7C3402zzM/a6kGHEm4fR Bsf6xqXIYTmzONCl+8d3SL26nRlssCQdqNVUQxoQXR8mL2Rwo3isfkb/7K/1no7oa6/d baAbToAz+A6osvsTPa4g0dOcyOkzR2pVGvqlwY4YnudyIwQsfxySgq6Mv6QOgwpwe1Fz G0I81krmvwOm3B6Vfd/872rR6lpeCiVLAPcyT3hzKzHsXiukhxWITDYwMgnDo0Ko8KfW VY9hVoHlEcJIc2V0Xnvy/aPibmVt662PZiYwFxsaKXv8yqsrltKtigQtFxdSJErpdn5h icLw== 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=WFCH5X6m0e+bIOYa/U8O+xy4GDxT/Fl4/sTKzjrrHtY=; b=BwfRhoAx53tLawj6nUAyu8hYdQ2QKuIRdv0GEINWMwfzz9pJfFbS9NKtDf6eKJqRpD Aqnna46zpezLeDwJkfY8dRTNP6eTfXHer4cIaGY7gjGdK2U7kJ0T1U5fJduNp4EXFGfm 2ImFVsXgKiIWWZZ79Tgo5Y6Qbqma3v9c1FCBSc9/W2H/l5OaRYldac/hNbSfAx1Es1JR 06ru2X00MoCuj1eE2AyAjb55qfMgan3arMW2Vp8epPy/0pVEn/NnFAXZk19OgYGdnj9M 49YQ1A9UvKpHrKMr82eCBj3apuGhgRFxyzZ48O5IVhdxnTFFslofZLo3H70D+Dqip2Ru AE6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=q2+7c1Zv; 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 b11si9522042pgr.434.2018.02.19.01.37.23; Mon, 19 Feb 2018 01:37:37 -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=@gmail.com header.s=20161025 header.b=q2+7c1Zv; 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 S1752255AbeBSJgl (ORCPT + 99 others); Mon, 19 Feb 2018 04:36:41 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:43013 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751941AbeBSJgj (ORCPT ); Mon, 19 Feb 2018 04:36:39 -0500 Received: by mail-wr0-f193.google.com with SMTP id u49so4237745wrc.10; Mon, 19 Feb 2018 01:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WFCH5X6m0e+bIOYa/U8O+xy4GDxT/Fl4/sTKzjrrHtY=; b=q2+7c1ZvzKuIB1irYrQiaBQDcRark/oIZrDGRC4Rvadu3g6+XkhAeo+0XFvf9Nhtnf a8g0WV9ffPMCPQT6lE02ApJV1gDg6pHt/YuKoko6Y85Y9OQOGAT46VWQZC4AXa+BU/QR B3KWF+Wia/lSkKNVx3TsbSnl8HReNstIhfMqTEgSbuYS3neYc4b0xEcMP9v7JD6tCHS5 4i42fKl3hIdb5iLvrstFYjMgUZfx05UQWhg89l8HvsNSUUa+ZqqARrhQ4L0L5HkhQh2p 9ZyFmoyrtG8Hm3Z435bWMqODlfDFgkLaT+BR4cLL0YiWW3HS4LA3oT3GUobjRKUFSR70 JnEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=WFCH5X6m0e+bIOYa/U8O+xy4GDxT/Fl4/sTKzjrrHtY=; b=MS9YkVB+eY+eOgrGtNoLHYC1ucKSlKkbMBSlSadxeyvhEo6CZ/smUxFBwQLYZuG9Hw YwSt5Q/YG/uTyTThPRBaQN0jI8PXhrADGSVmJIA/jGED3yAR/SUlO5eVsAVkDhSpX3Hq mn0i5010OtulryLRTWuQnjXCZ+gkiwQfuAMLohEyYkL6xhrqQRc8Iv+kolfEJEHTwPsw doTd9jTbcpgzM/jlEgzwiOGgKAXQizqpGcK33JdFo/eHlDruKYgHmag2z3OOU0rdWzso BRDaLx+8iyA8Q5/RdxGhQq1nSc5TkQwZTy/Av3La0ez7uILqhjpG80q6gkJ93JpPExN7 FkAA== X-Gm-Message-State: APf1xPA8iIrxTgwyPYXaxBrm/ip9eoYNLitLsAO9zOpgyPIuVpUuVgZy ALcf+aXWASUY2+Y0nlJZzQE= X-Received: by 10.223.142.194 with SMTP id q60mr11782356wrb.113.1519032998028; Mon, 19 Feb 2018 01:36:38 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 47sm2246163wrb.48.2018.02.19.01.36.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2018 01:36:37 -0800 (PST) Date: Mon, 19 Feb 2018 10:36:35 +0100 From: Ingo Molnar To: Peter Zijlstra 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: <20180219093635.su3hqx5bn2jibnoi@gmail.com> 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> <20180219092017.GN25201@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180219092017.GN25201@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > 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") So, just to make sure this commit had no effect: I cannot really see anything wrong with that commit, it does a single substantial change, which is to remove this explicit alignment: . = ALIGN(8); TEXT_TEXT which seems fine to me, since it expanded to: . = ALIGN(8); ALIGN_FUNCTION(); \ ... which expanded to: . = ALIGN(8); . = ALIGN(8); ... ... which duplication the commit removed. ... where all the relevant defitions of TEXT_TEXT and ALIGN_FUNCTION are unconditional and not overriden anywhere for arch/x86 builds. I.e. the commit is a NOP AFAICS. Thanks, Ingo