Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3667397pxb; Mon, 24 Jan 2022 14:53:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWOZhbQIveqcIo2EuVjXoZNTL/wGPRus6ca1eamaVj6+YpKnH7VQL/aG5u+szIKNjQrkWw X-Received: by 2002:a17:902:9348:b0:14a:1390:5e1b with SMTP id g8-20020a170902934800b0014a13905e1bmr16354882plp.149.1643064830690; Mon, 24 Jan 2022 14:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064830; cv=none; d=google.com; s=arc-20160816; b=SMsiQN2tlyc+gmoe3FA/WyQxYdkbgzxV5DmXste0B4pSLNAGu28bG0KwQ6ebCOpqNu k7iHfQXS9Kvg50OVsrc8L1LKrb9F1CdNxAfBtMfZHCmrHkstS5aOBjtE5V7QI4nTtzwl S6QJUpSZl4cL0Sul9zSf5OgjwnoOtyoUqN4a77SnwnG4utAfzS9NPWi/G05r3GlUJa88 9rrRbvmfR3Nq7UWa8b4pxiDCBwikHUTFggvNXKD0ILg5GkY5kx3MSex4a5p00LoQ+S24 q9VNfvwAXIa58sKZKVjDTuKqcpKdaDkEKDSE594naVlAHqHv2kNbJv4qvlqPS7MOyWHA byOA== 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=9CYAsoaQ7lZ2cTb8L913yJF9mxQX8+6/Eq6680ZHazQ=; b=Iwr+uRSHDlX4hZ15QeDa+jKbiQWYC4Nf04pO4CaiXQRPHGal/U7JehGWj/kJWje7lx NlNQND0OobxeKqBIuZt5G+Yg+I9018zl2dqJ8abAXiLGm7To7/ZJv4Gt96h9zRF2DZvM ewt3PUwPALK/QORFAaoTsplXiDGPSuo8EIv4mefEiUVvOAG0AmIJsvVbtKX+dmZ1U6zG rADeYIbTNhdssFOmZD3NXasTmXTzdCC0oYgwxu0TEhirM0OOZTmhASib6LOBOP6I/Vhx D4vbfDsdsVe5sWRGj8ovufk3GevNAJR96I36PmPJE3VZyOQ9C7/fDFoEnUsUYWRMeGl8 R4Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nbK742EC; 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 s142si14857010pgs.337.2022.01.24.14.53.39; Mon, 24 Jan 2022 14:53:50 -0800 (PST) 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=nbK742EC; 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 S1382086AbiAXWsT (ORCPT + 99 others); Mon, 24 Jan 2022 17:48:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1458140AbiAXVmr (ORCPT ); Mon, 24 Jan 2022 16:42:47 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C210C0612AB; Mon, 24 Jan 2022 12:30:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 38EAEB8119E; Mon, 24 Jan 2022 20:30:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66175C340E5; Mon, 24 Jan 2022 20:30:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643056238; bh=PqkSAnQ+TpeSlwQ/kMZ40aT8mDkYSbgSAXARGL2d10c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nbK742EC7MX3q1EmVOxibw0TKWYSA0TTMmSBbhhVpKx6YtuuxJmb3mYGcA9BrmS8B 6pb9k7H40Kh6Crg/TjSmJ1CFPuMY0WYu/2YFmruGi07l/Bqzk1rnVQuX3tkxX1+bJf s7j9xYghxOvpB+aajC16F6g4uxxuoZTEx+Ins+4U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Lukas Bulwahn , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.15 417/846] mips: fix Kconfig reference to PHYS_ADDR_T_64BIT Date: Mon, 24 Jan 2022 19:38:54 +0100 Message-Id: <20220124184115.362381445@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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 [ Upstream commit a670c82d9ca4f1e7385d9d6f26ff41a50fbdd944 ] Commit d4a451d5fc84 ("arch: remove the ARCH_PHYS_ADDR_T_64BIT config symbol") removes config ARCH_PHYS_ADDR_T_64BIT with all instances of that config refactored appropriately. Since then, it is recommended to use the config PHYS_ADDR_T_64BIT instead. Commit 171543e75272 ("MIPS: Disallow CPU_SUPPORTS_HUGEPAGES for XPA,EVA") introduces the expression "!(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA))" for config CPU_SUPPORTS_HUGEPAGES, which unintentionally refers to the non-existing symbol ARCH_PHYS_ADDR_T_64BIT instead of the intended PHYS_ADDR_T_64BIT. Fix this Kconfig reference to the intended PHYS_ADDR_T_64BIT. This issue was identified with the script ./scripts/checkkconfigsymbols.py. I then reported it on the mailing list and Paul confirmed the mistake in the linked email thread. Link: https://lore.kernel.org/lkml/H8IU3R.H5QVNRA077PT@crapouillou.net/ Suggested-by: Paul Cercueil Fixes: 171543e75272 ("MIPS: Disallow CPU_SUPPORTS_HUGEPAGES for XPA,EVA") Signed-off-by: Lukas Bulwahn Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 0200ebb7a0144..393eb2133243f 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2161,7 +2161,7 @@ config CPU_SUPPORTS_ADDRWINCFG bool config CPU_SUPPORTS_HUGEPAGES bool - depends on !(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA)) + depends on !(32BIT && (PHYS_ADDR_T_64BIT || EVA)) config MIPS_PGD_C0_CONTEXT bool depends on 64BIT -- 2.34.1