Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbcKXGA5 (ORCPT ); Thu, 24 Nov 2016 01:00:57 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34486 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbcKXGAy (ORCPT ); Thu, 24 Nov 2016 01:00:54 -0500 Date: Thu, 24 Nov 2016 07:00:50 +0100 From: Ingo Molnar To: Nicholas Piggin , Al Viro Cc: Adam Borowski , Michal Marek , Philip Muller , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Linus Torvalds , Andrew Morton , Peter Zijlstra , linux-arch Subject: Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm Message-ID: <20161124060050.GA788@gmail.com> References: <20161123205338.GA12050@angband.pl> <20161123210256.31501-1-kilobyte@angband.pl> <20161124044028.GA12704@gmail.com> <20161124162051.5e336127@roar.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161124162051.5e336127@roar.ozlabs.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1856 Lines: 48 * Nicholas Piggin wrote: > > scripts/Makefile.build | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ > > 1 file changed, 72 insertions(+), 6 deletions(-) > > > > It was applied 4 hours after it was sent in the -rc3 timeframe, and then it went > > upstream in -rc5: > > > > "Here are some regression fixes for kbuild: > > > > - modversion support for exported asm symbols (Nick Piggin). The > > affected architectures need separate patches adding > > asm-prototypes.h. > > > > ... the fine merge log even says that the commit 'needs separate patches'! > > > > It's still totally broken upstream and it didn't fix any regressions AFAICS (or if > > it did then its changelog was very silent on that fact). > > Well it doesn't fix regression by itself, as discussed it needs architecture > patches. I've tried keeping linux-arch on cc for all this modversion breakage > stuff since it became clear it would require arch changes. > > The actual x86 bug I suppose you would say is caused by 784d5699eddc5. But I > should probably have included more background in the above initial crc support > patch, e.g, at least reference 22823ab419d. So mea culpa for that. Indeed 784d5699eddc5 makes more sense: 784d5699eddc ("x86: move exports to actual definitions") 22823ab419d8 ("EXPORT_SYMBOL() for asm") ... and sorry about coming down on you and Marek! I've Cc:-ed Al. I think what happened is that 22823ab419d8 and 784d5699eddc caused the boot regression (modular builds with modversions enabled not booting), and your fix half-fixed it - with the remaining fix (that adds the header to x86) fixing the rest. Still the fact remains that modversions was broken in -rc1 which delayed testing done by a number of prominent testers. :-( Thanks, Ingo