Message ID | 1408400614-45419-3-git-send-email-lina.iyer@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCLLPU4OUAGBB77ZZGPQKGQEDX7R5LY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3397820676 for <linaro@patches.linaro.org>; Mon, 18 Aug 2014 22:24:00 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id eu11sf48248255pac.3 for <linaro@patches.linaro.org>; Mon, 18 Aug 2014 15:23:59 -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=PQzd7y3ktyqWlaw7CuK9EsGg8H1+R5YPps5LF377VYIJJbtVZCYCoCkM3/fFrm2Blu Z/X07em5PXWvgICIIxeyhdH7zv7ptjjDij/I/+cu5RJC9FWC/xT6oF5trUjFWOLVwuNz 5ADyB5r74715eXbv53HHQBHLABgIUmZWs9ZZdicxItO0Nz4kAD7rF4RyXa2IcacT+FSV h5D/shGwQxV0q7a12PaT7EDuu2sy1w13i9BZTlCwzOI4684VqP37S1GmK0agqV5nJ5Cm +6W+/0IrHz1aM1nwXH+cIYW3GXgNSPQXFlC4MOc2fI1hvExoMyOQDUEDQ/Q+IF5fHFTf 6vOA== X-Gm-Message-State: ALoCoQkai+fgIsyrej3uIOE+qWjDTFpDh3anIv4mOofVUKCOlgofT/z0Hl2Xw578+EoH5ytediPG X-Received: by 10.67.5.101 with SMTP id cl5mr1621147pad.41.1408400639122; Mon, 18 Aug 2014 15:23:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.21 with SMTP id h21ls2639689qge.52.gmail; Mon, 18 Aug 2014 15:23:59 -0700 (PDT) X-Received: by 10.220.96.137 with SMTP id h9mr2649104vcn.46.1408400639014; Mon, 18 Aug 2014 15:23:59 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id b7si7743356vdx.54.2014.08.18.15.23.58 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 15:23:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so6416624vcb.24 for <patchwork-forward@linaro.org>; Mon, 18 Aug 2014 15:23:58 -0700 (PDT) X-Received: by 10.221.5.137 with SMTP id og9mr27190033vcb.18.1408400638905; Mon, 18 Aug 2014 15:23:58 -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 tc5csp189776vcb; Mon, 18 Aug 2014 15:23:58 -0700 (PDT) X-Received: by 10.66.197.132 with SMTP id iu4mr38595536pac.132.1408400637889; Mon, 18 Aug 2014 15:23:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc2si23819953pac.118.2014.08.18.15.23.57 for <multiple recipients>; Mon, 18 Aug 2014 15:23:57 -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 S1752401AbaHRWX4 (ORCPT <rfc822;linus.walleij@linaro.org> + 5 others); Mon, 18 Aug 2014 18:23:56 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:39998 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327AbaHRWX4 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 18 Aug 2014 18:23:56 -0400 Received: by mail-pa0-f49.google.com with SMTP id hz1so8470977pad.36 for <linux-arm-msm@vger.kernel.org>; Mon, 18 Aug 2014 15:23:53 -0700 (PDT) X-Received: by 10.70.38.239 with SMTP id j15mr44618841pdk.109.1408400633223; Mon, 18 Aug 2014 15:23:53 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id nn3sm25508125pdb.58.2014.08.18.15.23.51 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Aug 2014 15:23:52 -0700 (PDT) From: Lina Iyer <lina.iyer@linaro.org> 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@codeauorora.org, Lina Iyer <lina.iyer@linaro.org> Subject: [PATCH v3 2/8] msm: scm: Add SCM warmboot flags for quad core targets. Date: Mon, 18 Aug 2014 16:23:28 -0600 Message-Id: <1408400614-45419-3-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408400614-45419-1-git-send-email-lina.iyer@linaro.org> References: <1408400614-45419-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> 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.179 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
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);
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 <lina.iyer@linaro.org> --- include/soc/qcom/scm-boot.h | 2 ++ 1 file changed, 2 insertions(+)