From patchwork Fri Aug 8 04:00:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 35073 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 37C1921137 for ; Fri, 8 Aug 2014 04:01:13 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h18sf1720539igc.9 for ; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=vlMcOv/3Dz/4xFbMYUEPE/byEcBZTKiFFZLPekcIElI=; b=A9PJtPqFnL3fySztKkOF3eRzuNROjeEruCQNJMTLis5+M36aPirSN7R8bqXy8rpbp+ JdPlP7nLKUB7bdgJclNP7FPGCfYU02qSRhHBAFEN4wzrpMy7VZa1k1cuMJWF4yO8AVEr jbt+GyDRwwgw83NG8VIwTZk+VnBJBCfyD3zUlDlYQwyQZK1F6+AkCguPqiWGS4grS7b3 gd87QeqcVbGKTp0jczFC5rI2qZuHIYDzX+93CbWjfBkM2UvmV57Cb4etw996bsXZPQ8r EshSO587v3BM2+/qQINec4/YQY3rbDgauhfbk89J3ntYjiBXnbVZSeVzQMLE9fabe8wx D5Xg== X-Gm-Message-State: ALoCoQkglE06s2TTN3vIF2ZialS8K3LMFx3LEHZh0lyua/xwLzdyV61DRwGY4h5fWvB2y3HH5IIV X-Received: by 10.42.212.207 with SMTP id gt15mr2389089icb.31.1407470472583; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.42 with SMTP id j39ls393938qge.89.gmail; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) X-Received: by 10.52.244.138 with SMTP id xg10mr5057265vdc.40.1407470472475; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id m3si1018831vcz.29.2014.08.07.21.01.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 21:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so7590554vcb.19 for ; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) X-Received: by 10.221.21.201 with SMTP id qt9mr19689710vcb.39.1407470472347; Thu, 07 Aug 2014 21:01:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp86895vcb; Thu, 7 Aug 2014 21:01:11 -0700 (PDT) X-Received: by 10.70.38.161 with SMTP id h1mr6352793pdk.142.1407470469414; Thu, 07 Aug 2014 21:01:09 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy1si4002034pab.157.2014.08.07.21.01.08 for ; Thu, 07 Aug 2014 21:01:09 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751824AbaHHEBI (ORCPT + 4 others); Fri, 8 Aug 2014 00:01:08 -0400 Received: from mail-ig0-f182.google.com ([209.85.213.182]:38278 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbaHHEBH (ORCPT ); Fri, 8 Aug 2014 00:01:07 -0400 Received: by mail-ig0-f182.google.com with SMTP id c1so435362igq.3 for ; Thu, 07 Aug 2014 21:01:06 -0700 (PDT) X-Received: by 10.50.28.75 with SMTP id z11mr1150219igg.11.1407470466300; Thu, 07 Aug 2014 21:01:06 -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 yt6sm4062230igb.10.2014.08.07.21.01.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 21:01:05 -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, linux-arm-kernel@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:00:47 -0600 Message-Id: <1407470458-22900-3-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407470458-22900-1-git-send-email-lina.iyer@linaro.org> References: <1407470458-22900-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lina.iyer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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);