Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp618342pxy; Wed, 28 Apr 2021 10:34:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDmR+LT2/ofa1UuzB8gcQbddGlhceTIvmG7XvWZyATY2uGrdDp8HeAdW2Fh5J7+oAMfy0F X-Received: by 2002:a17:906:1fca:: with SMTP id e10mr18126064ejt.486.1619631290706; Wed, 28 Apr 2021 10:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619631290; cv=none; d=google.com; s=arc-20160816; b=KauJPS7OhCIaY6HhZoFpcExdFXfSyj4xgHUld4I9fk2MNtkIQWU0D3KcFH4czBEFpO woQnjYCasP04kzYRqmqnGY+ECc6Cv/C7cqJogNtaX4WB31FLUOYEaxnc5jDXlPjdlJTx jVZxUHU4YAYLKzfs7l+BFdT1oyxcLkP6zZpkZwuC+n0wC6upVc7NS4ELlxYyf3aMyyzM ttH7KRIKU31kbLi4gQ3e1fLcwRpSV2nu8OEy/m8zNpfVFYyke0FkrCpVvFBB8GF4tJx8 cWQKPx0LRhpH+vSBDd1AkDyCOvSOYHimQaxJYG6MciFGBo22HbOcE/ik/gWckUPGjLng SYdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=iGL4C5pisQWePSYbT1yoPzAALGDCskG6Y8klDr3F6nM=; b=oTD/rVNq6Nt8lsYHV+sQtUoT7OhVqpyCk6bOkZrOjj9OMjA2nAaf671SymWRQOzeKH CeM41wNMHNkZCuEg9g1sg+CZcchXDjamWQsNQ/q+1oCXNLJp1j9NYZo+SaJaleMYrJiU eGTLXJaX4h0kS2ofKYRFKAAO16DoqZ/GfMtAs7l4jnpFi3IB4OE730l8AIOe5DzUEblu AtTLQEUAcf0inB65mRP65fGpcxT6JFLkR/Ces2YRatzT1xiZaEFEV8WxSGvVpSxxBtmy ehfAlx8InZtT27c9+UT7VHfwHPIVrfC25ms71D2u9BKeR5gYzS+0j6hN58GZooHthFBD si3g== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p22si642473ejg.624.2021.04.28.10.34.26; Wed, 28 Apr 2021 10:34:50 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239902AbhD1NsU (ORCPT + 99 others); Wed, 28 Apr 2021 09:48:20 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:44743 "EHLO mail-wr1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239888AbhD1NsQ (ORCPT ); Wed, 28 Apr 2021 09:48:16 -0400 Received: by mail-wr1-f50.google.com with SMTP id h15so10888609wre.11; Wed, 28 Apr 2021 06:47:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iGL4C5pisQWePSYbT1yoPzAALGDCskG6Y8klDr3F6nM=; b=PmRSIZxDKcE8Th/T03mo9M+jroj+CMvtCwp8KOQclXwdRAe3yZpel91m5Nqgdznp8k n9JYbatuAeR0IOKTOKxkT+l2m+Qb7JhQbpQblQpKcLzYq0JfGuecMXOIxyJL251kDcFL DqGz90WaKftdHliRnDnAlpc0U3kmhGGeJNWih/QU1P3MJIhauQnNyA7g8SSMqaxcRA/9 U44Ym30iibN9Pitdy8KVB9ioqgINpfXpwwzw+vHR1aPonDTsqFIKjT/APo6NgamaYLvO HkMeFIhSuvAzm1eMKaVEJXNw+YhyVKOFSiDOV/esfH8zFm1VjD8RMdg0ZqEYm/kiGNAJ UCRA== X-Gm-Message-State: AOAM532Z4z0zqDnoktt61k5h2cKp3bv7sOb0ezLocyJUwqm2ESCnvYXM 3WmUPfRgBWDD4L1WtmN3lls= X-Received: by 2002:adf:de8b:: with SMTP id w11mr20658775wrl.315.1619617650238; Wed, 28 Apr 2021 06:47:30 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id u9sm3674051wmc.38.2021.04.28.06.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 06:47:29 -0700 (PDT) Date: Wed, 28 Apr 2021 13:47:28 +0000 From: Wei Liu To: Vineeth Pillai Cc: Lan Tianyu , Michael Kelley , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Tom Lendacky , Wanpeng Li , Jim Mattson , Joerg Roedel , Wei Liu , Stephen Hemminger , Haiyang Zhang , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "K. Y. Srinivasan" , x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org Subject: Re: [PATCH v4 2/7] hyperv: SVM enlightened TLB flush support flag Message-ID: <20210428134728.jmu6bnjemhid3up7@liuwe-devbox-debian-v2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 27, 2021 at 08:54:51PM +0000, Vineeth Pillai wrote: > Bit 22 of HYPERV_CPUID_FEATURES.EDX is specific to SVM and specifies > support for enlightened TLB flush. With this enlightenment enabled, > ASID invalidations flushes only gva->hpa entries. To flush TLB entries > derived from NPT, hypercalls should be used > (HvFlushGuestPhysicalAddressSpace or HvFlushGuestPhysicalAddressList) > > Signed-off-by: Vineeth Pillai Acked-by: Wei Liu