Message ID | 1392183693-21238-5-git-send-email-victor.kamensky@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD7P3VNW5YERBKUV5SLQKGQELKVOUGA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CE55F20567 for <linaro@patches.linaro.org>; Wed, 12 Feb 2014 05:46:19 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id v10sf18227848pde.9 for <linaro@patches.linaro.org>; Tue, 11 Feb 2014 21:46:19 -0800 (PST) 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:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=aX67TdwtTsOj01mhNxial9ONrzj6538J35wv9XXQK6o=; b=aZMb2MyrrZZujWrhLutDA/g+jkWa7jTtvHdhvKCTqhDmrZbdz1fMWn+Cn3loCyFmSy la4wnk76nEW5Xq+Wa+eSQeMxFkJZ0dz7I7VNOrOtLUp0tUCRAC/OTNI93Zn4H/0GIEW7 Q42OTBD+ZizuHyVu2ByIGhGPvVbRS5OzsI20vBED6upQXKuPb9gwrK+RSuOsbroisqlc 0g2qqjZ1GwZXBbRsrQMlosyuB5mdTa5aQV7on6qfohDHAJERrrsmC1eX5s2Ecr8aoyhT o6CKB7fnRpZxqtsSqgjc90Nu5ZO4vBE0Q/la+SUfjyZVxnW935s5enJ3SaNGYflKnWQ9 orAQ== X-Gm-Message-State: ALoCoQnVkcHabSLhtebJygmpxQGDhb9P1Ff7IPpCZKCSpe+bQJTnPyTrJs3QGapkjpb5zm9gPx4D X-Received: by 10.69.16.98 with SMTP id fv2mr1066376pbd.7.1392183979026; Tue, 11 Feb 2014 21:46:19 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.18.148 with SMTP id 20ls2033692qgf.89.gmail; Tue, 11 Feb 2014 21:46:18 -0800 (PST) X-Received: by 10.58.229.164 with SMTP id sr4mr31726926vec.18.1392183978624; Tue, 11 Feb 2014 21:46:18 -0800 (PST) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx.google.com with ESMTPS id eh16si6936835vcb.18.2014.02.11.21.46.18 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Feb 2014 21:46:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.49 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.49; Received: by mail-vb0-f49.google.com with SMTP id x14so6566340vbb.36 for <patchwork-forward@linaro.org>; Tue, 11 Feb 2014 21:46:18 -0800 (PST) X-Received: by 10.58.100.100 with SMTP id ex4mr31632654veb.2.1392183978513; Tue, 11 Feb 2014 21:46:18 -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.220.174.196 with SMTP id u4csp10868vcz; Tue, 11 Feb 2014 21:46:17 -0800 (PST) X-Received: by 10.14.1.198 with SMTP id 46mr1471045eed.11.1392183977511; Tue, 11 Feb 2014 21:46:17 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id x7si36615923eef.51.2014.02.11.21.46.17 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Feb 2014 21:46:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDSbi-0002fC-Ah; Wed, 12 Feb 2014 05:43:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDSbH-0006Jf-BM; Wed, 12 Feb 2014 05:43:11 +0000 Received: from mail-pb0-f42.google.com ([209.85.160.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDSaf-0006Cn-Ho for linux-arm-kernel@lists.infradead.org; Wed, 12 Feb 2014 05:42:34 +0000 Received: by mail-pb0-f42.google.com with SMTP id jt11so8800928pbb.29 for <linux-arm-kernel@lists.infradead.org>; Tue, 11 Feb 2014 21:42:11 -0800 (PST) X-Received: by 10.66.11.202 with SMTP id s10mr37577123pab.86.1392183731099; Tue, 11 Feb 2014 21:42:11 -0800 (PST) Received: from kamensky-w530.cisco.com (128-107-239-233.cisco.com. [128.107.239.233]) by mx.google.com with ESMTPSA id eo11sm152396678pac.0.2014.02.11.21.42.09 for <multiple recipients> (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Tue, 11 Feb 2014 21:42:10 -0800 (PST) From: Victor Kamensky <victor.kamensky@linaro.org> To: kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/7] ARM: KVM: __kvm_vcpu_run function return result fix in BE case Date: Tue, 11 Feb 2014 21:41:30 -0800 Message-Id: <1392183693-21238-5-git-send-email-victor.kamensky@linaro.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1392183693-21238-1-git-send-email-victor.kamensky@linaro.org> References: <1392183693-21238-1-git-send-email-victor.kamensky@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140212_004233_765325_2C9476BC X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.42 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-kernel@lists.linaro.org, Victor Kamensky <victor.kamensky@linaro.org>, taras.kondratiuk@linaro.org, will.deacon@arm.com, andre.przywara@linaro.org, ben.dooks@codethink.co.uk, Dave.Martin@arm.com, rmk@arm.linux.org.uk X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> 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-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: victor.kamensky@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.49 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/kvm/interrupts.S b/arch/arm/kvm/interrupts.S index f0696bd..5d27f7f 100644 --- a/arch/arm/kvm/interrupts.S +++ b/arch/arm/kvm/interrupts.S @@ -199,8 +199,13 @@ after_vfp_restore: restore_host_regs clrex @ Clear exclusive monitor +#ifndef __ARMEB__ mov r0, r1 @ Return the return code mov r1, #0 @ Clear upper bits in return value +#else + @ r1 already has return code + mov r0, #0 @ Clear upper bits in return value +#endif /* __ARMEB__ */ bx lr @ return to IOCTL /********************************************************************
The __kvm_vcpu_run function returns a 64-bit result in two registers, which has to be adjusted for BE case. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> --- arch/arm/kvm/interrupts.S | 5 +++++ 1 file changed, 5 insertions(+)