From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1A651DD0E1; Thu, 5 Dec 2024 10:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733392905; cv=none; b=cSRlKZfYGZ2laAlC2TFi33wvRFcVn4gxYghQHl6MZr6TZMRmrgwVF3yTLBL1i+zWYGpIMNnMLULPFqGyMLcmP4Srwh10oAnLV5tjsq7YRoiIbB1udB21K7Y2vaPg/wrL3HRs+5NNvL7ZEhuI/iadWDeZZsQpF2kXq7WqQ8vRhFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733392905; c=relaxed/simple; bh=EzD36BPk1VbJF9ybvfWC8jAXoylXlbjsVSvCcIwAPbo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fbX5uPHjefpcvDZkbe5yL2+nMjqtoRBT/LofhFbS8oKeJ7NEMG42AhJXmK44Y8KTliRK52R72vb8wBurkk5jA1N3n+97o2HiO2OEnZ/CbfpkODeecPt3evHgGReg/iEZYgRx2jSgiwHIFxYRRmvvzVgYxMdi+ODLJIlZu4nBGHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=fail smtp.mailfrom=kernel.org; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-CSE-ConnectionGUID: 6hQCuTmoQjiTPWS+K5E49w== X-CSE-MsgGUID: /9pMUYu8TbiA89rB826BTg== X-IronPort-AV: E=McAfee;i="6700,10204,11276"; a="33940069" X-IronPort-AV: E=Sophos;i="6.12,210,1728975600"; d="scan'208";a="33940069" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2024 02:01:44 -0800 X-CSE-ConnectionGUID: UgUVTmBTTVuDOvGLCY3YGg== X-CSE-MsgGUID: LDL4sI8aS1C3mG+nBOD+hQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,210,1728975600"; d="scan'208";a="124863533" Received: from smile.fi.intel.com ([10.237.72.154]) by orviesa002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2024 02:01:40 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.98) (envelope-from ) id 1tJ8fw-00000004346-1y7A; Thu, 05 Dec 2024 12:01:36 +0200 Date: Thu, 5 Dec 2024 12:01:36 +0200 From: Andy Shevchenko To: Arnd Bergmann Cc: Linus Torvalds , Arnd Bergmann , linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Matthew Wilcox , Sean Christopherson , Davide Ciminaghi , Paolo Bonzini , kvm@vger.kernel.org Subject: Re: [PATCH 09/11] x86: rework CONFIG_GENERIC_CPU compiler flags Message-ID: References: <20241204103042.1904639-1-arnd@kernel.org> <20241204103042.1904639-10-arnd@kernel.org> <66fefc5a-8cd9-4e6f-971d-0efc9810851b@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66fefc5a-8cd9-4e6f-971d-0efc9810851b@app.fastmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Dec 05, 2024 at 10:46:25AM +0100, Arnd Bergmann wrote: > On Thu, Dec 5, 2024, at 00:33, Linus Torvalds wrote: > > On Wed, 4 Dec 2024 at 11:44, Arnd Bergmann wrote: ... > I did come across a remaining odd problem with this, as Crusoe and > GeodeLX both identify as Family 5 but have CMOV. Trying to use > a CONFIG_M686+CONFIG_X86_GENERIC on these runs fails with a boot > error "This kernel requires a 686 CPU but only detected a 586 CPU". It might be also that Intel Quark is affected same way. > As a result, the Debian 686 kernel binary gets built with > CONFIG_MGEODE_LX , which seems mildly wrong but harmful enough > to require a change in how we handle the levels. -- With Best Regards, Andy Shevchenko