selftests/resctrl: Add Cache QoS Monitoring (CQM) selftest
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 16 Jan 2020 21:32:41 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:42:57 +0000 (18:42 -0700)
commit78941183d1b151317beb37b25690b7d87fe2596d
treedd078fd0c1808fbf5db2b5ee3259626dbd1767e7
parent01fee6b4d1f93247e806dddb0065b88317949085
selftests/resctrl: Add Cache QoS Monitoring (CQM) selftest

Cache QoS Monitoring (CQM) selftest starts stressful cache benchmark
with specified size of memory to access the cache. Last Level cache
occupancy reported by CQM should be close to the size of the memory.

Co-developed-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Co-developed-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/cache.c [new file with mode: 0644]
tools/testing/selftests/resctrl/cqm_test.c [new file with mode: 0644]
tools/testing/selftests/resctrl/resctrl.h
tools/testing/selftests/resctrl/resctrl_tests.c
tools/testing/selftests/resctrl/resctrl_val.c
tools/testing/selftests/resctrl/resctrlfs.c