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: 7469681 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6E54B9F71A for ; Fri, 23 Oct 2015 04:19:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D1FF208DF for ; Fri, 23 Oct 2015 04:19:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E836208CA for ; Fri, 23 Oct 2015 04:19:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbbJWETd (ORCPT ); Fri, 23 Oct 2015 00:19:33 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48264 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbbJWET3 (ORCPT ); Fri, 23 Oct 2015 00:19:29 -0400 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>; 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 Cc: Javier Martinez Canillas 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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