Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbdL2UVf (ORCPT ); Fri, 29 Dec 2017 15:21:35 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:39130 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbdL2UVe (ORCPT ); Fri, 29 Dec 2017 15:21:34 -0500 X-Google-Smtp-Source: ACJfBot6elky9wGGfmtm+hsgqpopsk1nBpdGbdzZU03ScijiBi1n7WPfdeRcl6PLWWIgDxfnvHzgWA== Date: Fri, 29 Dec 2017 21:21:30 +0100 From: Ingo Molnar To: Linus Torvalds Cc: Toralf =?iso-8859-1?Q?F=F6rster?= , Andy Lutomirski , stable , Linux Kernel , the arch/x86 maintainers Subject: Re: 4.14.9 doesn't boot (regression) Message-ID: <20171229202130.gjtjmaxhhohh36x6@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1960 Lines: 56 * Linus Torvalds wrote: > On Fri, Dec 29, 2017 at 3:14 AM, Toralf F?rster wrote: > > > > For the server the attached .config works fine but switching from > > CONFIG_GENERIC_CPU to CONFIG_MCORE2 legt them hang at boot w/op any > > messages. Similar picture at the desktop. > > Ok, so there's another thread ("4.14.9 with CONFIG_MCORE2 fails to > boot") about this same thing, but one thing to try is to see if it's > just the > > cflags-$(CONFIG_MCORE2) += \ > $(call cc-option,-march=core2,$(call cc-option,-mtune=generic)) > > in arch/x86/Makefile that causes this. > > The MCORE2 option does potentially have a few other effects (see > arch/x86/Kconfig.cpu), but the first one to check might be just that > compiler command line effect. > > So if you can edit arch/x86/Makefile, and just make that say > > cflags-$(CONFIG_MCORE2) += $(call cc-option,-mtune=generic) > > instead, and see if that makes a difference, that would narrow down > the possible root cause of this problem. Or, if it's more convenient, you can try Linus's suggestion by applying the patch below. Thanks, Ingo ===========> arch/x86/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 3e73bc255e4e..1835752fffc9 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -127,8 +127,8 @@ else cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8) cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) - cflags-$(CONFIG_MCORE2) += \ - $(call cc-option,-march=core2,$(call cc-option,-mtune=generic)) + cflags-$(CONFIG_MCORE2) += $(call cc-option,-mtune=generic) + cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom) \ $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic)) cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic)