]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/resctrl: Add vendor detection mechanism
authorBabu Moger <babu.moger@amd.com>
Thu, 16 Jan 2020 21:32:43 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:43:17 +0000 (18:43 -0700)
commitde129f42fcdde40d0af641b7802b7ed248ece62e
tree441424a750794e87f90a958a15876c6ef9e5acaa
parentbde2badbec5a9582c4cd8017810b5530ce41a8aa
selftests/resctrl: Add vendor detection mechanism

RESCTRL feature is supported both on Intel and AMD now. Some features
are implemented differently. Add vendor detection mechanism. Use the vendor
check where there are differences.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/resctrl.h
tools/testing/selftests/resctrl/resctrl_tests.c