From patchwork Wed Feb 25 22:54:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 45152 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E9A0320502 for ; Wed, 25 Feb 2015 22:54:46 +0000 (UTC) Received: by wghb13 with SMTP id b13sf5049076wgh.2 for ; Wed, 25 Feb 2015 14:54:46 -0800 (PST) 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=CwzVW/0tVhOTf5tfphB7VVwxiWehOvEU0yubgckYRpA=; b=R/AOKMmB7B5tJZYdYvndSHW89rLUwnSfl+cCImptCcm6KW0SfL22zCrdTxvQbJgV6s YYKXJW9qiz5i/dQe7nEF+VJ1WxoIifV043vri+inf4fp6oqwWZPbHZgudg1RvYVdEhAQ 04aWS0frGvMxFrJT5qrTlfxkXPfnnIAyTF67XL4jmaLa45keptg/2EGXNtB1L6nb0+38 ZbPWdFiZt8X4w5kviwbtWbK4+uront16bQsQ5id5knssvCua8dRaklrZjmzeT4zyW/yy pJ07qLMTobcrBWtsQeHiyaSxCQB0VwTFygBoWqjG3FZrlVMu5SL3xGknimO6iqLbx/nP dT2w== X-Gm-Message-State: ALoCoQmLd5A7c/iSSGvfXzHADhURmXS8yG0SWvvcV8yjPtjnSNefFTJynZ4fr68yAdEQDaPm3r4b X-Received: by 10.152.1.5 with SMTP id 5mr846500lai.4.1424904886136; Wed, 25 Feb 2015 14:54:46 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.165 with SMTP id uf5ls883904lac.60.gmail; Wed, 25 Feb 2015 14:54:46 -0800 (PST) X-Received: by 10.152.197.34 with SMTP id ir2mr4973710lac.36.1424904885980; Wed, 25 Feb 2015 14:54:45 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id k10si31890655lbc.120.2015.02.25.14.54.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 14:54:45 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbjf15 with SMTP id f15so7121734lbj.13 for ; Wed, 25 Feb 2015 14:54:45 -0800 (PST) X-Received: by 10.152.28.5 with SMTP id x5mr4839187lag.112.1424904885561; Wed, 25 Feb 2015 14:54:45 -0800 (PST) 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.112.35.133 with SMTP id h5csp2933281lbj; Wed, 25 Feb 2015 14:54:44 -0800 (PST) X-Received: by 10.68.253.233 with SMTP id ad9mr9294326pbd.167.1424904882006; Wed, 25 Feb 2015 14:54:42 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id au6si19704621pbd.192.2015.02.25.14.54.41; Wed, 25 Feb 2015 14:54:41 -0800 (PST) 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 S1753205AbbBYWyk (ORCPT + 11 others); Wed, 25 Feb 2015 17:54:40 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:38555 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174AbbBYWyj (ORCPT ); Wed, 25 Feb 2015 17:54:39 -0500 Received: by padbj1 with SMTP id bj1so8796594pad.5 for ; Wed, 25 Feb 2015 14:54:38 -0800 (PST) X-Received: by 10.66.141.42 with SMTP id rl10mr9526945pab.124.1424904878754; Wed, 25 Feb 2015 14:54:38 -0800 (PST) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by mx.google.com with ESMTPSA id pp9sm42274261pbb.65.2015.02.25.14.54.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 14:54:38 -0800 (PST) From: Lina Iyer To: galak@codeaurora.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, agross@codeaurora.org Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Lina Iyer Subject: [PATCH 1/2] ARM: qcom: Add SCM warmboot flags for quad core targets. Date: Wed, 25 Feb 2015 15:54:11 -0700 Message-Id: <1424904852-12719-2-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424904852-12719-1-git-send-email-lina.iyer@linaro.org> References: <1424904852-12719-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.217.175 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 Signed-off-by: Kumar Gala --- arch/arm/mach-qcom/scm-boot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-qcom/scm-boot.h b/arch/arm/mach-qcom/scm-boot.h index 6aabb24..02b445c 100644 --- a/arch/arm/mach-qcom/scm-boot.h +++ b/arch/arm/mach-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);