From patchwork Thu Feb 15 21:03:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 10223593 Return-Path: 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 49D3A60467 for ; Thu, 15 Feb 2018 21:05:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39CCE29512 for ; Thu, 15 Feb 2018 21:05:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E9C629529; Thu, 15 Feb 2018 21:05:28 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A613229512 for ; Thu, 15 Feb 2018 21:05:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1167297AbeBOVFY (ORCPT ); Thu, 15 Feb 2018 16:05:24 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50784 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1167321AbeBOVET (ORCPT ); Thu, 15 Feb 2018 16:04:19 -0500 Received: by mail-wm0-f67.google.com with SMTP id k87so3312423wmi.0 for ; Thu, 15 Feb 2018 13:04:18 -0800 (PST) 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=8Iof9J6TipwfsprVKdMmsoK5fgoiRt0TkMGbhdLG268=; b=LyHPNQkhkUm7XgRDd+S/pcIhVr3FyOS0p/u+D9pXKJuh1+kF2RDlP0lDFJXXiHKafj wj6AyoUffCWgVzNldnx66X9khiIn7ImYLIkICMvGIsSuTcZi4LnsgJSi74A3TPYv5HtU ZR11ewwRkleOWQKMr+IHxpr0HVlm7YBFHs8ws= 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=8Iof9J6TipwfsprVKdMmsoK5fgoiRt0TkMGbhdLG268=; b=uMEQWXOhyOWMKwDnwFNkLgy5/9LVX6ZoCmnYYbr+ThThatiRnNTSxZcCZwesfKAQLe Rxr0xwACbNxNNQmvWblrgxWX1YX4G5rXHTRQDTO6wGEcTfhNJED6YhYzrp3Y/u8RFVo9 hqm8E1gwzy4UgXuoJZBB1djWl4Yvxm/HVKs+fOscvEBOoMaaWfkVG+TPyioy2s/qU+un uQ1Gt0Wy3k5ipPRVc8e6rcBd+b7gk+SdCLYF3Ok4vdsrN1YIpxhv9QR144rajU/+znDS pwliluy1QQY1zNskWLOYk3XA0m/ge+DATMEw2S8hN4iBa8KPFmaNAQJJIuya3ZD6P0BH f4vw== X-Gm-Message-State: APf1xPA1mqUMl3dPVQRJMbQqtajQQxrOUleUg9vM4bWn5pXA9Hz8ihtz Z/lPDSK8Xaa8VcvEfo4L+vHZeg== X-Google-Smtp-Source: AH8x225uh+A76D/b2fao02o3cSe6Zd5Z6dGCL6V9slLmNLPuQtKql0X9VqtUG5Brwe1UwRrafkqqRg== X-Received: by 10.80.168.227 with SMTP id k90mr5062861edc.249.1518728657730; Thu, 15 Feb 2018 13:04:17 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id p55sm8220030edc.15.2018.02.15.13.04.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 13:04:16 -0800 (PST) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Cc: kvm@vger.kernel.org, Christoffer Dall , Marc Zyngier , Andrew Jones , Shih-Wei Li , Dave Martin , Julien Grall , Tomasz Nowicki , Yury Norov Subject: [PATCH v4 20/40] KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe Date: Thu, 15 Feb 2018 22:03:12 +0100 Message-Id: <20180215210332.8648-21-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180215210332.8648-1-christoffer.dall@linaro.org> References: <20180215210332.8648-1-christoffer.dall@linaro.org> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The comment only applied to SPE on non-VHE systems, so we simply remove it. Suggested-by: Andrew Jones Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall Reviewed-by: Andrew Jones --- arch/arm64/kvm/hyp/switch.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c index 717c8f5c6be7..a99224996e33 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c @@ -410,10 +410,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu) __fpsimd_restore_state(&host_ctxt->gp_regs.fp_regs); } - /* - * This must come after restoring the host sysregs, since a non-VHE - * system may enable SPE here and make use of the TTBRs. - */ __debug_switch_to_host(vcpu); return exit_code;