Received: by 2002:a05:6520:1682:b0:147:d1a0:b502 with SMTP id ck2csp5597180lkb; Mon, 11 Oct 2021 09:39:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz27oHCu5Itvnm2ggSVh+VwqFFX988G+uDD7sXIUOS91bAd/C3QKAto5cxVEYbnfVypetl9 X-Received: by 2002:aa7:c6d4:: with SMTP id b20mr21010422eds.270.1633970384143; Mon, 11 Oct 2021 09:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633970384; cv=none; d=google.com; s=arc-20160816; b=UXpz+Qd/qh2wK96chxI0Af0AT/I2E+xzhH628TFjmbhTm8JwyMRCNaQB3jpLvaLZrj pkMaDYkFAnDntyLeAqoFiTLKJ68kWkftcB/RxpPR01MfeOrXjBGGdYckEZGlwajb6v1L TRNdX2R2XJ4rVALwF6BGewgw8H02scRDwNgjXKwjuNbTIuMt4P4shP81KjUUh4rg6con YCz6rXEpM1NG4r0y44GlP2DL1EXpgMb1SKpEp2LJBXakPc/JNzbt/2C32c3OyakihO65 pD3SLlYVpns/r+VBCqz2Zp87mTqG9po9P/lWBDKBQ3hgZH902sOhByTZyGcZESNj7Mab DjEw== 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=VU3c4ts6tEm+vaXWDD9nkxECWpMnFsRSJOjCQ/DGjDE=; b=G2auNvfCv/N8YqyVMxjtD8ltLwQhUKzrN2vr4akKOCZT1Ln9+lQNDsPEtyCS/RIupt 0tvcy35UvIBU8PGnO/lG2FY7PKzxmP2rnOTaDv14AyX85Glvtta6WMWhBiBm8jtbjp1e I64F3qsEHW6RvLTZxgLc8tM0pKT+/WfkTlsGWOXMtezN0AWV9doyJhAWYswF8/WdilVX jU6VdtHmllJ38R27PHiTw/cXE386DnfE0hEuYnXb1yRTalMJXwhSCDj0XmXx6H2HPBIu CTAzu+kPhEBofzZu1FmeOzS/tOgK2QIAYQdx6QfGf2UbuSZXmpxiXFGB68/+dbZ4jEuo GEJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EnytXYeL; 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 s7si11205377ejs.402.2021.10.11.09.39.17; Mon, 11 Oct 2021 09:39:44 -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=EnytXYeL; 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 S241991AbhJKOPp (ORCPT + 99 others); Mon, 11 Oct 2021 10:15:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:33824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243893AbhJKON1 (ORCPT ); Mon, 11 Oct 2021 10:13:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A11F611ED; Mon, 11 Oct 2021 14:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633961061; bh=ggH7GQurVOeiMLFk9ni1YWA/jbFlF6TZe4TriG+O3EU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EnytXYeLAbgpoDY0woQssaWYzilnFdTUbvS8/pMMcpFRDAHieDawqQu7I76rJJUEO EZwL6db0x983CtIsg/4AX4npJ/bo8TAfduGiwPNtcNdxR22hgFiYbpcY/nLxzy2Bkq 6j4iPOoXi1FTdJcwkt4Th9GMmnwEcSlxOSSeRpx4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Lukas Bulwahn , Borislav Petkov Subject: [PATCH 5.14 148/151] x86/entry: Correct reference to intended CONFIG_64_BIT Date: Mon, 11 Oct 2021 15:47:00 +0200 Message-Id: <20211011134522.612820816@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134517.833565002@linuxfoundation.org> References: <20211011134517.833565002@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: Lukas Bulwahn commit 2c861f2b859385e9eaa6e464a8a7435b5a6bf564 upstream. Commit in Fixes adds a condition with IS_ENABLED(CONFIG_64_BIT), but the intended config item is called CONFIG_64BIT, as defined in arch/x86/Kconfig. Fortunately, scripts/checkkconfigsymbols.py warns: 64_BIT Referencing files: arch/x86/include/asm/entry-common.h Correct the reference to the intended config symbol. Fixes: 662a0221893a ("x86/entry: Fix AC assertion") Suggested-by: Randy Dunlap Signed-off-by: Lukas Bulwahn Signed-off-by: Borislav Petkov Cc: Link: https://lkml.kernel.org/r/20210803113531.30720-2-lukas.bulwahn@gmail.com Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/entry-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/include/asm/entry-common.h +++ b/arch/x86/include/asm/entry-common.h @@ -25,7 +25,7 @@ static __always_inline void arch_check_u * For !SMAP hardware we patch out CLAC on entry. */ if (boot_cpu_has(X86_FEATURE_SMAP) || - (IS_ENABLED(CONFIG_64_BIT) && boot_cpu_has(X86_FEATURE_XENPV))) + (IS_ENABLED(CONFIG_64BIT) && boot_cpu_has(X86_FEATURE_XENPV))) mask |= X86_EFLAGS_AC; WARN_ON_ONCE(flags & mask);