From patchwork Fri Oct 23 04:19:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7469691 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 51046BEEA4 for ; Fri, 23 Oct 2015 04:21:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35712208D5 for ; Fri, 23 Oct 2015 04:21:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5353F208CA for ; Fri, 23 Oct 2015 04:21:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZpTpa-0004ec-Tm; Fri, 23 Oct 2015 04:19:54 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZpTpX-0004cV-KA for linux-arm-kernel@lists.infradead.org; Fri, 23 Oct 2015 04:19:52 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWN00GRQO0E1J40@mailout2.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 23 Oct 2015 05:19:26 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-79-5629b54eb737 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 61.35.04846.E45B9265; Fri, 23 Oct 2015 05:19:26 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWN0069JO08ED80@eusync2.samsung.com>; Fri, 23 Oct 2015 05:19:26 +0100 (BST) From: Krzysztof Kozlowski To: Jonathan Corbet , Krzysztof Kozlowski , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] Documentation: ARM: EXYNOS: Update bootloader interface on Exynos542x Date: Fri, 23 Oct 2015 13:19:17 +0900 Message-id: <1445573957-28933-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplluLIzCtJLcpLzFFi42I5/e/4FV2/rZphBhvOsVk8OdDOaPHm7Rom i9cvDC36H79mttj0+BqrxcK2JSwWl3fNYbOYcX4fkwOHx6ZVnWwem5fUeyzum8zqsaX/LrtH 35ZVjB6fN8kFsEVx2aSk5mSWpRbp2yVwZZz+sJW5YIpgxf/X95gaGLfwdDFyckgImEg0fN7L BGGLSVy4t56ti5GLQ0hgKaPE8UmTmSCc/4wSa9atAatiEzCW2Lx8CViViMAvRok7O2awgySY BUwlHt9dzwJiCwtESKyeM5cVxGYRUJVYO205G4jNK+Au8fNyKzvEOjmJk8cms05g5F7AyLCK UTS1NLmgOCk911CvODG3uDQvXS85P3cTIyRwvuxgXHzM6hCjAAejEg+vQ7dmmBBrYllxZe4h RgkOZiUR3pBmoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4 pRoYLb8eOKLacjXt2cdnpQ77jTQD5h385hJyTXS5y7TlgULW76Ve6e1Z+PjwNMWIYF7jE/xT F15Z8Duqp55xn4nLtZlH1rae/jVL0sTtajMb38IN22fuuF1v4FYyp9h3eutZ421ZuRfD+GVU c1U/OSYsm+DPmS7YeGpCq9nym++XW5y7L739y+mJ55VYijMSDbWYi4oTAReuE6UYAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151022_211951_889580_6AEA505D X-CRM114-Status: GOOD ( 15.94 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Javier Martinez Canillas 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 Update the documentation about: 1. Usage of PMU_SPARE2 register. Bootloaders on Exynos542x-based boards often use the register PMU_SPARE2 (0x908) in the same way as on Exynos3250: as a indicator the secondary CPU was booted on. The bootloader will set this value to non-zero, after sucessfull power up of secondary CPU. In the same time this booted CPU will stuck (spin) waiting for software reset. 2. Exynos542x entry address for secondary CPU boot up after system suspend (with MCPM enabled and in non-secure mode). See arch/arm/mach-exynos/mcpm-exynos.c for source code. Signed-off-by: Krzysztof Kozlowski --- Documentation/arm/Samsung/Bootloader-interface.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/arm/Samsung/Bootloader-interface.txt b/Documentation/arm/Samsung/Bootloader-interface.txt index df8d4fb85939..ed494ac0beb2 100644 --- a/Documentation/arm/Samsung/Bootloader-interface.txt +++ b/Documentation/arm/Samsung/Bootloader-interface.txt @@ -19,7 +19,7 @@ executing kernel. Address: sysram_ns_base_addr Offset Value Purpose ============================================================================= -0x08 exynos_cpu_resume_ns System suspend +0x08 exynos_cpu_resume_ns, mcpm_entry_point System suspend 0x0c 0x00000bad (Magic cookie) System suspend 0x1c exynos4_secondary_startup Secondary CPU boot 0x1c + 4*cpu exynos4_secondary_startup (Exynos4412) Secondary CPU boot @@ -56,7 +56,8 @@ Offset Value Purpose Address: pmu_base_addr Offset Value Purpose ============================================================================= -0x0908 Non-zero (only Exynos3250) Secondary CPU boot up indicator +0x0908 Non-zero Secondary CPU boot up indicator + on Exynos3250 and Exynos542x 4. Glossary