This series fixes couple of unittest failures for SVM. 1.The test ./x86/access is failing with timeout. 2.The test ./x86/svm failure with infinite loop. --- v2: 1. Modified the check in ac_test_legal to limit the number of test combinations based on comments from Paolo Bonzini and Sean Christopherson. 2. Changed the rdrand function's retry method. Kept the retry outside the function. Tom Lendacky commented that RDRAND instruction can sometimes loop forever without setting the carry flag. v1: https://lore.kernel.org/kvm/162826604263.32391.7580736822527851972.stgit@bmoger-ubuntu/ Babu Moger (2): x86: access: Fix timeout failure by limiting number of tests nSVM: Fix NPT reserved bits test hang lib/x86/processor.h | 11 +++++++++++ x86/access.c | 11 +++++++---- x86/svm_tests.c | 28 ++++++++++++++++++++++++---- 3 files changed, 42 insertions(+), 8 deletions(-) --