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: 10223673 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 0E156602CB for ; Thu, 15 Feb 2018 21:19:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1CF12953A for ; Thu, 15 Feb 2018 21:19:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5E612953E; Thu, 15 Feb 2018 21:19:39 +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 [198.137.202.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 577A52953A for ; Thu, 15 Feb 2018 21:19:39 +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=uV/btLpHmU4QKBYmsaVfL1hCDQrQAE80nmwGkw+RQBM=; b=RM+BobO72kQ6WdXZ6jCTal6ewi bIf4iBYZC93YMi3LFsW41unv5NiD81rXdhKW6NlVUWyvASUJqyejxzLCC9m0x/kzj6GRfJxZKlt/6 pJ9Hqmwxr8lWwxYJgWiLemigMyVsNLzwx803Oe8XXTouo4PQ1BVphbqPwORsr/imjhrAfnaQRTWng 1Vmf+X4ImpP657Tbw5CCiWXvo04+i6TekLndxt/QdawPnIJxtw8cjXSSdBL2Ji+dIPvYu/0KZTxVL Js2v+lYSzULuRglBoV9WZh41cIS803GAGBoZ4rkzJiip+s1apAhia3Z+zHAgIUq+krl4Ik0Gv8iUq WCiSUOvA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emQw3-0005BC-PS; Thu, 15 Feb 2018 21:19:19 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emQhZ-0000HP-11 for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2018 21:05:05 +0000 Received: by mail-wm0-x241.google.com with SMTP id t74so3295505wme.3 for ; Thu, 15 Feb 2018 13:04:19 -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=GbRiTcs35N3FPORFo+eA0dvd1s9omE7AanPHAAX651SNR/plfZ73x7ZIfC4kht7CAc n9tIZKsDKqeAxLhF+0VKSwiCDUDAY+FLHikDRIvY0TYKRt5VRCMtkUeg7/GfkxymP+8P KLCThUmod9iA2fMhhP1+PdLcpWSmLUbLjzonRRDVZAJYcua9MCB18nMSTvqgJbaokcXA vpL5dt0CDSGc86JnE0v27St6iFdhzuFBTI6EERDJNY1sY8YBxoOW1jP9c1HyfQOPlUCK Yjqv+advz0fwXPityMRtmy/pDEn8+A6e4iJ5zxjznJZszyRAPl0hqPp2a4rovhD+xZ5Y 0oBw== X-Gm-Message-State: APf1xPBTQtgHeDF2pMdpVTg8EsveWFaWN0K85TxUSPTxmC8e/rNgLMgg 2J0uFehxn4pR6gyKsigGf++P1g== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_130421_267789_56610B2A X-CRM114-Status: UNSURE ( 9.54 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jones , kvm@vger.kernel.org, Marc Zyngier , Tomasz Nowicki , Julien Grall , Yury Norov , Christoffer Dall , Dave Martin , Shih-Wei Li MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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;