Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4598437imm; Fri, 18 May 2018 07:42:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpGAejeMX5rWMJ9cyuJy2GKdUx+Uw31KrjrUC8DI7sMkChaaxytXK9k4NVQThTqmVtrFhTC X-Received: by 2002:a63:7e08:: with SMTP id z8-v6mr7747350pgc.383.1526654573315; Fri, 18 May 2018 07:42:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526654573; cv=none; d=google.com; s=arc-20160816; b=vdOks0NxetXTOxYo+Ps9uzuOsLn5G2r5C9XP7/F8w6sEh9+2aHONAhKoFJk+t7EXk1 Knl5TejMtcpJlkcut6YTQn4leuWaHBX+Y4BjxkvY+xu9KyYLkTxDCdDQF2pOBsxfAekN gmpoza0AyhkUI1a4riHPUAxU1z/2zCaVjrfYLV4r5tGSx/7POLljhGtTDUIqwMxjMlK6 5r8IdB1FA0pFsewEAfZehswNHKBuaCn1K50YZQRjIocIBdyMx+ihqIucwC0zbA5dLoKA MGu+4gZnIunnk5xOZFSQ4OkHlgkJtE9TkNxmURifGImyiPlVldkK5vDoUvMmtOvysrEz wxTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IJDUKkGhBVUmU/BlAPRiycdiVjp/t73Ok+Hj9QV0+UY=; b=DT3S4gmwzjSHwYieiwmPItQYc3kOkIhWTO61MfnmK5Wz0sayD7v3yeqqRUg1hjs+RU s51WTqZOd97As7s1J6W/0yhlyV3865NbaM2DZK7/laVGLGYFTeYoyTGR+aa/nlYCopRw R6WbeaQBcuK+9LjDgPI7KHUWlqvwdRn4Mfx9bY2lhE9Tbtz3+3qbqPngno1f9gEFCtHr wY9P0co3d8pjkeee/OFhc0X0nOiUXs06amckgyIv/ylyOxR5kcMC7AEKIwYs9/OZRY+O OYb4uW7uS/9y7sAwUfSHM3zKjVoWXN8hWlE8wxP4GLPUO9OHRnNz7Sh91+s20nBCnbsX ekjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8-v6si7290895plt.29.2018.05.18.07.42.38; Fri, 18 May 2018 07:42:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752284AbeEROks (ORCPT + 99 others); Fri, 18 May 2018 10:40:48 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54164 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751957AbeEROjb (ORCPT ); Fri, 18 May 2018 10:39:31 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8E1F5165C; Fri, 18 May 2018 07:39:30 -0700 (PDT) Received: from approximate.cambridge.arm.com (approximate.cambridge.arm.com [10.1.206.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A15703F24A; Fri, 18 May 2018 07:39:28 -0700 (PDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Will Deacon , Mark Rutland , Russell King , Vladimir Murzin , Vince Weaver , Peter Zijlstra , Stefan Wahren , Eric Anholt , Florian Fainelli Subject: [PATCH v3 3/5] ARM: Make CONFIG_CPU_V7 valid for 32bit ARMv8 implementations Date: Fri, 18 May 2018 15:39:11 +0100 Message-Id: <20180518143913.26306-4-marc.zyngier@arm.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180518143913.26306-1-marc.zyngier@arm.com> References: <20180518143913.26306-1-marc.zyngier@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ARMv8 is a superset of ARMv7, and all the ARMv8 features are discoverable with a set of ID registers. It means that we can use CPU_V7 to guard ARMv8 features at compile time. This commit simply amends the CPU_V7 configuration symbol comment to reflect that CPU_V7 also covers ARMv8. Signed-off-by: Marc Zyngier --- arch/arm/mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 7f14acf67caf..86550040de19 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -402,7 +402,7 @@ config CPU_V6K select CPU_THUMB_CAPABLE select CPU_TLB_V6 if MMU -# ARMv7 +# ARMv7 and ARMv8 architectures config CPU_V7 bool select CPU_32v6K -- 2.14.2