From patchwork Thu Sep 4 22:35:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 36765 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D22D120062 for ; Thu, 4 Sep 2014 22:36:28 +0000 (UTC) Received: by mail-oi0-f72.google.com with SMTP id a3sf578907oib.3 for ; Thu, 04 Sep 2014 15:36:28 -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=7CJJ9z8IC1OZCF/ldb9sqx47dvsZlBI1MF+bTMeP3rQ=; b=ICWqAfGi9hUtvVuen4aU0a/hR4ika0BZ+I8uU/pE+XvrBInusNxViXKPTHJNRJCef1 PIGMtzDfCue9XjPXMG817nsppAYZZoy4gviuM0d3s13xUh5W0tOW27vgxCHZjqx+SIkC iIlGsKB+6J5ry0ZzL2xVBHrjyCYr72XS1MLCTJi+k9Y8X2wkauIN4FkbxlDa511qAmaH VmpBT5PnS71VHVj05rAwGB9TtrGgqrQzVkyIhrwoGT/e6k8R8Z6pDKDB9cKnFl33O2JJ Zp6mcTseyEXZ8N2vuWDsM280PDFe6BuiZY9TUcHYsnRfvDY7NdMQWPZqpBBOEs9gWsEb aoYg== X-Gm-Message-State: ALoCoQlCVfOM9M+cLimsb+1pw9IiQKHf/UIVC5ABdrnosu79eRyv1GXYyLRe9wkfOjIgc3ohWYAc X-Received: by 10.182.241.1 with SMTP id we1mr4083926obc.37.1409870188487; Thu, 04 Sep 2014 15:36:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.229 with SMTP id 92ls512822qgn.98.gmail; Thu, 04 Sep 2014 15:36:28 -0700 (PDT) X-Received: by 10.221.48.201 with SMTP id ux9mr4330837vcb.68.1409870188340; Thu, 04 Sep 2014 15:36:28 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id qg7si299437vcb.18.2014.09.04.15.36.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 15:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so11699959vcb.28 for ; Thu, 04 Sep 2014 15:36:28 -0700 (PDT) X-Received: by 10.221.66.194 with SMTP id xr2mr4444861vcb.65.1409870188200; Thu, 04 Sep 2014 15:36:28 -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 uj3csp908670vcb; Thu, 4 Sep 2014 15:36:27 -0700 (PDT) X-Received: by 10.66.65.130 with SMTP id x2mr13277250pas.79.1409870186856; Thu, 04 Sep 2014 15:36:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qn8si226826pdb.197.2014.09.04.15.36.26 for ; Thu, 04 Sep 2014 15:36:26 -0700 (PDT) Received-SPF: none (google.com: linux-pm-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 S1755956AbaIDWgZ (ORCPT + 15 others); Thu, 4 Sep 2014 18:36:25 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:49996 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754589AbaIDWgY (ORCPT ); Thu, 4 Sep 2014 18:36:24 -0400 Received: by mail-pd0-f172.google.com with SMTP id v10so2236920pde.31 for ; Thu, 04 Sep 2014 15:36:23 -0700 (PDT) X-Received: by 10.66.182.227 with SMTP id eh3mr13929076pac.68.1409870183591; Thu, 04 Sep 2014 15:36:23 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id om6sm133722pdb.89.2014.09.04.15.36.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Sep 2014 15:36:23 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, lorenzo.pieralisi@arm.com, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khilman@linaro.org, sboyd@codeaurora.org, galak@codeaurora.org Cc: linux-pm@vger.kernel.org, msivasub@codeaurora.org, Lina Iyer Subject: [PATCH v5 1/7] msm: scm: Add SCM warmboot flags for quad core targets. Date: Thu, 4 Sep 2014 16:35:26 -0600 Message-Id: <1409870132-16929-2-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409870132-16929-1-git-send-email-lina.iyer@linaro.org> References: <1409870132-16929-1-git-send-email-lina.iyer@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@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.169 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 secondary 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);