Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scenario/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ By having dedicated folders for each scenario, it becomes easier to manage and e
```
./runtests -f <path_to_scenario_test>
```

### KVM
For KVM tests such as tests-kvm, it provides a case list, and can't run directly. Replace the test cases in KVM/docs/tdx_temp.cfg by the case list in file tests-kvm, and run KVM tests by avocado.
# Test cases
only tdx_basic td_disable_ept multi_vms.1td_1vm multi_vms.2td.4vcpu tsc_freq.tdvm.default tsc_freq.tdvm.settsc td_huge_resource.half td_huge_resource.max_vcpus
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-acpica-mrrm-erdt
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-apx
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-cpuid-ifm
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-edac
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-fred
62 changes: 62 additions & 0 deletions scenario/dmr-ov/tests-isst
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This file collects the isst cases for Intel® server platforms
# here assume the platform supports SST perf profile level 0,3,4
# user can adjust the case lists based on the actual SUT SST
# perf profile level support status
# @hw_dep:
# @other_dep:
# @other_warn: which turbostat 2>/dev/null @ turbostat tool is required, please get it from the latest upstream kernel-tools
# @other_warn: which stress 2>/dev/null @ stress tool is required, please install stress-ng.x86_64 and run command: ln -s /usr/bin/stress-ng /usr/bin/stress
# @other_warn: which intel-speed-select 2>/dev/null @ intel-speed-select tool is required, please get it from the latest upstream kernel-tools

#Remove some tests, CWF doesn't supports dynamic SST,feature base-freq and turbo-freq are not supported
intel_sst.sh -t isst_pp_config_enable_status
# intel_sst.sh -t isst_legacy_driver_sysfs
# intel_sst.sh -t isst_cap
# intel_sst.sh -t isst_unlock_status
# intel_sst.sh -t isst_pp_config_level1_config
# intel_sst.sh -t isst_pp_config_level2_config
# intel_sst.sh -t isst_pp_config_level3_config
# intel_sst.sh -t isst_pp_config_level4_config
# intel_sst.sh -t isst_pp_config_level1_config_cgroup
# intel_sst.sh -t isst_pp_config_level2_config_cgroup
# intel_sst.sh -t isst_pp_config_level3_config_cgroup
# intel_sst.sh -t isst_pp_config_level4_config_cgroup
# intel_sst.sh -t isst_base_freq_pp_level3_change
# intel_sst.sh -t isst_base_freq_pp_level4_change
# intel_sst.sh -t isst_cp_enable_prop_type
intel_sst.sh -t isst_cp_set_config_clos_min_0
intel_sst.sh -t isst_cp_set_config_clos_min_1
intel_sst.sh -t isst_cp_set_config_clos_min_2
intel_sst.sh -t isst_cp_set_config_clos_min_3
intel_sst.sh -t isst_cp_set_config_clos_max_0
intel_sst.sh -t isst_cp_set_config_clos_max_1
intel_sst.sh -t isst_cp_set_config_clos_max_2
intel_sst.sh -t isst_cp_set_config_clos_max_3
intel_sst.sh -t isst_cp_set_config_clos_prop_0
intel_sst.sh -t isst_cp_set_config_clos_prop_1
intel_sst.sh -t isst_cp_set_config_clos_prop_2
intel_sst.sh -t isst_cp_set_config_clos_prop_3
intel_sst.sh -t isst_cp_assoc_set_get_clos_0
intel_sst.sh -t isst_cp_assoc_set_get_clos_1
intel_sst.sh -t isst_cp_assoc_set_get_clos_2
intel_sst.sh -t isst_cp_assoc_set_get_clos_3
intel_sst.sh -t isst_cp_max_cpu_assoc_set_get_clos_0
intel_sst.sh -t isst_cp_max_cpu_assoc_set_get_clos_1
intel_sst.sh -t isst_cp_max_cpu_assoc_set_get_clos_2
intel_sst.sh -t isst_cp_max_cpu_assoc_set_get_clos_3
intel_sst.sh -t isst_cp_disable_prop_type
# intel_sst.sh -t isst_cp_enable_ordered_type
# intel_sst.sh -t isst_cp_disable_ordered_type
intel_sst.sh -t isst_bf_baseline_freq_test
# intel_sst.sh -t isst_hp_bf_freq_test_pp_level0
# intel_sst.sh -t isst_hp_bf_freq_test_pp_level3
# intel_sst.sh -t isst_hp_bf_freq_test_pp_level4
# intel_sst.sh -t isst_hp_bf_freq_pp_level0_orderred_type_test
# intel_sst.sh -t isst_hp_bf_freq_pp_level3_orderred_type_test
# intel_sst.sh -t isst_hp_bf_freq_pp_level4_orderred_type_test
# intel_sst.sh -t isst_hp_tf_freq_test_pp_level0
# intel_sst.sh -t isst_hp_tf_freq_test_pp_level3
# intel_sst.sh -t isst_hp_tf_freq_test_pp_level4
# intel_sst.sh -t isst_hp_tf_freq_pp_level0_ordered_type_test
# intel_sst.sh -t isst_hp_tf_freq_pp_level3_ordered_type_test
# intel_sst.sh -t isst_hp_tf_freq_pp_level4_ordered_type_test
13 changes: 13 additions & 0 deletions scenario/dmr-ov/tests-kvm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file collects the KVM/QEMU tests on DMR

