Message ID | 20170423170929.27334-37-cdall@linaro.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 64FDD601E9 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 23 Apr 2017 17:35:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 648A6209D8 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 23 Apr 2017 17:35:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58C9D26530; Sun, 23 Apr 2017 17:35:56 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 CFEA2209D8 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 23 Apr 2017 17:35:55 +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=RlaSzdD7FyaqKK5hAe6Dl78zUeqpj6IMyZFy8ytiefA=; b=lvWR8tfJgbdvWntPp/w4PX/FDU nW/ec/+0AyjHZhUSr5xRhbZCEZX93v+fhD5YTQIofV2mSrrWTJBCCQEwEuxodYDuY2RLQnVn5xmR7 Dq56ZkBhLS4YDAMv5KUhw+AI1eN4mABKc7fczJpRGRjkAyEupiyYi1Tj10YBgFKtzbeXa8CvxN1od uHTuy9sIz06PAcNthypjzL+q6VLIQwDryqAVyxHz66Uz3+sPRmBEon9WuMZhuOcNUGkqW7ZXE4RB6 MgAoJXSH2EgH8UUKTGXhHuN/dkox2C/yjAqDq4IA/APdH5VGPZvTsnvbNLuhayOgHJm9F0Zp4590U a5/soW3A==; 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 1d2LQJ-00015U-Ay; Sun, 23 Apr 2017 17:35:47 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d2LMf-0003jq-HO for linux-arm-kernel@bombadil.infradead.org; Sun, 23 Apr 2017 17:32:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QAhxeWM+fdcBS5VE+cXQ3JHFerXEXw+iCh409sT5VWU=; b=GcYDxMbwGVcEOwQiiRwlmceqE hUx25brgyp1a4AiVg0IkkVHRUaqHo4KjhR3BFothfGsK+0ZDlOZea9ddzQmwR/Ljpre4PdfnItiix Tkga6n+jWZRMT6Ez7D/3k4fWhYeI9Cq9SbMxpaUdRDTcs2UMVVBcFVoQjq3aG5l7G6C/Qy8XqcC8l cWzOaIIaNW7wNlFseSa2299p6TaXCmdn3kg9IXqIXC7YhyHykeZ6KiF2yhDKtF5AT5/XrH4pkp6HE JpoIKqxl5gs+I+/5wi8xyoWLInSpIbpe+cm9h+Ga2QzOzlHJr07x/f0IUfR3lM5mL49at2iVOfd73 y8iziwyRQ==; Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d2L1r-0005Ba-9W for linux-arm-kernel@lists.infradead.org; Sun, 23 Apr 2017 17:10:33 +0000 Received: by mail-wm0-x232.google.com with SMTP id w64so46376132wma.0 for <linux-arm-kernel@lists.infradead.org>; Sun, 23 Apr 2017 10:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QAhxeWM+fdcBS5VE+cXQ3JHFerXEXw+iCh409sT5VWU=; b=NagxhBBFbK01tIGAFAxWvozs+XBj8g132Al5RyD++dFN3hOwbnuJYECF/szlMM3prZ 177faycKpUzHEVwNKy09qi23F+0kCr2l3c2B6eIp8l7XOdD3LuI9nuC+EzpYvJR9CGrP OBL9Rv+QvRwSrOuTK/6ki+xd6CJ/JM3rJPy+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QAhxeWM+fdcBS5VE+cXQ3JHFerXEXw+iCh409sT5VWU=; b=igoDWHanezomvAqMSxyZSihiftRCZqsvRz67rRE/pZzBx1cpzblNFEK6oEEx8utivY CAP3mCdZLA78GvOsrNKI9nHHCmi8jFk/nc5eujMPoXMm0G2aE9TtApwgXK6b5vLuLkKq UzcR+STaxg3CZdQQYQAEiLqFQOLLkiBQ5Fvf2pwNdrM15c8cRvlKtqTImI0PMxXjscnS NCHclASSdH2HrLp4FFj23vtrvkQejFXzKfiJogfv1hBZVOiHymcrJ8z5LqqhRedPOOdg GNjKvqMhz5k5fwJSTp2wveinX27vrQq6UAGGB3NiLwu9f13I58nbqzEzpYcudKODrWo2 7QjQ== X-Gm-Message-State: AN3rC/5EUVJWyB4hF9H33eE5I7Ypb6f5++gyD8g18T2+lK9wWt1HHNyH FcXzJdAP5BDEleG0 X-Received: by 10.80.143.193 with SMTP id y59mr137920edy.132.1492967409016; Sun, 23 Apr 2017 10:10:09 -0700 (PDT) Received: from localhost.localdomain (xd93ddc2d.cust.hiper.dk. [217.61.220.45]) by smtp.gmail.com with ESMTPSA id 58sm2803521edz.2.2017.04.23.10.10.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Apr 2017 10:10:08 -0700 (PDT) From: Christoffer Dall <cdall@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= <rkrcmar@redhat.com> Subject: [PULL 36/79] arm64: hyp-stub: Stop pointlessly clobbering lr Date: Sun, 23 Apr 2017 19:08:46 +0200 Message-Id: <20170423170929.27334-37-cdall@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170423170929.27334-1-cdall@linaro.org> References: <20170423170929.27334-1-cdall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170423_131031_504332_C294B7AE X-CRM114-Status: UNSURE ( 9.19 ) 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>, Christoffer Dall <cdall@linaro.org>, kvmarm@lists.cs.columbia.edu, 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/arch/arm64/kernel/hyp-stub.S b/arch/arm64/kernel/hyp-stub.S index d3b5f75..e4215ad 100644 --- a/arch/arm64/kernel/hyp-stub.S +++ b/arch/arm64/kernel/hyp-stub.S @@ -55,12 +55,6 @@ ENDPROC(__hyp_stub_vectors) .align 11 el1_sync: - mrs x30, esr_el2 - lsr x30, x30, #ESR_ELx_EC_SHIFT - - cmp x30, #ESR_ELx_EC_HVC64 - b.ne 9f // Not an HVC trap - cmp x0, #HVC_GET_VECTORS b.ne 1f mrs x0, vbar_el2