mbox series

[0/3] Test: nSVM: Test effects of host EFLAGS.RF on VMRUN

Message ID 20210726180226.253738-1-krish.sadhukhan@oracle.com (mailing list archive)
Headers show
Series Test: nSVM: Test effects of host EFLAGS.RF on VMRUN | expand

Message

Krish Sadhukhan July 26, 2021, 6:02 p.m. UTC
Patch# 1: Moves the setter/getter functions for the DR registers, to the
	  common library so that other tests can re-use them.
Patch# 2: Adds the #define for the RF bit in EFLAGS register.
Patch# 3: Adds a test for the behavior of host EFLAGS.RF bit on VMRUN,
	  based on the following from section "VMRUN and TF/RF Bits in
	  EFLAGS" in APM vol 2,

	      "EFLAGS.RF suppresses any potential instruction breakpoint
	       match on the VMRUN. Completion of the VMRUN instruction
	       instruction clears the host EFLAGS.RF bit."


[PATCH 1/3] Test: x86: Move setter/getter for Debug registers to
[PATCH 2/3] Test: x86: Add a #define for the RF bit in EFLAGS
[PATCH 3/3] Test: nSVM: Test effects of host EFLAGS.RF on VMRUN

 lib/x86/processor.h | 33 ++++++++++++++++++++++
 x86/debug.c         | 79 +++++++++++++---------------------------------------
 x86/svm_tests.c     | 74 ++++++++++++++++++++++++++++++++++++++----------
 3 files changed, 111 insertions(+), 75 deletions(-)

Krish Sadhukhan (3):
      Test: x86: Move setter/getter for Debug registers to common library
      Test: x86: Add a #define for the RF bit in EFLAGS register
      Test: nSVM: Test effects of host EFLAGS.RF on VMRUN

Comments

Paolo Bonzini July 26, 2021, 9:59 p.m. UTC | #1
On 26/07/21 20:02, Krish Sadhukhan wrote:
> Patch# 1: Moves the setter/getter functions for the DR registers, to the
> 	  common library so that other tests can re-use them.
> Patch# 2: Adds the #define for the RF bit in EFLAGS register.
> Patch# 3: Adds a test for the behavior of host EFLAGS.RF bit on VMRUN,
> 	  based on the following from section "VMRUN and TF/RF Bits in
> 	  EFLAGS" in APM vol 2,
> 
> 	      "EFLAGS.RF suppresses any potential instruction breakpoint
> 	       match on the VMRUN. Completion of the VMRUN instruction
> 	       instruction clears the host EFLAGS.RF bit."
> 
> 
> [PATCH 1/3] Test: x86: Move setter/getter for Debug registers to
> [PATCH 2/3] Test: x86: Add a #define for the RF bit in EFLAGS
> [PATCH 3/3] Test: nSVM: Test effects of host EFLAGS.RF on VMRUN
> 
>   lib/x86/processor.h | 33 ++++++++++++++++++++++
>   x86/debug.c         | 79 +++++++++++++---------------------------------------
>   x86/svm_tests.c     | 74 ++++++++++++++++++++++++++++++++++++++----------
>   3 files changed, 111 insertions(+), 75 deletions(-)
> 
> Krish Sadhukhan (3):
>        Test: x86: Move setter/getter for Debug registers to common library
>        Test: x86: Add a #define for the RF bit in EFLAGS register
>        Test: nSVM: Test effects of host EFLAGS.RF on VMRUN
> 

Queued, thanks.

Paolo