From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range() Date: Fri, 11 Jan 2019 14:51:38 +0100 Message-ID: <20190111135138.GG14852@flask> References: <20190104072044.1800-1-Tianyu.Lan@microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lan Tianyu , pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: lantianyu1986@gmail.com Return-path: Content-Disposition: inline In-Reply-To: <20190104072044.1800-1-Tianyu.Lan@microsoft.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2019-01-04 15:20+0800, lantianyu1986@gmail.com: > From: Lan Tianyu > > The "ret" is initialized to be ENOTSUPP. The return value of > __hv_remote_flush_tlb_with_range() will be Or with "ret" when ept > table potiners are mismatched. This will cause return ENOTSUPP even if > flush tlb successfully. This patch is to fix the issue and set > "ret" to 0. > > Fix: a5c214da("KVM/VMX: Change hv flush logic when ept tables are mismatched.") > Signed-off-by: Lan Tianyu > --- Applied, thanks.