Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2222123imm; Thu, 21 Jun 2018 09:01:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKvqvwqRjpqPifL2a5+W9srEBnyI+SImBRKsrIlYFu/LQ3xDaPIiGag+L/PVV4amm2bmKyM X-Received: by 2002:a65:4005:: with SMTP id f5-v6mr22169751pgp.302.1529596883318; Thu, 21 Jun 2018 09:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529596883; cv=none; d=google.com; s=arc-20160816; b=VhwZTb6iW9XQPO+rHi6tGEDX3vVtW62vxt0RFaE4Alu5DUjBp7oXGzixHA2Ly5bL31 uFApYpO5+v/Jeh2KQPCpzOeZ3GKDv1SyoEUD1NBi+BlNuAEism6NxXUFhuDQO2eifh9N nK9yPqniqSha6MrG0zJOC8/iY3tzeIWq0KO4vnyp6Ev4bahVFyHBzgUZ66AJ2wflhUsz cM3wA6OG/Eh9Fehj9GLcNyepOzMnQRh2KqhDAjpnCeg4TPbHAA29NTu5Uxewa4e26kOc 5YcKf6iclA4wOVGJmHBd9+YI3mYVkBReA01IFdLJ+dVZZhsvErJyEfe+EzC2+wZn5g4/ LpnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=ndwL9FCcZ1fkG5liMlBjTvQAFmgHlABSHrO/8QaCJUQ=; b=G2qv2gyRGXsjEmb1BVFSjFkt22s21TCNm57fL4uOT+UW0kQPiRIiVzHjNFGhKBzNSI t67jRHwteWb65nIWX31hXu1gvmYMUWsVCq7BCA8MdERrE2ExKR64vnKrk5rI7oHAHyh7 MjOm5dDM0LYknBAc+g90KkVBigtl2+aF9OypojFvfffMSRrsOAxY0NgHc5rh87m0m+XJ 3oGq4KhHt3HP1abZvkCseUX1/MSOzSWXAYbjdJGKSKWrYoz7cuEO9cHrDCpE1g0YG5wJ PCBeOdbz2dXH+YZ3jECrtoWnmWQ10veW1cGwR9HlNyQwLbnpH/0R5CStn7bhXM20E+Ui gB9A== 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 o33-v6si4979654pld.170.2018.06.21.09.01.06; Thu, 21 Jun 2018 09:01:23 -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 S933372AbeFUP7M (ORCPT + 99 others); Thu, 21 Jun 2018 11:59:12 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:39020 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933218AbeFUP7L (ORCPT ); Thu, 21 Jun 2018 11:59:11 -0400 Received: from ayla.of.borg ([84.194.111.163]) by michel.telenet-ops.be with bizsmtp id 1Tz71y00o3XaVaC06Tz72i; Thu, 21 Jun 2018 17:59:10 +0200 Received: from rox.of.borg ([192.168.97.57]) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1fW1zH-0002fs-RM; Thu, 21 Jun 2018 17:59:07 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1fW1zH-0003LW-Om; Thu, 21 Jun 2018 17:59:07 +0200 From: Geert Uytterhoeven To: Russell King , Greg Ungerer , Chris Brandt , Nicolas Pitre , Arnd Bergmann , Vladimir Murzin , Simon Horman , Magnus Damm Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] [RFC] arm: Replace "multiple platforms" by "common platform" Date: Thu, 21 Jun 2018 17:59:06 +0200 Message-Id: <20180621155906.12821-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "ARM multiplatform" has actually two meanings:   1. It groups platforms that follow the "ARM multiplatform" software framework,   2. It allows to build a single kernel that can be booted on multiple      platforms. Currently support for XIP and/or NOMMU cannot be enabled on platforms that follow the "ARM multiplatform" framework, without duplicating their machine selection logic under a new Kconfig symbol. As (in theory) all platforms can be used with XIP and/or NOMMU, this is not sustainable. Hence clarify the meaning of ARCH_MULTIPLATFORM: 1. Replace "multiple platforms" by "common platform", as it allows to select one or more platforms adhering to the common framework, 2. Note that a single kernel may not boot on all platforms if XIP or NOMMU is enabled. Signed-off-by: Geert Uytterhoeven --- References: - "[PATCHv4 0/4] arm/versatile: no-MMU support" (http://lists.infradead.org/pipermail/linux-arm-kernel/2018-June/584555.html) - "[PATCH 0/2] ARM: ARMv7 (with MMU) XIP without ARCH_MULTIPLATFORM" (http://lists.infradead.org/pipermail/linux-arm-kernel/2017-February/486835.html) arch/arm/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 54eeb8d00bc62a9f..6b286c018cf748c7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -329,7 +329,7 @@ choice default ARCH_MULTIPLATFORM if MMU config ARCH_MULTIPLATFORM - bool "Allow multiple platforms to be selected" + bool "Common platforms (\"multiplatform\")" depends on MMU select ARM_HAS_SG_CHAIN select ARM_PATCH_PHYS_VIRT @@ -342,6 +342,13 @@ config ARCH_MULTIPLATFORM select PCI_DOMAINS if PCI select SPARSE_IRQ select USE_OF + help + Support for systems implemented using the common "multiplatform" + framework. + + Unless specialized options depending on intimate platform + details, like XIP or NOMMU, are enabled, this allows to build a + single kernel that boots on multiple platforms. config ARM_SINGLE_ARMV7M bool "ARMv7-M based platforms (Cortex-M0/M3/M4)" -- 2.17.1