x86_cpuid.vm.avx10_2
x86_cpuid.vm.movrs
x86_cpuid.vm.amx_movrs
x86_cpuid.vm.sha512
x86_cpuid.vm.sm3
x86_cpuid.vm.sm4
x86_cpuid.vm.amx_fp8
x86_cpuid.vm.amx_complex
x86_cpuid.vm.amx_tf32
x86_cpuid.vm.amx_avx512
cpu_model.dmr
10 changes: 10 additions & 0 deletions scenario/dmr-ov/tests-lam
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file collects the LAM cases
lam -t 0x1 # malloc
lam -t 0x2 # max_bits
lam -t 0x4 # mmap
lam -t 0x8 # syscall
lam -t 0x10 # io_uring
lam -t 0x20 # inherit
#lam -t 0x40 # pasid
lam -t 0x80 # cpuid
#lam -t 0x100 # kconfig
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-lass
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-mcelog
6 changes: 6 additions & 0 deletions scenario/dmr-ov/tests-pmt-enhance
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file collects the telemetry cases
telemetry_tests.sh -t pci
telemetry_tests.sh -t telem_driver
telemetry_tests.sh -t telem_sysfs
telemetry_tests.sh -t telem_dev
telemetry_tests.sh -t telem_sysfs_common
33 changes: 33 additions & 0 deletions scenario/dmr-ov/tests-pmu
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file collects the PMU cases for DMR platform
# PMU core
pmu_tests.sh -t basic
# PMU uncore
pmu_tests.sh -t uncore
pmu_tests.sh -t uncore_dmesg
pmu_tests.sh -t uncore_events
# Arch PEBS
pmu_tests.sh -t arch_pebs_cpuid
pmu_tests.sh -t arch_pebs_gp_reg_group
pmu_tests.sh -t arch_pebs_xer_group
pmu_tests.sh -t arch_pebs_counter_group
pmu_tests.sh -t arch_pebs_gp_counter
pmu_tests.sh -t arch_pebs_basic_group
# RDPMC user disable
pmu_tests.sh -t rdpmc_user_disable_0
pmu_tests.sh -t rdpmc_user_disable_1
pmu_tests.sh -t rdpmc_user_disable_2
# PerfMon Cstate event support
pmu_cstate_tests.sh -t cstate_event_list
# PMU memory regions tag
pmu_tests.sh -t pebs_mrt_local_ram
pmu_tests.sh -t pebs_mrt_snoop_hit
# PMU Auto Counter Reload
pmu_tests.sh -t acr_cpuid
pmu_tests.sh -t acr_format
pmu_tests.sh -t acr_basic
pmu_tests.sh -t acr_ratio_to_prev
pmu_tests.sh -t acr_stat
pmu_tests.sh -t acr_reject_freq
pmu_tests.sh -t acr_reject_ppp
pmu_tests.sh -t acr_reject_contiguity
pmu_tests.sh -t acr_stress -l 10
1 change: 1 addition & 0 deletions scenario/dmr-ov/tests-scheduler-cache-aware
11 changes: 11 additions & 0 deletions scenario/dmr-ov/tests-topology
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file collects basic cases which verify CPU Topology
# on Intel® Architecture-based server platforms.
# @hw_dep:
# @other_dep:
# @other_warn: which cpuid 2>/dev/null @ cpuid tool is required
# @other_warn: which lstopo 2>/dev/null @ Please install hwloc-gui.x86_64 package or hwloc.x86_64 to get lstopo tool

cpu_topology.sh -t numa_nodes_compare
cpu_topology.sh -t verify_thread_per_core
cpu_topology.sh -t verify_cores_per_socket
cpu_topology.sh -t verify_socket_num
Loading