From patchwork Thu Dec 7 17:06:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 10100255 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 D468D60360 for ; Thu, 7 Dec 2017 17:10:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB7AA23E64 for ; Thu, 7 Dec 2017 17:10:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADD6728543; Thu, 7 Dec 2017 17:10:50 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 26AF328502 for ; Thu, 7 Dec 2017 17:10:49 +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=/oBarwmCEt1+Eay+T9BNsG5JuauW/B8WdrYtyorc6Gk=; b=L670BC1iCIv8XD9cqiJJOaAiUo IXhW/pt4cyCEXQlRWHxIEFZvlSoz43QZGGNy8QJdCr/LlJ4Lxl0ldWMPmof8yGx43Gpf0wwRUkMtN 6ysQMQpSim6SZYm2Zx7XMGNuQ47V/Bje4sXA96VGYfl4Y0z4CiOIIy2vZIOu54mNn5m+6E0zMdYgR w94tuN9KbgZtNF7V+COhsisrihEL7Pmq29YaTHq08XNxKlyHeml28ZQolYwCEfZcqqXe9XEeNemaj BuBHI5cA8S0Gj1GVjGxF/AKQHozC3c6nzHj/HaqbBM7/l2S8AmJNj/N5JTkGpJGTo7O69i/ZBhCDf M2MrxuDQ==; 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 1eMzhA-0007Zd-Ow; Thu, 07 Dec 2017 17:10:48 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eMzdu-000370-J6 for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2017 17:07:35 +0000 Received: by mail-wm0-x241.google.com with SMTP id i11so14083358wmf.4 for ; Thu, 07 Dec 2017 09:07:11 -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=HlJm9HTRe1GPoYBM2zBQY+Z1DyjvRORDYTeE04LFqxE=; b=Tt7ukXRkxYgdkTz+C0gjjfnkmqwAl6AjLouffvSsnQ8HG2MBTuT70I3ac1fTMIZMXB cKldWvBGT7Mgx3tiM1jLII6dX1dnVJN4BWAotvIZBUR7BgjZ8WCHYCBWSQq5CvKdqjbZ GQYHYb04ZP6Q36ZrjDfQYh5Ux/WbBxolAz2GU= 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=HlJm9HTRe1GPoYBM2zBQY+Z1DyjvRORDYTeE04LFqxE=; b=EX8mMpgerR6Tf0RVfz9T3cMpsRUiG87N1ijvWu95hEzb6a4rntaMVIgWWvuZJpn7YR 8EK3qEWQ06cTrDuVgafT/Vbpo81JQGdy5EsEZyj+H4yo/dq3/CxkNmd0MnJZ67kaAzwh 0CEW1/b8b6Swuz1GpJNRZj0s9f0FobiNMH1LZD4LzKTXQefTSD8hOX3N9KXjRbnSDi80 UTXCBz4HH9DCaoZbA0C3eFuoR/FONX/xXoCSsMuxg0LX1LTzx4MKYD31nKESpgywj/6H 6XZlaXlaQi/Y/+ZRzfdqJqP2NNYbEZmXmS0Plm8QBnlsmaxm3RIUnjOp7h2+E+p4oMQd Xeaw== X-Gm-Message-State: AJaThX4xxRWz9wmNK1fzc70uIgaKxa5HVB//oGNIR+l8OAh+AxLEiX6A Ou8Uge6nwqFArscLNe+dJCOA3A== X-Google-Smtp-Source: AGs4zMYcFaQHUaGXYpyJvIzT6fnUAo2yATXj1228btlrQDs7ha42HydkoEuNyAwg64PKYLQlFK8LEg== X-Received: by 10.80.134.213 with SMTP id 21mr48141315edu.83.1512666429647; Thu, 07 Dec 2017 09:07:09 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id a16sm2868270edd.19.2017.12.07.09.07.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 09:07:08 -0800 (PST) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 18/36] KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe Date: Thu, 7 Dec 2017 18:06:12 +0100 Message-Id: <20171207170630.592-19-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171207170630.592-1-christoffer.dall@linaro.org> References: <20171207170630.592-1-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171207_090727_466936_4C445498 X-CRM114-Status: UNSURE ( 8.84 ) 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: Marc Zyngier , Andrew Jones , Christoffer Dall , Shih-Wei Li , kvm@vger.kernel.org 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 Signed-off-by: Christoffer Dall Acked-by: Marc Zyngier --- 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 13c990c6eb64..9e5bc490ef0f 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c @@ -382,10 +382,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu) sysreg_restore_host_state_vhe(host_ctxt); - /* - * 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;