From patchwork Tue Aug 19 22:15:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 35672 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 51A2A2034C for ; Tue, 19 Aug 2014 22:16:01 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 79sf23381869ykr.6 for ; Tue, 19 Aug 2014 15:16:01 -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=pdK+sMMBhtuLwNQ/v3OLBHhQoU/O+3D/XhOJRcYjwEs=; b=SB/FaMbCCufgG3ydn4g6CB3QlWlRiFx+Fkq+cQTNMmEziEH0pSuMgY9LS022TpET6m nOPbTwB4xjNLiVJgMov8r+JQYYZofRRdtYQ+g/F3Jrf8qpzfynq6ed/DFZq/k46IQCO6 H6UOuSBEMaMQCV1JaI9nSXNdNpJKI46le+UZQ1mpkKZQQkXoiQnsmDZBZQK+vL2bu1RK xbOxggo7p49HsbgXeZ0qXhoHRmzluhig/NGen50SppdZYO8KnoqlrXZ8GIgCJrnUiqGm Z8++LnXedY0mWeVY9g3mGJvliZr1vZq5zVVwqMCgIkyiOCsAMQZevbHEoA8MISfhKxls Mieg== X-Gm-Message-State: ALoCoQmafSTy/h+PbHvFR/qaVXsRaGFxcoXf0+OX8+fgTZrjjWErFFu1VVgmmcvGGpYrDCyCbVx/ X-Received: by 10.236.23.230 with SMTP id v66mr1886382yhv.53.1408486561166; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.17.47 with SMTP id 44ls52331qgc.11.gmail; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) X-Received: by 10.52.160.10 with SMTP id xg10mr4169687vdb.1.1408486561050; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id p1si9694787vcr.40.2014.08.19.15.16.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 15:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so8268975vcb.13 for ; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) X-Received: by 10.221.5.137 with SMTP id og9mr32959415vcb.18.1408486560972; Tue, 19 Aug 2014 15:16:00 -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.45.67 with SMTP id uj3csp3346vcb; Tue, 19 Aug 2014 15:16:00 -0700 (PDT) X-Received: by 10.70.63.37 with SMTP id d5mr53932556pds.51.1408486559419; Tue, 19 Aug 2014 15:15:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df3si28839804pbc.99.2014.08.19.15.15.58 for ; Tue, 19 Aug 2014 15:15:59 -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 S1751848AbaHSWP6 (ORCPT + 5 others); Tue, 19 Aug 2014 18:15:58 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:62061 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751694AbaHSWP5 (ORCPT ); Tue, 19 Aug 2014 18:15:57 -0400 Received: by mail-pa0-f42.google.com with SMTP id lf10so10899262pab.15 for ; Tue, 19 Aug 2014 15:15:57 -0700 (PDT) X-Received: by 10.68.132.225 with SMTP id ox1mr46863226pbb.99.1408486556942; Tue, 19 Aug 2014 15:15:56 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id zq5sm20305897pbb.37.2014.08.19.15.15.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Aug 2014 15:15:56 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, sboyd@codeaurora.org, davidb@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, lorenzo.pieralisi@arm.com Cc: msivasub@codeaurora.org, Lina Iyer Subject: [PATCH v4 2/8] msm: scm: Add SCM warmboot flags for quad core targets. Date: Tue, 19 Aug 2014 16:15:31 -0600 Message-Id: <1408486537-6358-3-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408486537-6358-1-git-send-email-lina.iyer@linaro.org> References: <1408486537-6358-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.182 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, APQ8064, APQ8084 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/soc/qcom/scm-boot.h b/include/soc/qcom/scm-boot.h index 6aabb24..02b445c 100644 --- a/include/soc/qcom/scm-boot.h +++ b/include/soc/qcom/scm-boot.h @@ -18,6 +18,8 @@ #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);