From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Restore cr3 after tests on PCID Date: Tue, 04 Sep 2012 14:59:45 +0300 Message-ID: <5045ED31.3080804@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , "'kvm@vger.kernel.org'" To: "Mao, Junjie" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13326 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756773Ab2IDL7s (ORCPT ); Tue, 4 Sep 2012 07:59:48 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 09/01/2012 11:12 AM, Mao, Junjie wrote: > The INVPCID enabling test assumes cr3[11:0] is 0. But at present PCID enabling > test sets cr3[11:0] to 1 for its own purpose and doesn't restore the register, > which leads to a failure when INVPCID test tries to enable PCIDE. > > This patch restores cr3 after PCID enabling test is done so that PCIDE can be > enabled normally in later tests. Thanks, applied. -- error compiling committee.c: too many arguments to function