Re: [PATCH] Restore cr3 after tests on PCID

2012-09-04 Thread Avi Kivity
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

[PATCH] Restore cr3 after tests on PCID

2012-09-01 Thread Mao, Junjie
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