From patchwork Tue Feb 27 11:34:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 10244943 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 46B546055B for ; Tue, 27 Feb 2018 11:44:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 398212865F for ; Tue, 27 Feb 2018 11:44:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E18E286D0; Tue, 27 Feb 2018 11:44:30 +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 B2A0B28696 for ; Tue, 27 Feb 2018 11:44:29 +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=kkitV316BtzRd6Jhz4lKAxDrUiiBHFMUvFKUbZ3Dg74=; b=Qf8nXQiG6aSDuHWD8gJcUnDxLC NKusg18u6Tp8eaEJZzIipp5/8g1lLJ/EJNd7hrJ/4D6bUWwKHr1/qBAkEyN9mp3xh2QwlhzDA7Eli I9OSm3Ll66799++nIROaiWRhUlOUhuzcIr8iEo4ooHus/1QPed9IXnhrPEOyNGdoOX1S9tuOUm74C KGlr5OW6Ys4hNm8QmmQnfnrgbf4Ap47fbvFeBSMWCpb2JSZ3RXnwf9WAWPzpypdILMD/aKajJk+gQ x/lWvRP5goNeFfMKfLSNVkOM5B073YMctYRbt7uDf8+8yNGrc2qV9MwByiiHKJ7UuXm67pXkplLY2 yrpb/X5A==; 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 1eqdgE-0005jh-Im; Tue, 27 Feb 2018 11:44:22 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqdXM-0006gt-4E for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2018 11:35:34 +0000 Received: by mail-wm0-x244.google.com with SMTP id z9so23018456wmb.3 for ; Tue, 27 Feb 2018 03:35:01 -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=JIR6oVn6mbqZpuBXVlePe8GehxFDWm6bNq9CqgNxUlU=; b=kuDQVqiOUaD9UEzADbTdnMtavPFPybGeOMn+2GGp/SaPsrNKZ1CdfaO5JDZHqyNVNk HTFDYZBiWJrv5/ixrOukBJIUBmKRR2/5FlY/R+nwVkKK2sW5dB450ukEoc5+RQe97Lzc V+136fSWVmQ5z+wrw4xgpigNfZiImAyDFCDibDdq7mov45UN/vgC9SugNnaOuNef8dNu qDyKoum6Ek9RNZM2K21aKJJzGCJruaXV8Onh9skp83YijcWMBzY5e3boSyk5ir+ka+Xx AfKBfaVLWEUuFjiVfh6owNTxV/rfgSrerJ/sZo68GlHodQw44CjTnxzf1Vh2dcOMveYC pb9A== 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=JIR6oVn6mbqZpuBXVlePe8GehxFDWm6bNq9CqgNxUlU=; b=geiuJT8B4TmMQpnxlalVW6qjD1Yxm/dE9Uw035Hp0jJ+HdoMjS8JAk6MhmyP5slYdO QE7SO114ZaptgH5ciXb6UEgpWJI0JGC9TP4I0ERm+mabYWPLRxsj2gkiJQoyDopkBh6K w2sFiGMZVJLYfiV0QgUembnl92NTLP3qPZrbsNEaZ6SNrJfG4aAdbxF3rDhXJ5sGB2cZ uVwwN1FHnghhKPDjOPhIfiPH18xGAnKZrgMTc9PzRULbpUU1lGOw/93ArfsPAcLwi+nC brgRhy84xlkH8OFLGPSxRocVjMw9nZuMcE1QZjAR0J7FizbOTICoTV5cNaD+wkLo9tJT Wjzg== X-Gm-Message-State: APf1xPCcEcocAvPmBwf45k4033310tj8WQS1ZUvP5dWn6upHA79EGVGy NbqWLbU2TfoeZATTjt8OQegThyJiku0= X-Google-Smtp-Source: AH8x22501z+0XI7Rj7W5v0mh+tSNM3Sv8sUHcz2DWyefnIF+J116kmJnc3c3FpCyjYaO5NHbQj09CQ== X-Received: by 10.80.151.105 with SMTP id d38mr18497288edb.79.1519731300235; Tue, 27 Feb 2018 03:35:00 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id m1sm9176786ede.39.2018.02.27.03.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Feb 2018 03:34:59 -0800 (PST) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 20/40] KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe Date: Tue, 27 Feb 2018 12:34:09 +0100 Message-Id: <20180227113429.637-21-cdall@kernel.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180227113429.637-1-cdall@kernel.org> References: <20180227113429.637-1-cdall@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180227_033513_068740_B8FB902D X-CRM114-Status: GOOD ( 10.16 ) 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 , 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 From: Christoffer Dall The comment only applied to SPE on non-VHE systems, so we simply remove it. Suggested-by: Andrew Jones Acked-by: Marc Zyngier Reviewed-by: Andrew Jones Signed-off-by: Christoffer Dall --- 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 d60d3a018882..fd845dda007a 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;