Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1617421pxb; Mon, 11 Oct 2021 09:34:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2UsIDO2/KUL2ZAq1oOH0895UCPDws0dLLOtCNU8EH7Wlyk9I82dBopy9BChRlHzTAwJwG X-Received: by 2002:a17:906:ad98:: with SMTP id la24mr27604978ejb.383.1633970063893; Mon, 11 Oct 2021 09:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633970063; cv=none; d=google.com; s=arc-20160816; b=kHZmpUblxpeo4Yw2NclbbhiVnRfC9vtRula3xeZyPCdk+ObsqREudLMZKnP7QMIbh3 mxSkU+uLSDIAtjN/czuLQFCgjHQDgY27OAMJ3bDrR2rVq5i3wmL0wYQsDJA3JkwT0XdO iyLNx+lXbfsrCw+rwV8a3kvzSd6bMYtxN9fp9rVrTrHqxCYSBCZVdnjeA9PenjC06jOC Wbj6vSSJ2BV9lGBUGO9Ycvc+5A6TXdvMPoMUXAyB2mVNsr/6RIWj44ZrIZMpgVxzMY9X xhr+8ONYahPXtRoWZ9CKvctjxgUFOWVlDNw80JbZBuD2YXPz1CRp/Lx2TDAXsAy1xbyP f9bw== 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=0hzhBqvsZUvOmFtk5BM8vinfLJaxe1NChJXXfyZ8Db4=; b=C+pHTmpoc/qBux7cHOMTu5PITp2MFhQ3fLkmCbAn/5bMTQEDZnjUPQlGGuGyOSJp6l 3qmzyXW1k7NQ8GrRkaA+7iGPonXP8QqVVk+/Xl3mIKXrxCn0nEAehSqQT8OUVG3XAhmT Zv7XY2jgxGN93gpTa8ukmB7ln6Tf2y6gt3WGPT3IB8ZwG7oViJZYrmQvavY9tPnANcuq s2dubInXcL/xMUFCQqxAa3A4IUjZL0cutJeCdKhh9E818lZeC3Nqd3YqeAZncmFQ+APA iziCsmnDv1zhmam/GqkDS8VEy/RnkR6dkoedvlTe7UiMMMBabER5Y0uIFK2DAi1y+i6r SoGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=H9KsCTCL; 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 p9si12193598ejg.760.2021.10.11.09.34.00; Mon, 11 Oct 2021 09:34:23 -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=H9KsCTCL; 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 S237593AbhJKOAi (ORCPT + 99 others); Mon, 11 Oct 2021 10:00:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:50358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238349AbhJKN6f (ORCPT ); Mon, 11 Oct 2021 09:58:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0864D61139; Mon, 11 Oct 2021 13:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960507; bh=ZbsChyw+fGygR5q1mikP+KqK1FYZRyUfjelgDtPnbNg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H9KsCTCLy1Yjm4++unIpfaRe+QVQMHf4WkFbP9rjaNU+d8F/QkPLb2g0wPL5py8n+ p1c7Hg9bDDzsVGuKyfVjlA3uavzZZngsXnoeaUNk74gfZyREHDsKkhIS8+jkhugoZM q1HHuDuXgiu3W96QBfKdb74X8vejtqGZQd8AkSUs= 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.10 80/83] x86/entry: Correct reference to intended CONFIG_64_BIT Date: Mon, 11 Oct 2021 15:46:40 +0200 Message-Id: <20211011134511.130340692@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@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 @@ -24,7 +24,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);