Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1719161pxj; Wed, 19 May 2021 12:15:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCKHzbqg6LJMho0M21eKEhoxANMlQcP/Plefn1nA86IdFsv/BU6XPwhLXjILMm+txS9Geh X-Received: by 2002:a17:907:1ca1:: with SMTP id nb33mr676235ejc.75.1621451736796; Wed, 19 May 2021 12:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621451736; cv=none; d=google.com; s=arc-20160816; b=0AIjUCXlI3rT10v6T1l3FhqquYCii/5CFDc2OgkzlauqGToL7kh/Jm4Ck7wkTX/fID Ytp1fJLsfhCqnnj4jiKOXoXiupOopDnsxG0xSEsjRtyzwW2nBLctTFxU50SWLInj+9lI YcxZ5tNBzXCG1Q8D0l8PQP/Ni7IxBU5tzaderVpVoT55UQ9s6/hqbIY7ZW5PBhOXhE87 r+8PrC5ZwSHfPsDXOP0cJmwAK5aAEQ//RljhKuFBaXJ9e+JeGlRqDuS0cYrGCbSgcyEY 5ZmXvzEDMouUMckR7TRxpWbTBm42p5vMxw1hOWXQXCJQQAQ1wLd3pxBO/xLmNG/XJxrt 5gjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UhLf+eMTqvgVmDy1JnhP0/EYBvns5BKG0ZaFzBFNEck=; b=ZF8RGH99Q5l+n4ywlfbt5NBerZY0BjSCY+5gL9sJsYbEaBFWWMdG/yx8+h0IQn4f0R VfhAdup2G/10hJcKrqIqb0hozzmy4ks2sPR6ss1tpfWSMFx0OQDxxUlgA65/FYt0uGVk xH4fKftknqQmoJDtJBalVT4glyoHyp56aVWAjuUX5MHkEAN7fxEPahtPSeCWzCjd3442 hq04TYa7M3l5991+FtsjeS2SStH9fItGhPTJYrCT5fceikhvV8uWAgtXqFfgIuk2SdqZ ugSKEr1HkJgZCRFfG0WeqbF3PJ26uU3SHPrBrPktdOrn5eCmMa9mQH7zr3HlRNO+d2K3 kqrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=i2Y5024K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si362089ejb.624.2021.05.19.12.15.10; Wed, 19 May 2021 12:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=i2Y5024K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239657AbhESFfa (ORCPT + 99 others); Wed, 19 May 2021 01:35:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236515AbhESFeu (ORCPT ); Wed, 19 May 2021 01:34:50 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B771C061763 for ; Tue, 18 May 2021 22:32:47 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso2842910pji.0 for ; Tue, 18 May 2021 22:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UhLf+eMTqvgVmDy1JnhP0/EYBvns5BKG0ZaFzBFNEck=; b=i2Y5024Ku0UYqibr3fbtLbTgkYGj63aqutNzgHEugRfo4iK30nrXYchV4fEuL/+s0l 1q/Ns3ADPIF79+7O1lzlCqR2g1HoSon6U5z93DG7IZzWIGo7I0qlbp0kcVaYNAQSxrJF rqBSGDs/LcM6mg53ob75K6XRJdHXUeFNzmPqkOZrqE1WyU02o19LsMg7dPMq0mvXh5j0 hWqKnLFUIrCyMqOZuXUotkm3lXIgOg43V0iUgYMPIIve+vw4aVvG90VZeTlC/0LGjAdq E1OyV6OLJFh3HYTYB6EJW9G+boXopMKDV5n2qsvl3JhDfdBTxde6NsCp5B2Pi23eK7DU yFCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UhLf+eMTqvgVmDy1JnhP0/EYBvns5BKG0ZaFzBFNEck=; b=hH8ZzEjsaYGkbNfGkh13MmeiaSb2b7mOftzORKi57jd2ucIsGSt8+ejf1e+J9NGPKu 7HYB7Fs7e9L5E0ritZtDqc6p71op+3N/5VFKQ5Z70+IGGNlpm6e24PVNgmOx4pWUIvY8 baFvm2G5vr9BkdPOuOrHjZ0hgXW1eTafU+jve/gqrt3dUChooOsslARbGlpPDbDif41Y +guFM4YLkFw7kOccIPHQ6QEDZJqXsujlu6NV7nueqhhTaLbryAGgR7jwYhC0jU1ht/6q j1bV56hvKrFpubBt9+OiDj5wSl4yu2nCk1Cg0cjV6qWMXnt3qID4V9nFd1yXUVD07CUf YM/A== X-Gm-Message-State: AOAM533jCcRgooXnLMJALUwJXPu/TuCJ3ZsiV+z2//wiSAuAzqUNydsB 0roo8jD0MvqZ/RW+0hUDodwCjgE1W46GE9Gp1/c8UQ== X-Received: by 2002:a17:902:b487:b029:ee:d04b:741e with SMTP id y7-20020a170902b487b02900eed04b741emr8755124plr.45.1621402367014; Tue, 18 May 2021 22:32:47 -0700 (PDT) MIME-Version: 1.0 References: <20210424004645.3950558-1-seanjc@google.com> <20210424004645.3950558-9-seanjc@google.com> In-Reply-To: <20210424004645.3950558-9-seanjc@google.com> From: Reiji Watanabe Date: Tue, 18 May 2021 22:32:31 -0700 Message-ID: Subject: Re: [PATCH 08/43] KVM: SVM: Drop explicit MMU reset at RESET/INIT To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 5:48 PM Sean Christopherson wrote: > > Drop an explicit MMU reset in SVM's vCPU RESET/INIT flow now that the > common x86 path correctly handles conditional MMU resets, e.g. if INIT > arrives while the vCPU is in 64-bit mode. > > This reverts commit ebae871a509d ("kvm: svm: reset mmu on VCPU reset"). > > Signed-off-by: Sean Christopherson Reviewed-by: Reiji Watanabe