From patchwork Thu Mar 12 17:38:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 45744 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 35AD1214BF for ; Thu, 12 Mar 2015 17:42:08 +0000 (UTC) Received: by labgm9 with SMTP id gm9sf12979198lab.1 for ; Thu, 12 Mar 2015 10:42:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=2/8B7Dbb1uELz28tWnrv7oJXVD3r5abQb1I8AwNlPwk=; b=QFTYK6r/wSX0Kug7SPhStKtkRQfcwzEY5mm4I96SeVOJAB1gu+V2U5Tz3M6+AHrN63 reKdjnwXcJslgrKRUTytq2vm+n5WUnlfUvz1NT/WhTOTAP448xbSES4gndU4PC9lKvWI dhe9ukzYY/xDoffEven7DEXm2+vK67d+OKj91fK5nrKx0dR5fr+INmzEA9SYCv33qbr6 bmHb7mGDvzarPS8OLC2S8LLlb4pOQRDO7PLigD/eEHLGX1LxqFkZv0fl3dmUmxw64sJu rl7X4S/XAI6JO/BdKvSySSe/y61bKwt0DbMO4TRcHjjj/UtuBKBZlfVjy5aV+NYQlDug E+CQ== X-Gm-Message-State: ALoCoQmJlYCMAMztPmvBNeN/+Gsr6saxQrkNZXg78WTi20p3Mu0zcns+aivi+b1H3v+lte+TX9hB X-Received: by 10.194.178.67 with SMTP id cw3mr2233640wjc.2.1426182127154; Thu, 12 Mar 2015 10:42:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.137 with SMTP id s9ls316078las.72.gmail; Thu, 12 Mar 2015 10:42:06 -0700 (PDT) X-Received: by 10.152.6.71 with SMTP id y7mr27877768lay.116.1426182126780; Thu, 12 Mar 2015 10:42:06 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id w7si4851180lbk.135.2015.03.12.10.42.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 10:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labge10 with SMTP id ge10so17038328lab.10 for ; Thu, 12 Mar 2015 10:42:06 -0700 (PDT) X-Received: by 10.112.204.197 with SMTP id la5mr39566998lbc.29.1426182126656; Thu, 12 Mar 2015 10:42:06 -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.112.35.133 with SMTP id h5csp382973lbj; Thu, 12 Mar 2015 10:42:05 -0700 (PDT) X-Received: by 10.66.156.229 with SMTP id wh5mr92564535pab.119.1426182124936; Thu, 12 Mar 2015 10:42:04 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ys1si784390pab.208.2015.03.12.10.42.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 10:42:04 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1YW75l-00063r-0m; Thu, 12 Mar 2015 17:40:17 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YW74c-0004Hm-Pu for linux-arm-kernel@lists.infradead.org; Thu, 12 Mar 2015 17:39:07 +0000 Received: by wiwl15 with SMTP id l15so5948080wiw.1 for ; Thu, 12 Mar 2015 10:38:44 -0700 (PDT) X-Received: by 10.180.76.77 with SMTP id i13mr31728143wiw.6.1426181924368; Thu, 12 Mar 2015 10:38:44 -0700 (PDT) Received: from ards-macbook-pro.local (45.Red-83-50-109.dynamicIP.rima-tde.net. [83.50.109.45]) by mx.google.com with ESMTPSA id m9sm14081659wiz.24.2015.03.12.10.38.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Mar 2015 10:38:43 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux@arm.linux.org.uk, nico@linaro.org Subject: [RFT/RFC PATCH 4/6] ARM: use bl_far to call __hyp_stub_install_secondary from the .data section Date: Thu, 12 Mar 2015 18:38:10 +0100 Message-Id: <1426181892-15440-5-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1426181892-15440-1-git-send-email-ard.biesheuvel@linaro.org> References: <1426181892-15440-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150312_103907_050506_B444A6DB X-CRM114-Status: UNSURE ( 7.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.178 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.178 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Ard Biesheuvel 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@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.215.43 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 Signed-off-by: Ard Biesheuvel --- arch/arm/kernel/sleep.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/sleep.S b/arch/arm/kernel/sleep.S index e1e60e5a7a27..0ea3813fedce 100644 --- a/arch/arm/kernel/sleep.S +++ b/arch/arm/kernel/sleep.S @@ -128,7 +128,7 @@ ENDPROC(cpu_resume_after_mmu) ENTRY(cpu_resume) ARM_BE8(setend be) @ ensure we are in BE mode #ifdef CONFIG_ARM_VIRT_EXT - bl __hyp_stub_install_secondary + bl_far __hyp_stub_install_secondary #endif safe_svcmode_maskall r1 mov r1, #0