Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751847AbdL2UX3 (ORCPT ); Fri, 29 Dec 2017 15:23:29 -0500 Received: from puleglot.ru ([78.47.112.147]:44226 "EHLO puleglot.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbdL2UX1 (ORCPT ); Fri, 29 Dec 2017 15:23:27 -0500 Message-ID: <1514578936.28262.11.camel@tsoy.me> Subject: Re: 4.14.9 with CONFIG_MCORE2 fails to boot From: Alexander Tsoy To: Linus Torvalds , Dave Hansen Cc: Greg KH , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Boris Ostrovsky , Borislav Petkov , Borislav Petkov , Brian Gerst , Dave Hansen , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , "H. Peter Anvin" , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Rik van Riel , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Kernel Mailing List , stable Date: Fri, 29 Dec 2017 23:22:16 +0300 In-Reply-To: References: <1514453602.6251.8.camel@tsoy.me> <20171229091741.GC18441@kroah.com> <1514557888.28262.1.camel@tsoy.me> <1514558513.28262.3.camel@tsoy.me> <1b4569ee-8c06-4480-447b-2af8f6804053@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 28 В Пт, 29/12/2017 в 11:31 -0800, Linus Torvalds пишет: > On Fri, Dec 29, 2017 at 9:32 AM, Dave Hansen > --------------->%--------------- > > > > MCORE2 seems to get one oddball compiler flag (-march=core2): > > > > >         cflags-$(CONFIG_MCORE2) += \ > > >                 $(call cc-option,-march=core2,$(call cc-option,- > > > mtune=generic)) > > > > It would be interesting to see if replacing the above "$(call" > > with: > > > >         $(call cc-option,-mtune=generic) > > > > makes the problem go away the same way as changing the .config > > option. > > Definitely. > --------------->%--------------- > But double-checking that "-march=core2" case is definitely worth > looking into. Especially since there are clear indications that it's > gcc version-dependent anyway. Alexander? > Yes, the change suggested by Dave makes the problem go away.