[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251204123816.2802393-1-shenxiaochen@open-hieco.net>
Date: Thu, 4 Dec 2025 20:38:13 +0800
From: Xiaochen Shen <shenxiaochen@...n-hieco.net>
To: tony.luck@...el.com,
reinette.chatre@...el.com,
bp@...en8.de,
fenghuay@...dia.com
Cc: babu.moger@....com,
james.morse@....com,
Dave.Martin@....com,
x86@...nel.org,
linux-kernel@...r.kernel.org,
shenxiaochen@...n-hieco.net
Subject: [PATCH 0/3] selftests/resctrl: Add Hygon CPUs support and bug fixes
The resctrl selftest currently exhibits several failures on Hygon CPUs
due to missing vendor detection and edge-case handling specific to
Hygon's architecture.
This patch series addresses three distinct issues:
1. Missing CPU vendor detection, causing the test to fail with
"# Can not get vendor info..." on Hygon CPUs.
2. A division-by-zero crash in SNC detection on Hygon CPUs.
3. Incorrect handling of non-contiguous CBM support on Hygon CPUs.
These changes enable resctrl selftest to run successfully on
Hygon CPUs that support Platform QoS features.
Xiaochen Shen (3):
selftests/resctrl: Add CPU vendor detection for Hygon
selftests/resctrl: Fix a division by zero error on Hygon
selftests/resctrl: Fix non-contiguous CBM check for Hygon
tools/testing/selftests/resctrl/cat_test.c | 4 ++--
tools/testing/selftests/resctrl/resctrl.h | 1 +
tools/testing/selftests/resctrl/resctrl_tests.c | 2 ++
tools/testing/selftests/resctrl/resctrlfs.c | 10 ++++++++++
4 files changed, 15 insertions(+), 2 deletions(-)
--
2.47.3
Powered by blists - more mailing lists