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: 5885151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B9D409F373 for ; Wed, 25 Feb 2015 22:57:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E78162034E for ; Wed, 25 Feb 2015 22:57:39 +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 255392037A for ; Wed, 25 Feb 2015 22:57:39 +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 1YQkrR-0001BI-7Q; Wed, 25 Feb 2015 22:55:21 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQkr6-0008L9-0f for linux-arm-kernel@lists.infradead.org; Wed, 25 Feb 2015 22:55:00 +0000 Received: by pablf10 with SMTP id lf10so8772871pab.6 for ; Wed, 25 Feb 2015 14:54:38 -0800 (PST) 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=AYqf1babibGHNr2tYqr73Lr9+i5nHiwhOQTe/O6yoac=; b=QgXaaaH4itJZthmcHSdcyzg8ONJdyHbHhaao6rtZloCL0kM6dD6JaV3LQFhJyGZ452 wA7XFD+L7d140lGcjFqWa7JviCh81PiJvlfxlotnbGutsqMRDbvPh90pk0Kg7dfq0AiS 5wDzq0hWRI9IJzXMB+yzH+UkquzwWpBHKz+Z6r1JdQTHilHnKgl19Uvcp1T3IJYN7eUP uDmiuyjlbbJWl5UaHQ2h98UC56LoOGgXzCKloRP1juQZq4L45Ax7vrZy54u2A1fSqtIY 52x6I3GArNhMDXHcUiSBawEFZHU9ME1ZyoxrQELCFKvhUuwr94jBQz00QuZSMkdvOwx4 2ptQ== X-Gm-Message-State: ALoCoQmIhfdIl0C409rKzYzz9epwFM2UPqY2W3HCgYGtDaC9TI2xsF76i9iDJ5bZi9dop5aYlMCR 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150225_145500_129961_E10A44CD X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Lina Iyer , linux-arm-kernel@lists.infradead.org, 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 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);