From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <53F26F29.9060308@redhat.com> Date: Mon, 18 Aug 2014 23:24:57 +0200 From: Paolo Bonzini MIME-Version: 1.0 To: Xiao Guangrong , gleb@kernel.org CC: avi.kivity@gmail.com, mtosatti@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, David Matlack , stable@vger.kernel.org Subject: Re: [PATCH 2/2] kvm: x86: fix stale mmio cache bug References: <1407999713-3726-1-git-send-email-xiaoguangrong@linux.vnet.ibm.com> <1407999713-3726-2-git-send-email-xiaoguangrong@linux.vnet.ibm.com> In-Reply-To: <1407999713-3726-2-git-send-email-xiaoguangrong@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: kvm-owner@vger.kernel.org List-ID: Il 14/08/2014 09:01, Xiao Guangrong ha scritto: > * Clear the mmio cache info for the given gva, > - * specially, if gva is ~0ul, we clear all mmio cache info. > + * specially, if gva is ~MMIO_GVA_ANY, we clear all mmio cache info. Extra ~. > */ > +#define MMIO_GVA_ANY ~((gva_t)0) > + Better: (~(gva_t)0). Paolo