From patchwork Wed Nov 27 01:52:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 3245171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4B243C045B for ; Wed, 27 Nov 2013 01:55:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B61B2044C for ; Wed, 27 Nov 2013 01:55:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6E99620549 for ; Wed, 27 Nov 2013 01:55:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlULw-0007C2-BY; Wed, 27 Nov 2013 01:55:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlULt-0005va-Ur; Wed, 27 Nov 2013 01:55:41 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlULq-0005tv-68 for linux-arm-kernel@lists.infradead.org; Wed, 27 Nov 2013 01:55:38 +0000 Received: by mail-pd0-f177.google.com with SMTP id q10so8856668pdj.22 for ; Tue, 26 Nov 2013 17:55:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SyT/miqVzMUqpJhQ04sqZIWsrKLmYVFsdTxnAJh/0Ww=; b=XaKoVQZiKUIydR45LOSemFo3FK8MDdLCTn0Iqt5XM+ORNCNm7XLRTbmsngl9x2Gb4E U2F1tH+Rk2horO7GnFB68EO2iO51xciYEeaMzx4F9lqR0uqJaRe8JYcHHjL4Z+PvOxFA D3ADH7H4yvBzaveQbbi8xiIydTvtOf7rLbRjxV5piMDF2EBRebCU1CAe6+NQ0kV8zWxt xMy0y/aXqESD5FpsIOKDSnzupUizU5ATU+ncw2pFN539zzk97NNVIG7fibDy+07U2EJ1 TuvfkK8DdSL61t7BhDXHyqRfmiyejk1TDPPikOcpTHDTtTXi3jzXVUFOzoWPxD6OqAsE HIIw== X-Gm-Message-State: ALoCoQnvGRkoaYvVf0FiI+Ag0r3jZaJ4iiW8dokwJvE19tFjvFoQyPkNscCLNIa3WON9n7OAy8Ms X-Received: by 10.68.129.130 with SMTP id nw2mr2483491pbb.88.1385517316013; Tue, 26 Nov 2013 17:55:16 -0800 (PST) Received: from quad.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPSA id e6sm15764015pbg.4.2013.11.26.17.55.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Nov 2013 17:55:14 -0800 (PST) From: Olof Johansson To: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell Subject: [PATCH] Documentation: devicetree: arm: add lpae property to cpus/cpu bindings Date: Tue, 26 Nov 2013 17:52:52 -0800 Message-Id: <1385517172-803-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.8.4.1.601.g02b3b1d X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131126_205538_308855_B06FAB9F X-CRM114-Status: GOOD ( 11.92 ) X-Spam-Score: -1.9 (-) Cc: grant.likely@secretlab.ca, devicetree@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While the LPAE capability is determined by the kernel today, it is still useful to be able to specify the feature in the device tree. There is precedence from other architectures for this. Signed-off-by: Olof Johansson --- My personal motive for this is to be able to tell which boards are work even trying to boot an LPAE kernel on, since we don't disable the platforms that are based on A8/A9 when LPAE is turned on. I'll add dtsi patches for A7/A15-based platforms once the binding is settled. I don't think it's worth trying to add those dependencies in Kconfig, by the way -- it'd be pretty verbose and churny. Documentation/devicetree/bindings/arm/cpus.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index 91304353eea4..632015f8314f 100644 --- a/Documentation/devicetree/bindings/arm/cpus.txt +++ b/Documentation/devicetree/bindings/arm/cpus.txt @@ -191,6 +191,14 @@ nodes to be present and contain the properties described below. property identifying a 64-bit zero-initialised memory location. + - lpae + Usage: Indicates that the CPU can use the LPAE extensions to + address more than 32 bit physical memory. + Value type: + Definition: + # On ARMv7 systems this boolean property is used + to indicate LPAE feature capability. + Example 1 (dual-cluster big.LITTLE system 32-bit): cpus {