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: 4848591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EE788C0338 for ; Thu, 4 Sep 2014 22:39:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CB402028D for ; Thu, 4 Sep 2014 22:39:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 28D8520279 for ; Thu, 4 Sep 2014 22:39:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPfe9-000570-EP; Thu, 04 Sep 2014 22:36:53 +0000 Received: from mail-pd0-f181.google.com ([209.85.192.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPfe0-000522-G0 for linux-arm-kernel@lists.infradead.org; Thu, 04 Sep 2014 22:36:44 +0000 Received: by mail-pd0-f181.google.com with SMTP id fp1so14717829pdb.12 for ; Thu, 04 Sep 2014 15:36:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N2J+oDQxeoJgiM8BRTOHV/CQDICxcTLLlKSOdpWTMyA=; b=HEpZ9R1DMD9tr8iQjfbz/b5Lwmpw4spu7T3DSL3GQbgwjZz0cQvaAZpIqFBtAeYt6Y fXlh4C3F+MKlHlicuSWWTNwmtZpCqtRCKFAiEdyMOVusLOVaKDX99cOqcGQeJpf7/NOo FzzNc1fz5gqIo8bt9HZIh+yQJDF/N02dmbcSC+hV/+ee8aAgzTC72L1dDqp55mDb7xl4 sNPOAoLy8vROPXwPS1QwXcHaQ8nyhfMu1W+E+ARlGA+Cq5HZ3tWdtSUQSsP25MbDOMKx iAg1bjfODA3m067TnALEjRDak1vLX0yF/NWnTxgOLtkPKfW7KoIWHthJDY0LabMbjC/w QlLg== X-Gm-Message-State: ALoCoQlcacNwT371WSZADtXZpgHxtQzOr3MVwnOaLGziTM0YM7ex4/A4bUG0oiDcufMSedP7eG8V 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140904_153644_550562_25435B3B X-CRM114-Status: UNSURE ( 7.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.3 (-) Cc: msivasub@codeaurora.org, Lina Iyer , linux-pm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);