Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 4 intel_sdsi current_meter cases #228

Merged
merged 3 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions BM/sdsi/sdsi_fms_list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Family 06 CPUs from arch/x86/include/asm/intel-family.h
# SPR EMR GNR_X GNR_D
06:8f cf ad ae
3 changes: 3 additions & 0 deletions BM/sdsi/tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# This file collects basic cases which can run against sdsi driver
# on Intel® Architecture-based server platforms.
# @hw_dep: general_test.sh -t fms -p "sdsi_fms_list" @ CPU Model doesn't support sdsi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @qwang59 , I don't think this is correct to call the script general_test.sh. The parameter '-p' likely can not accept a file. Could you please check it out? Or I missed something about it..

Copy link
Contributor

@xupengfe xupengfe May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ysun and @qwang59 ,
Parameter '-p' could accept a file, just this file has executable right. We don't really use the list file to execute and just detect the list file.
It could work as expected if sdsi_fms_list file has executable right.

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get it. Thanks.

# @other_dep: general_test.sh -t kconfig -k "CONFIG_INTEL_SDSI=m"
# @other_warn:

intel_sdsi.sh -t driver_unbind_bind
intel_sdsi.sh -t sdsi_sysfs
Expand Down
Loading