Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2476390pxj; Mon, 10 May 2021 04:02:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEJS0ovM/0QeOUEo8U6JA7hvt2uAA7ZWxsNT61k1GgT86LeakFmqgUutVqmLPPyhRPcNP9 X-Received: by 2002:a1c:988f:: with SMTP id a137mr25653313wme.81.1620644570244; Mon, 10 May 2021 04:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620644570; cv=none; d=google.com; s=arc-20160816; b=cEYVeAt94lOySx76eeIZqtNVC6bPQ/ksxJbDsuxvh8+oi9tJ/2ZC3xZojpruwe46bS x6lErkHNrKMeCFbTwSUSrbZOFTzfFj00+YbNGE2aWFLtOCa136QlqV6Ks150LSgQW2Q0 5IgRhSVG3iOJvLUrSM6ss1NMGRWYJXot0Cd7ZOgMxHA3LarpbeKznEhs5Yg4O9AMw30I +DXvZDHMohnFWAC1e51ru0Pw1kyyXKvLxzPiHN+3dYBHpU15B6U1ACszJ5vElg23LLGp SG+vsJ9AF0OfDL6Y84CpeEmCO/xalGqHRwvd5i+0fEZXi3HLBn2K0D9BTHJSk9koKRfL cUFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LdKzNAE2c7PpVFHYAFBjL5eLcteR0ebzoViPDiRv+J8=; b=YB4ipc8l0eL64xgp1t5NuvgqZXPJM2OzFAgBbUWCOlFV9oKO0ZFWjXZV4lByzV1NIl 0/mMSqN3N3PSknBDN2HMO6EF/bx1Awly38Q99BB+HQzR8AEAGOYNMhGpZkl7p0DtVdju /vF51IhGPrnNz3c5HEzQuVcZ/8JaFE1myQ+4N1i+qKVGqylB65k8TfcdrGpzRDP3DRWw WeElApAiKeLde3rDbjGRvUiywrSJM083pFhGoqL8R0dPz9WDUzPR7o6pBDp0k83d6orR CBHsaynQYDsAHQqvWGIQhTG/SFWh3CcHkcR0G3uGLQowNSDzKXW/UmAac7c/Ioyuf1Ev +bCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tyuJJ+aC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si12472497ejh.370.2021.05.10.04.02.25; Mon, 10 May 2021 04:02:50 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tyuJJ+aC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233759AbhEJK7r (ORCPT + 99 others); Mon, 10 May 2021 06:59:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:52756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232465AbhEJKoR (ORCPT ); Mon, 10 May 2021 06:44:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6AA6061955; Mon, 10 May 2021 10:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620642787; bh=qX4aE552V+ZvGDRJEDKE+hMFqE8Nie1wKexkE0JbW7Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tyuJJ+aCjnKJDSUfEIR3SfAA4OKm70wBSXl04iVXhouEq0+cIXugUxqdf2/NWbwGx y4WVkb8Pc9b3j0Iu+6xbh6K94GEFWjFnOfB7lbcwxk+xpirvFv1ZLZ7jGccQbKMuSE AFYBRQFgTjyJRi/wo3Qfu3xqQAV3RSP8fyTBfcuE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Maciej W. Rozycki" , Borislav Petkov Subject: [PATCH 5.10 044/299] x86/build: Disable HIGHMEM64G selection for M486SX Date: Mon, 10 May 2021 12:17:21 +0200 Message-Id: <20210510102006.315682255@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510102004.821838356@linuxfoundation.org> References: <20210510102004.821838356@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maciej W. Rozycki commit 0ef3439cd80ba7770723edb0470d15815914bb62 upstream. Fix a regression caused by making the 486SX separately selectable in Kconfig, 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?]: [ bp: Massage commit message. ] Fixes: 87d6021b8143 ("x86/math-emu: Limit MATH_EMULATION to 486SX compatibles") Signed-off-by: Maciej W. Rozycki Signed-off-by: Borislav Petkov Cc: stable@vger.kernel.org # v5.5+ Link: https://lkml.kernel.org/r/alpine.DEB.2.21.2104141221340.44318@angie.orcam.me.uk Signed-off-by: Greg Kroah-Hartman --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1414,7 +1414,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