Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp292636pxb; Wed, 14 Apr 2021 15:49:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJF4aCEcDeZP252W9eKS7tr6xyOZvwdlW2xwlmhm5uC0grUfM7imga2jG8ER0immllNMk8 X-Received: by 2002:aa7:828f:0:b029:200:6e27:8c8f with SMTP id s15-20020aa7828f0000b02902006e278c8fmr251267pfm.44.1618440573056; Wed, 14 Apr 2021 15:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618440573; cv=none; d=google.com; s=arc-20160816; b=1AGiv2XBQ/rnOgvUvo/MtBMElPsYhCnh8D7L4AEsUwUfCEwMPnnspmGxZfX4dg4eYX hyBB0RUpkIdEn7EOQejWYnyJaacAQWzzZl9fLaQCh209lBiP12dUx8YnHNxfcdZg1070 PAe84RpEz1jboCG+MzCxT5u9v5OHt+R1ZXdBe2HGD0kfqV9jDlEZxqSDLxDm+tF9TLKP GwmcAFWU3OIFdd7kikHxYHg8gomyMFylacpqQkubU+EGc2ewJ1J2IIyqHolDEBiGhsRA irGiNolLdmD0+WQS6kvXpJhMMi/Vac70Lz7t4Srbl/5eyDUk17N3Wv/07Pifl/HOIh7f mgrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date; bh=khP+i+Q2vu+4KUZP5VOY1HJZaBYqrLailv3H4enAeHo=; b=ZsBwuyZzNdrgRM6qSCVuz6u1bpNh8W2IVq4kP6JgpsVFHBPFpzKJHms7pQyjBaEJJ7 VyWofYCNirAU7xvm3GoVsEQF7irFao2925lgJLWsaVr6QTPcKjNRZVv5kwSqzXfUW7K6 0feMUuZ9itCAYxuSff7s/hgxqvlx6CrYZ34TnJquH4w3WkXHkPPGztd6z8cDN2B/s1vj CthcQagiYCww4+ScRVKM+pClP1B7C+SFxNqbH0Tbr1shLfh0141pZJ5fCUk0yNNFHjhY /BjL+FGqXZp0bo5T/cziQ6wvl2isixW69to8z0N2k8RYWUfKNO8JJNcWHqpdO158Ob6f KrNw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o34si1055813pgm.209.2021.04.14.15.49.20; Wed, 14 Apr 2021 15:49:33 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233948AbhDNKjM (ORCPT + 99 others); Wed, 14 Apr 2021 06:39:12 -0400 Received: from angie.orcam.me.uk ([157.25.102.26]:38866 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233885AbhDNKjA (ORCPT ); Wed, 14 Apr 2021 06:39:00 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 4E4BE92009C; Wed, 14 Apr 2021 12:38:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 3F46092009B; Wed, 14 Apr 2021 12:38:28 +0200 (CEST) Date: Wed, 14 Apr 2021 12:38:28 +0200 (CEST) From: "Maciej W. Rozycki" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86: Disable HIGHMEM64G selection for M486SX Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a regression caused by making the 486SX a separate processor family, for which the HIGHMEM64G setting has not been updated and therefore has become exposed as a user selectable option for the M486SX configuration setting unlike with original M486 and all the other settings that choose non-PAE-enabled processors: High Memory Support > 1. off (NOHIGHMEM) 2. 4GB (HIGHMEM4G) 3. 64GB (HIGHMEM64G) choice[1-3?]: With the fix in place the setting is now correctly removed: High Memory Support > 1. off (NOHIGHMEM) 2. 4GB (HIGHMEM4G) choice[1-2?]: Signed-off-by: Maciej W. Rozycki Fixes: 87d6021b8143 ("x86/math-emu: Limit MATH_EMULATION to 486SX compatibles") Cc: stable@vger.kernel.org # v5.5+ --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) linux-x86-highmem64g-m486sx.diff Index: linux-macro-ide/arch/x86/Kconfig =================================================================== --- linux-macro-ide.orig/arch/x86/Kconfig +++ linux-macro-ide/arch/x86/Kconfig @@ -1406,7 +1406,7 @@ config HIGHMEM4G config HIGHMEM64G bool "64GB" - depends on !M486 && !M586 && !M586TSC && !M586MMX && !MGEODE_LX && !MGEODEGX1 && !MCYRIXIII && !MELAN && !MWINCHIPC6 && !WINCHIP3D && !MK6 + depends on !M486SX && !M486 && !M586 && !M586TSC && !M586MMX && !MGEODE_LX && !MGEODEGX1 && !MCYRIXIII && !MELAN && !MWINCHIPC6 && !WINCHIP3D && !MK6 select X86_PAE help Select this if you have a 32-bit processor and more than 4