[Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-04-24 Thread Mohit Gambhir
This patch tests VPMU functionality in the hypervisor on Intel machines. The tests write to all valid bits in the MSRs that get exposed to the guests when VPMU is enabled. The tests also write invalid values to the bits that should be masked and expect the wrmsr call to fault. The tests are curren

Re: [Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-04-25 Thread Andrew Cooper
On 24/04/17 18:54, Mohit Gambhir wrote: > This patch tests VPMU functionality in the hypervisor on Intel machines. > The tests write to all valid bits in the MSRs that get exposed to the guests > when VPMU is enabled. The tests also write invalid values to the bits > that should be masked and expec

Re: [Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-04-25 Thread Mohit Gambhir
On 04/25/2017 02:20 PM, Andrew Cooper wrote: On 24/04/17 18:54, Mohit Gambhir wrote: This patch tests VPMU functionality in the hypervisor on Intel machines. The tests write to all valid bits in the MSRs that get exposed to the guests when VPMU is enabled. The tests also write invalid values t

Re: [Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-05-03 Thread Andrew Cooper
On 25/04/17 22:45, Mohit Gambhir wrote: >>> diff --git a/tests/vpmu/Makefile b/tests/vpmu/Makefile >>> new file mode 100644 >>> index 000..1eaf436 >>> --- /dev/null >>> +++ b/tests/vpmu/Makefile >>> @@ -0,0 +1,9 @@ >>> +include $(ROOT)/build/common.mk >>> + >>> +NAME := vpmu >>> +CATEGORY

Re: [Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-05-04 Thread Mohit Gambhir
On 05/03/2017 04:41 PM, Andrew Cooper wrote: On 25/04/17 22:45, Mohit Gambhir wrote: diff --git a/tests/vpmu/Makefile b/tests/vpmu/Makefile new file mode 100644 index 000..1eaf436 --- /dev/null +++ b/tests/vpmu/Makefile @@ -0,0 +1,9 @@ +include $(ROOT)/build/common.mk + +NAME := vpmu

Re: [Xen-devel] [PATCH v3 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU

2017-05-04 Thread Mohit Gambhir
Adding personal email id for future correspondence on this thread - mgamb...@outlook.com On 05/04/2017 05:13 PM, Mohit Gambhir wrote: On 05/03/2017 04:41 PM, Andrew Cooper wrote: On 25/04/17 22:45, Mohit Gambhir wrote: diff --git a/tests/vpmu/Makefile b/tests/vpmu/Makefile new file mode 100