From ddb32bd4386cbe1d11895d9dbc260880b4c6e6b0 Mon Sep 17 00:00:00 2001 From: qwang59 Date: Thu, 23 May 2024 16:12:58 +0800 Subject: [PATCH] Add dependency check for ISST,TPMI,UFS,PT features Signed-off-by: qwang59 --- BM/isst/tests | 3 +++ BM/pt/tests | 3 +++ BM/tpmi/tests | 3 +++ BM/tpmi/tpmi_fms_list | 3 +++ BM/ufs/tests | 3 +++ BM/ufs/ufs_fms_list | 3 +++ 6 files changed, 18 insertions(+) create mode 100755 BM/tpmi/tpmi_fms_list create mode 100755 BM/ufs/ufs_fms_list diff --git a/BM/isst/tests b/BM/isst/tests index 1fcf2463..4b34b9be 100755 --- a/BM/isst/tests +++ b/BM/isst/tests @@ -2,6 +2,9 @@ # 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: intel_sst.sh -t isst_pp_config_enable_status diff --git a/BM/pt/tests b/BM/pt/tests index ed57785f..9fa8400d 100644 --- a/BM/pt/tests +++ b/BM/pt/tests @@ -1,4 +1,7 @@ #This file collects the basic test cases for Intel® Processor Trace feature +# @hw_dep: +# @other_dep: +# @other_warn: # Verify to filter MTC (Mini Time Counter) and TSC (Time-Stamp Counter) package perf_tests.sh -t fp diff --git a/BM/tpmi/tests b/BM/tpmi/tests index 164785e0..323bf8cd 100755 --- a/BM/tpmi/tests +++ b/BM/tpmi/tests @@ -1,5 +1,8 @@ # This file collects the test cases which can run against intel_tpmi driver # on Intel® Architecture-based server platforms. +# @hw_dep: general_test.sh -t fms -p "tpmi_fms_list" @ CPU Model doesn't support tpmi +# @other_dep: general_test.sh -t kconfig -k "CONFIG_INTEL_TPMI=m" +# @other_warn: # Encoding of TPMI_ID(hex): # 0x0: RAPL - Socket RAPL, DRAM RAPL, Platform RAPL, etc. # 0x1: PEM - Power and Performance Excursion Monitors diff --git a/BM/tpmi/tpmi_fms_list b/BM/tpmi/tpmi_fms_list new file mode 100755 index 00000000..d4ca301c --- /dev/null +++ b/BM/tpmi/tpmi_fms_list @@ -0,0 +1,3 @@ +# Family 06 CPUs from arch/x86/include/asm/intel-family.h +# GNR_X GNR_D SRF +06:ad ae af diff --git a/BM/ufs/tests b/BM/ufs/tests index 0ddcb455..3afc4b2b 100755 --- a/BM/ufs/tests +++ b/BM/ufs/tests @@ -1,6 +1,9 @@ # This file collects basic cases which can run against # TPMI UFS (Uncore Frequency Scaling) driver # on Intel® GRANITERAPIDS and further server platforms. +# @hw_dep: general_test.sh -t fms -p "ufs_fms_list" @ CPU Model doesn't support tpmi_ufs +# @other_dep: general_test.sh -t kconfig -k "CONFIG_INTEL_TPMI=m" +# @other_warn: tpmi_ufs.sh -t check_ufs_unbind_bind tpmi_ufs.sh -t check_ufs_device diff --git a/BM/ufs/ufs_fms_list b/BM/ufs/ufs_fms_list new file mode 100755 index 00000000..d4ca301c --- /dev/null +++ b/BM/ufs/ufs_fms_list @@ -0,0 +1,3 @@ +# Family 06 CPUs from arch/x86/include/asm/intel-family.h +# GNR_X GNR_D SRF +06:ad ae af