Message ID | 20230307005547.607353-2-dmatlack@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86: Fixes for rdpid test | expand |
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
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@google.com> --- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)