Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp204039pxk; Wed, 9 Sep 2020 03:15:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXJc0YF9BXbt/Sa2LoUnSYSsc0OZb9LtDlCSOlsIvjTs23CNjetTCrfOO7k+4LXICCg0Xt X-Received: by 2002:a17:906:b7c1:: with SMTP id fy1mr2785200ejb.342.1599646513156; Wed, 09 Sep 2020 03:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599646513; cv=none; d=google.com; s=arc-20160816; b=G/4HQyRCFXKVE7jQMkXJ55nbetE9OT1tGQyuTIwAnpZdvdwEEI7QR2ZzH3qVnyDdFH UROBhvQmxBZgkE73yvLoplPKuKrPuDB+JIuOhPkc8KW6lbfX9LmtPLOgKoto9XbyS57/ sL2ufaVIPsUOZ9Wq2rfkuW9u8t92NDmeuDDTdFCXXpou4jTZ3a5zYa/NF/qh1tOjdx3K xoXp/m8xtwy/FJ19RAhg6AKULnvYvWgZy0rI3/kjAVzTAnoEYbROnjDC3vAbSQk9mUpX KNkpPdrEJfcMdKSJUabqQx/pbVYCo8RaZfFUEB87kMssRJKpKrKYkXtfR9JOXJZDjlVt nX0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=z7/ACDiGNRoiM74XZbOmxQOD2xz8IiNxqVuB6/1Vi7A=; b=VzH1eIjJCPdvU7fKrX4sSJFLKpeIxroBTYvZexMPrwYXvolMMB5SYdoADCcSLvTUiS r1htifRPY56x5qEvoMvdOvC8P9PE0myRprW4kLbCI4+NkXlLe0TVodNQdHHTyNm2qA+B AN7qPHoXq8SDbHDDs2gkg39JBAc+qX8g6bwV7j+51HFrbGg0OYZlBqnOWRlFN/H5HpQt 62Fd90hO9JY1sVPu2RQOR4C/qA3qMWt12kxAL7+lnvvDP7/Xr2PQ1OtYSw2GY/byFRLn TYTJMYSgwPiOtEo6NrDaZOZdpuar5WNqLvq7cg/H2CtopFdf94WTD399CaAcDCV/fScQ BF8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si1168480edr.490.2020.09.09.03.14.49; Wed, 09 Sep 2020 03:15:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbgIIKOJ (ORCPT + 99 others); Wed, 9 Sep 2020 06:14:09 -0400 Received: from mga03.intel.com ([134.134.136.65]:30037 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbgIIKOH (ORCPT ); Wed, 9 Sep 2020 06:14:07 -0400 IronPort-SDR: 2nUnpAlrgAPWkeB0jDBWXA3HQIx8GDUK/pWDw3PdEGsMyTIvYOoCSn8rW3b0R8hMchnCDe+iYu wT8CegQfavhg== X-IronPort-AV: E=McAfee;i="6000,8403,9738"; a="158336274" X-IronPort-AV: E=Sophos;i="5.76,409,1592895600"; d="scan'208";a="158336274" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2020 03:14:06 -0700 IronPort-SDR: 9MLrFPgsHmD4O0iz4AOWMMiE6QF6obCTq6Ip19VnTYxyNZl3Rndi09HcCruxytFUH128rw9S29 Tl/VZoaf/zwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,409,1592895600"; d="scan'208";a="333771047" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga008.jf.intel.com with ESMTP; 09 Sep 2020 03:14:03 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kFx72-00FPka-Jr; Wed, 09 Sep 2020 13:14:00 +0300 Date: Wed, 9 Sep 2020 13:14:00 +0300 From: Andy Shevchenko To: Ingo Molnar Cc: Masahiro Yamada , Arnaud Lacombe , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, Jarkko Nikula , Tony Luck Subject: Re: [PATCH v1] x86/defconfigs: Unbreak 32-bit defconfig builds Message-ID: <20200909101400.GK1891694@smile.fi.intel.com> References: <20200908100018.50188-1-andriy.shevchenko@linux.intel.com> <20200908121354.GA3848343@gmail.com> <20200908134350.GX1891694@smile.fi.intel.com> <20200909080020.GA2437694@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200909080020.GA2437694@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 09, 2020 at 10:00:20AM +0200, Ingo Molnar wrote: > * Andy Shevchenko wrote: > > On Tue, Sep 08, 2020 at 02:13:54PM +0200, Ingo Molnar wrote: > > > * Andy Shevchenko wrote: ... > > uname => x86_64 > > make i386_defconfig > > > > It was very convenient to not supply ARCH when build on multi-arch host. > > Nice, TIL about the extended 'make *config' targets. :-) > > Curiously, they aren't even mentioned in the 'configuration targets' > section of 'make help' and are not discoverable unless you know their > locations. > > Anyway, your fix makes sense now to me too. I see you applied original patch from Daniel. > Do we need a similar for x86_64 defconfig, when built on 32-bit hosts? (not > that anyone does that in practice, but just for completeness.) I never heard about such use, I consider it more academic rather than practical. > Also, it would be nice if there was a way to annotate the defconfig for > 'make savedefconfig' preserved these ARCH choices - it currently strips out > all non-enabled options that match their default configuration value. Hmm... Yes, perhaps it would be nice to have such an exception. -- With Best Regards, Andy Shevchenko