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: 35089 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E81C821457 for ; Fri, 8 Aug 2014 04:05:45 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id nu7sf20166505obb.7 for ; Thu, 07 Aug 2014 21:05:45 -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=FYtP+n00L3DjvEnoB+WMIDUTgUwH515U+BySTYgKD/EXGKn5rgbMY4p3awNHuAGuFB tL/o9O3J3wmb4oXQljlhtH4tHL4M3RAjcwMRIgGIv0J476UPtscUlOnCuDQYTkcXkVFc jKiAUBtEWSqDY8cNXtj6seP56vqmpmKx+O22RHSu/6TTFmLjOoTGVxmnD5jxIm+/HU4A jjcen+RnEkxHQI15pXkGwF5PBQgWIaC/JjPia5HRpymSvcfZ82k8tiTTOerJa6J0vliZ 5F2li0JIb6QPz/D/eef3dfpXtDpZSg59RZSCmyOCuqyZfqxrWj3qq3f+xkIVofk61uRe i0Qw== X-Gm-Message-State: ALoCoQn8zAlQaOqnXbAq8sJ2NNaLsCaDRe7IkDD0Eye35VA58IfSEY9MB8zfGdMGBS2HLOZEYSgv X-Received: by 10.42.177.5 with SMTP id bg5mr3380934icb.27.1407470745553; Thu, 07 Aug 2014 21:05:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.240 with SMTP id n103ls374019qgd.13.gmail; Thu, 07 Aug 2014 21:05:45 -0700 (PDT) X-Received: by 10.220.200.71 with SMTP id ev7mr19859761vcb.24.1407470745465; Thu, 07 Aug 2014 21:05:45 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id py3si2483440vdb.107.2014.08.07.21.05.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 21:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so7499598vcb.4 for ; Thu, 07 Aug 2014 21:05:45 -0700 (PDT) X-Received: by 10.52.34.209 with SMTP id b17mr100264vdj.49.1407470745385; Thu, 07 Aug 2014 21:05:45 -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 tc5csp87280vcb; Thu, 7 Aug 2014 21:05:44 -0700 (PDT) X-Received: by 10.68.177.130 with SMTP id cq2mr21278972pbc.119.1407470744303; Thu, 07 Aug 2014 21:05:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si1450465pdj.25.2014.08.07.21.05.43 for ; Thu, 07 Aug 2014 21:05:44 -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 S1752258AbaHHEFm (ORCPT + 4 others); 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-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: 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.173 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);