Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2C27A10E1CE for ; Tue, 13 Dec 2022 18:37:34 +0000 (UTC) From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Date: Tue, 13 Dec 2022 10:37:24 -0800 Message-Id: <20221213183728.2290910-1-ashutosh.dixit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 0/4] i915/i915_hwmon: General verification of hwmon attributes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Badal Nilawar Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Ensure we can read all hwmon attributes. For writable attributes, also ensure the read value approximately matches the written value, taking the clamping of writes into account. v2: Added new patch "lib/igt_sysfs: Make it easier to extend verification of clamped sysfs attr". No changes to previous patches. Ashutosh Dixit (4): lib/igt_sysfs: Generic verification of clamped sysfs attributes i915/i915_hwmon: General verification of hwmon attributes lib/igt_sysfs: Make it easier to extend verification of clamped sysfs attr HAX: Add i915_hwmon* to fast-feedback.testlist lib/igt_sysfs.c | 176 ++++++++++++++++++++++++++ lib/igt_sysfs.h | 23 ++++ tests/i915/i915_hwmon.c | 88 +++++++++++++ tests/intel-ci/fast-feedback.testlist | 2 + tests/meson.build | 1 + 5 files changed, 290 insertions(+) create mode 100644 tests/i915/i915_hwmon.c -- 2.38.0