Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Peter Senna Tschudin <peter.senna@linux.intel.com>
Cc: <igt-dev@lists.freedesktop.org>, <himanshu.girotra@intel.com>,
	<aditya.chauhan@intel.com>, <pravalika.gurram@intel.com>,
	<sai.gowtham.ch@intel.com>, <ramadevi.gandi@intel.com>,
	<lucas.demarchi@intel.com>, <kamil.konieczny@linux.intel.com>,
	<katarzyna.piecielska@intel.com>
Subject: Re: [PATCH v4 i-g-t 0/1] tests/intel/intel_sysfs_debugfs: Unify sysfs and debugfs testing
Date: Mon, 31 Mar 2025 17:56:16 -0400	[thread overview]
Message-ID: <Z-sPgAOCPWBOz0dt@intel.com> (raw)
In-Reply-To: <20250331180538.57393-1-peter.senna@linux.intel.com>

On Mon, Mar 31, 2025 at 08:05:35PM +0200, Peter Senna Tschudin wrote:
> The existing debugfs_test scans and reads relevant sysfs and debugfs
> files, but it is limited to i915. Meanwhile, xe_debugfs.c provides
> similar functionality for Xe but has two key gaps:
>  - It lacks sysfs file testing.
>  - It does not attempt to read all debugfs files.
> 
> This patch introduces intel_sysfs_debugfs, unifying both tests into a single
> framework that ensures comprehensive coverage for both i915 and Xe.
> 
> Follow-up improvements
> 
> Once this patch is merged, I will submit a follow-up to:
>  - Remove the redundant hwmon-basic test from debugfs_test, as
>    intel_hwmon already provides full coverage for i915 and Xe.
>  - Remove both debugfs_test and xe_debugfs.
> 
> The removal of existing tests impacts external test lists, requiring
> updates that take time. By first addressing the test gap, we ensure
> complete coverage while minimizing disruption. The follow-up series will
> then focus on cleanup for improving long-term maintainability.
> 
> v4:
>  - remove the 5 seconds timeout to read each sysfs and debugfs file

Thanks,

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
and pushed

> 
> v3:
>  - rename test to intel_sysfs_debugfs
>  - fix copy paste error on commit message
>  - expand Cc list
> 
> v2:
>  - renamed xe-specific functions with the xe_ prefix
>  - created two igt_subtest_groups: one for i915 and another for Xe
>  - prefixed each test with either i915 or xe
> 
> Cc: himanshu.girotra@intel.com
> Cc: aditya.chauhan@intel.com
> Cc: pravalika.gurram@intel.com
> Cc: sai.gowtham.ch@intel.com
> Cc: ramadevi.gandi@intel.com
> Cc: lucas.demarchi@intel.com
> Cc: rodrigo.vivi@intel.com
> Cc: kamil.konieczny@linux.intel.com
> Cc: katarzyna.piecielska@intel.com
> 
> Peter Senna Tschudin (1):
>   tests/intel/intel_sysfs_debugfs Unify sysfs and debugfs testing
> 
>  tests/intel/intel_sysfs_debugfs.c | 498 ++++++++++++++++++++++++++++++
>  tests/meson.build                 |   1 +
>  2 files changed, 499 insertions(+)
>  create mode 100644 tests/intel/intel_sysfs_debugfs.c
> 
> -- 
> 2.43.0
> 

  parent reply	other threads:[~2025-03-31 21:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 18:05 [PATCH v4 i-g-t 0/1] tests/intel/intel_sysfs_debugfs: Unify sysfs and debugfs testing Peter Senna Tschudin
2025-03-31 18:05 ` [PATCH v4 i-g-t 1/1] tests/intel/intel_sysfs_debugfs " Peter Senna Tschudin
2025-03-31 20:30 ` ✗ i915.CI.BAT: failure for tests/intel/intel_sysfs_debugfs: Unify sysfs and debugfs testing (rev2) Patchwork
2025-04-01  8:32   ` Peter Senna Tschudin
2025-04-01 11:23     ` Ravali, JupallyX
2025-03-31 20:45 ` ✓ Xe.CI.BAT: success " Patchwork
2025-03-31 21:56 ` Rodrigo Vivi [this message]
2025-03-31 23:54 ` ✗ Xe.CI.Full: failure " Patchwork
2025-04-01  8:34   ` Peter Senna Tschudin
2025-04-01 11:21 ` ✓ i915.CI.BAT: success " Patchwork
2025-04-01 15:01 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-06 22:05 ` ✗ Xe.CI.Full: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z-sPgAOCPWBOz0dt@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=aditya.chauhan@intel.com \
    --cc=himanshu.girotra@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=katarzyna.piecielska@intel.com \
    --cc=lucas.demarchi@intel.com \
    --cc=peter.senna@linux.intel.com \
    --cc=pravalika.gurram@intel.com \
    --cc=ramadevi.gandi@intel.com \
    --cc=sai.gowtham.ch@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox