xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2][XTF] xtf/vpmu VPMU tests
@ 2017-04-24 17:46 Mohit Gambhir
  2017-04-24 17:46 ` [PATCH v2 1/2][XTF] xtf/vpmu: Add Intel PMU MSR addresses Mohit Gambhir
  2017-04-24 17:46 ` [PATCH v2 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU Mohit Gambhir
  0 siblings, 2 replies; 4+ messages in thread
From: Mohit Gambhir @ 2017-04-24 17:46 UTC (permalink / raw)
  To: andrew.cooper3, xen-devel; +Cc: boris.ostrovsky, Mohit Gambhir

This patch series adds tests to validate VPMU functionality on x86. The tests   
write and read PMU MSRs to make sure that that they have been exposed           
correctly.                                                                      
                                                                                
The ultimate goal is to address security vulnerabilities, if any, that are         
vaguely mentioned in XSA-163 and make VPMU available to guests with reasonable  
caveats.                                                                        
                                                                                
Further testing is required to validate the MSR state save/restore functionality
of the VPMU, concurrent usage of the counters by a number of guests and analyze 
if any other non-PMU MSRs have been exposed incorrectly

Mohit Gambhir (2):
  xtf/vpmu: Add Intel PMU MSR addresses
  xtf/vpmu: MSR read/write tests for VPMU

 arch/x86/include/arch/msr-index.h |  11 +
 tests/vpmu/Makefile               |   9 +
 tests/vpmu/main.c                 | 504 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 524 insertions(+)
 create mode 100644 tests/vpmu/Makefile
 create mode 100644 tests/vpmu/main.c

-- 
2.9.3


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-24 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-24 17:46 [PATCH v2 0/2][XTF] xtf/vpmu VPMU tests Mohit Gambhir
2017-04-24 17:46 ` [PATCH v2 1/2][XTF] xtf/vpmu: Add Intel PMU MSR addresses Mohit Gambhir
2017-04-24 17:49   ` Mohit Gambhir
2017-04-24 17:46 ` [PATCH v2 2/2][XTF] xtf/vpmu: MSR read/write tests for VPMU Mohit Gambhir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).