From e26602add317069f1e93bb1f2962489ef06c40a6 Mon Sep 17 00:00:00 2001 From: Yi Sun Date: Mon, 24 Jun 2024 09:53:36 +0800 Subject: [PATCH] Add scenario file for EMR platform Add new scenario files for EMR for OpenEuler and Anolis OS. Signed-off-by: Yi Sun --- scenario/emr-oa/README.md | 11 +++++++++ scenario/emr-oe/README.md | 52 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 scenario/emr-oa/README.md create mode 100644 scenario/emr-oe/README.md diff --git a/scenario/emr-oa/README.md b/scenario/emr-oa/README.md new file mode 100644 index 00000000..61d02937 --- /dev/null +++ b/scenario/emr-oa/README.md @@ -0,0 +1,11 @@ +## Features Supported + +Below are the test cases for new features on the Intel EMR platform in OpenAnolis (referred to as OA) OS. Please note that the specific test content for each feature can be found in the relevant content under the BM directory, which will not be repeated here. We believe that these test cases are a subset of all related feature tests there. + +[TODO tests list] +* tests-dsa + +Tested with [Anolis OS 23.1 LTS](https://mirrors.openanolis.cn/anolis/23/isos/GA/x86_64/AnolisOS-23.1-x86_64-dvd.iso) + +## Dependencies +### [TODO] diff --git a/scenario/emr-oe/README.md b/scenario/emr-oe/README.md new file mode 100644 index 00000000..ceaa322a --- /dev/null +++ b/scenario/emr-oe/README.md @@ -0,0 +1,52 @@ +## Features Supported + +Below are the test cases for new features on the Intel EMR platform in OpenEuler (referred to as OE) OS. Please note that the specific test content for each feature can be found in the relevant content under the BM directory, which will not be repeated here. We believe that these test cases are a subset of all related feature tests there. + +[TODO feature list] +* tests-dsa + +Tested with [OpenEuler 24.03 LTS](https://www.openeuler.org/zh/download/?version=openEuler%2024.03%20LTS) + +## Dependencies +### tests-topology +* hwloc.x86_64 package +``` +yum install hwloc +``` + +* cpuid tool + +### tests-sdsi +* intel_sdsi tool +Build and install from the kernel source code: `tools/arch/x86/intel_sdsi/intel_sdsi.c` + +### tests-isst +* intel-speed-select +stress-ng.x86_64 +``` +yum install stress-ng +ln -s /usr/bin/stress-ng /usr/bin/stress +``` + +### tests-cstate +perf.x86_64 package +``` +yum install perf +``` + +## Known Issues +### Tools Missing +* cpuid +(workaround: copy from CentOS 9) + +* rdmsr-tool + +* Kernel Features Missing +gcc missing AMX FP16 support +(workaround: compile tmul.c with gcc13+ and copy the binary into OE) + +* Kernel idxd driver missing SVA support +(resulting in DSA/IAX not working) + +* CET +OE kernel does NOT configuure CONFIG_X86_USER_SHADOW_STACK=y, resulting in CET SHSTK not working.