From patchwork Fri Aug 8 04:05:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 4693561 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 869469F4D4 for ; Fri, 8 Aug 2014 04:05:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C83C720145 for ; Fri, 8 Aug 2014 04:05:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B09452017D for ; Fri, 8 Aug 2014 04:05:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752258AbaHHEFm (ORCPT ); Fri, 8 Aug 2014 00:05:42 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:50566 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752423AbaHHEFm (ORCPT ); Fri, 8 Aug 2014 00:05:42 -0400 Received: by mail-pa0-f45.google.com with SMTP id eu11so6543232pac.4 for ; Thu, 07 Aug 2014 21:05:41 -0700 (PDT) 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:in-reply-to :references; bh=bDCySAnaAmRGTgA+qJxmDSoyM8co4vfgQQR+k2mtXcc=; b=gwOfY8ddS1X3v5agrfbvDRf2T1ckdEgnDh1c0UjGh7MGI9L+hoLtxM5am/nOAkf8B3 KCc1DBDGLerEtonwL1IIBcFFQyZndXi+UCUDqgxsBWEKa+6Q0U9eUnqgR/m9SZ6XKfMf N2ofm5Fq3ltpittoyVGQUXY6FYxd/Jbz46JcpSuKNIU7kdTMW7Ur6+/R7QYmwpwDDdUF FwuztlEkKHd+ejsnVWKi2T3f4ehgsgput4fzCbsjPdDDFGHDcbOL3dXM0oQNyZGM3B3F U/DqdKHs3BZC1JMjH1XMm/AHQQ4aLa77G5gTxNMQ9BJlZeyWRHHzPuEnlt6abk5cpyOY UdQw== X-Gm-Message-State: ALoCoQm+mPMHVKGst7BAgDQK2W2SJ4km4hzsnFflD8mqW33itD2f3J4ssbzh3OaZ89FEwXq31I0/ X-Received: by 10.70.92.49 with SMTP id cj17mr21759440pdb.53.1407470735834; Thu, 07 Aug 2014 21:05:35 -0700 (PDT) Received: from localhost.localdomain (c-24-8-37-141.hsd1.co.comcast.net. [24.8.37.141]) by mx.google.com with ESMTPSA id n8sm2163342pdm.22.2014.08.07.21.05.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 21:05:34 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, amit.kucheria@linaro.org, sboyd@codeaurora.org, davidb@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: msivasub@codeaurora.org, bryanh@codeaurora.org, Lina Iyer Subject: [RFC] [PATCH 02/13] msm: scm: Add SCM warmboot flags for quad core targets. Date: Thu, 7 Aug 2014 22:05:11 -0600 Message-Id: <1407470722-23015-3-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407470722-23015-1-git-send-email-lina.iyer@linaro.org> References: <1407470722-23015-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Quad core targets like APQ8074, 78064, 8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warmboot addresses for seconday cores. Signed-off-by: Lina Iyer --- include/soc/qcom/scm-boot.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/soc/qcom/scm-boot.h b/include/soc/qcom/scm-boot.h index 6aabb24..7ae2152 100644 --- a/include/soc/qcom/scm-boot.h +++ b/include/soc/qcom/scm-boot.h @@ -18,6 +18,9 @@ #define SCM_FLAG_COLDBOOT_CPU3 0x20 #define SCM_FLAG_WARMBOOT_CPU0 0x04 #define SCM_FLAG_WARMBOOT_CPU1 0x02 +#define SCM_FLAG_WARMBOOT_CPU2 0x10 +#define SCM_FLAG_WARMBOOT_CPU3 0x40 + int scm_set_boot_addr(phys_addr_t addr, int flags);