Run the tsc test with -cpu max to enable RDPID testing. The current configuration (-cpu kvm64,+rdtscp) does not include RDPID even if the host supports. In effect, test_rdpid() never runs. Use max instead of adding +rdpid to the existing configuration to avoid this biting someone in the future if they add a test for a new feature. Fixes: 10631a5bebd8 ("x86: tsc: add rdpid test") Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> --- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index f324e32d60ef..c4eaa8ef9bab 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -247,7 +247,7 @@ extra_params = -cpu Opteron_G1,vendor=AuthenticAMD [tsc] file = tsc.flat -extra_params = -cpu kvm64,+rdtscp +extra_params = -cpu max [tsc_adjust] file = tsc_adjust.flat -- 2.40.0.rc0.216.gc4246ad0f0-goog