Message ID | 20171204140348.21965-17-cdall@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98E476056E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 4 Dec 2017 14:34:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC31828D34 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 4 Dec 2017 14:34:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C05E928D39; Mon, 4 Dec 2017 14:34:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, URIBL_DBL_ABUSE_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E8EF28D34 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 4 Dec 2017 14:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=m/PhbIa5mZ1Besl2NhWaCSXsW8ogAZFSROe4KXYjQ8I=; b=puait8YXKJExFbJUOqRcei25r0 yHX2RwSrWyWiDOQQDmdT9IxBCR0/C2dm1kPWwR3SVheAHlOCeSeUGLLAxEx8htpe1BtqrWp/XAjPU FjoQP4lIKhYVidavydf5sGFu+I0N1ZCqY/BeJBK/VVp5OsO0VkJ+yel8TnFuOj9a/IzwuIs6KCz+K W43+o7iT/s1Ok5kJ5lhN0k4wJraXk7kz1PR+TsRHX1kP9tviRU++NO1i01HUf/qJSoA0p7KsnWhzP GHJ1pz7QxuMZHS+ibice2O8Lv8IfTpmnrTB3hDUsTmzyTsuGWJgnHKeO/Qwtw/gpu9zolC8tVAxqX CsEn/8og==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrop-0005HS-76; Mon, 04 Dec 2017 14:34:03 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLrMF-0002Rz-9O for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 14:04:45 +0000 Received: by mail-wm0-x242.google.com with SMTP id 9so5994900wme.4 for <linux-arm-kernel@lists.infradead.org>; Mon, 04 Dec 2017 06:04:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=christofferdall-dk.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VYxmL+PZNurnmoYpZ7X7QGf0B46epS0TWuDGYyV98VI=; b=EhnGxpRq4srcQQwPlbKAYJzdpW53Agv3lZjtjkdhIj7WWqBgPuyCzQD+ui7A7xrQwb ec78BydyisNjd0XchFM+A8IkOOCnmL+bG2s6cS1pbyyB+cVXwqo2XLhMIhcQNQtZNLrE ECxLeydHHOXg6a3KegujrpNOutZMDKGZKDs7kA5O/ggjJIoKceFw5bqS8T12zXqhD+9y chOY+USFn9+N3hJ3WfODv/8rVjG+NWCZ06Ximcc5WiTMDiEaY+sHBBssP41ugR0qX+Vv mlHjfUuvrcuiQ+g5fPYTVNpXJI3na/1RRj1F/20Ny01DolSGXE1MRrV/FtAYuzH3o0Rd jhmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=VYxmL+PZNurnmoYpZ7X7QGf0B46epS0TWuDGYyV98VI=; b=IUJDjs74m7hUA8/wbcrRyHf4i13az9Q9rKG2p0PZjzwCk3svD4VwaHy6bKaSpVxGYL UJ3azJ2CEMTSfXSPHEQy074No9jXX2KVYUoCTHcqTREX2kEBEYh/qLvuZavcXPlZuNrO ntVOuJrpAYrRZpD+nxiebsHTuEOMvaSBISt6B12BsNJnrh5qoNY0EjIhRbnRtQ6xKNHJ iSLbqOmXxYYZZRCDBg6n+/9MwBj19+bjW4fSyLLO9dE65zKVdpTD/OLuuRif9IhsZfYw TGt0Lz+ZRSfcjtzGGFV6KWCSysnngk72msje9Yl88e0KBDYmWOcjkZRs/vm5N9PqN6Te DszA== X-Gm-Message-State: AJaThX6a/6/1UOh6OErKXVhAKhcP0jMj9g8rv2RU3+tsnHwFz4g/Z+b9 rNroRZybZWbRsN9gh2kXsMsLeQ== X-Google-Smtp-Source: AGs4zMY4joNoGqc4zJZbwcDQ/8GdCDAwlICzB0R8zrneHMFKXYD2UZRzVoquWOi3as+fwhd5A3iTFQ== X-Received: by 10.28.28.5 with SMTP id c5mr7459230wmc.115.1512396253343; Mon, 04 Dec 2017 06:04:13 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id g7sm22794279wra.38.2017.12.04.06.04.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 06:04:12 -0800 (PST) From: Christoffer Dall <cdall@kernel.org> To: kvmarm@lists.cs.columbia.edu, Paolo Bonzini <pbonzini@redhat.com>, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= <rkrcmar@redhat.com> Subject: [PULL 19/19] KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion Date: Mon, 4 Dec 2017 15:03:48 +0100 Message-Id: <20171204140348.21965-17-cdall@kernel.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171204135637.21620-1-cdall@kernel.org> References: <20171204135637.21620-1-cdall@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171204_060431_931330_87285630 X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Marc Zyngier <marc.zyngier@arm.com>, stable@vger.kernel.org, Christoffer Dall <christoffer.dall@linaro.org>, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/virt/kvm/arm/hyp/vgic-v2-sr.c b/virt/kvm/arm/hyp/vgic-v2-sr.c index a3f18d362366..d7fd46fe9efb 100644 --- a/virt/kvm/arm/hyp/vgic-v2-sr.c +++ b/virt/kvm/arm/hyp/vgic-v2-sr.c @@ -34,11 +34,7 @@ static void __hyp_text save_elrsr(struct kvm_vcpu *vcpu, void __iomem *base) else elrsr1 = 0; -#ifdef CONFIG_CPU_BIG_ENDIAN - cpu_if->vgic_elrsr = ((u64)elrsr0 << 32) | elrsr1; -#else cpu_if->vgic_elrsr = ((u64)elrsr1 << 32) | elrsr0; -#endif } static void __hyp_text save_lrs(struct kvm_vcpu *vcpu, void __iomem *base)