diff options
author | Babu Moger <babu.moger@amd.com> | 2024-06-11 17:18:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-11 12:50:55 +0200 |
commit | d30481b7c100d44782dbf30ad66e40dda05619eb (patch) | |
tree | 7043604fe4b9ee3637f0ef78ac22de319e2d733d /include/linux/mutex.h | |
parent | 2106717b5214895a29c038b37f15d78a3202aa2b (diff) | |
download | linux-stable-d30481b7c100d44782dbf30ad66e40dda05619eb.tar.gz linux-stable-d30481b7c100d44782dbf30ad66e40dda05619eb.tar.bz2 linux-stable-d30481b7c100d44782dbf30ad66e40dda05619eb.zip |
selftests/resctrl: Fix non-contiguous CBM for AMD
[ Upstream commit 48236960c06d32370bfa6f2cc408e786873262c8 ]
The non-contiguous CBM test fails on AMD with:
Starting L3_NONCONT_CAT test ...
Mounting resctrl to "/sys/fs/resctrl"
CPUID output doesn't match 'sparse_masks' file content!
not ok 5 L3_NONCONT_CAT: test
AMD always supports non-contiguous CBM but does not report it via CPUID.
Fix the non-contiguous CBM test to use CPUID to discover non-contiguous
CBM support only on Intel.
Fixes: ae638551ab64 ("selftests/resctrl: Add non-contiguous CBMs CAT test")
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mutex.h')
0 files changed, 0 insertions, 0 deletions