public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Ian Rogers <irogers@google.com>,
	James Clark <james.clark@linaro.org>,
	Jiri Olsa <jolsa@kernel.org>,
	Kan Liang <kan.liang@linux.intel.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>
Subject: Re: IBS perf test failures on 9950x3d
Date: Mon, 19 May 2025 15:28:58 -0300	[thread overview]
Message-ID: <aCt4akGLsuuC4aLP@x1> (raw)
In-Reply-To: <aColYM3RqE4T5t5c@google.com>

On Sun, May 18, 2025 at 11:22:24AM -0700, Namhyung Kim wrote:
> On Sat, May 17, 2025 at 05:33:19PM +0530, Ravi Bangoria wrote:
> > Hi Arnaldo,

> > > If it needs a specific kernel, then the test needs to cope with that,
> > > etc.

> > 1) Bunch of IBS kernel fixes went in recently (v6.15-rc1):

> >    https://lore.kernel.org/r/20250115054438.1021-1-ravi.bangoria@amd.com

> >    Since you are running on 6.14.5-300.fc42.x86_64, the failures are
> >    genuine and indicating that kernel should be fixed.

Telling that to the user and possibly skipping the test if viable using
uname to get the version and if less than v6.15-rc1 print "Skip (needs
v6.15-rc1 or newer)" may be an option.

Then if the bug somehow reappears, people running 'perf test' will flag
it.

> >    I'm wondering how would the test cope with the buggy kernel. Or
> >    probably 'perf test' a wrong place to put such selftests?
 
> Maybe... some kernel internal changes can be tested in the selftest.
 
> And 'perf test' should work with any kernel versions.  Is the test
> checking any invalid configs?  Probably then it should move to the
> selftest so that it can be tied to the fixed kernels and 'perf test'
> should only use valid configs.

Right, but then there are cases where something changed and then
'perf test' should adapt to accept new behaviour while keeping what made
sense for older kernels.

The fix Leo sent recently is one such case.

https://lore.kernel.org/all/20250519082755.1669187-1-leo.yan@arm.com/T/#u

And I think having it in 'perf test' as well may make the feature to be
tested more widely, both by those who run selftests as well as by people
trying just 'perf test'.

- Arnaldo

  parent reply	other threads:[~2025-05-19 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-17  2:02 IBS perf test failures on 9950x3d Arnaldo Carvalho de Melo
2025-05-17 12:03 ` Ravi Bangoria
2025-05-18 18:22   ` Namhyung Kim
2025-05-19 16:39     ` Ravi Bangoria
2025-05-19 18:28     ` Arnaldo Carvalho de Melo [this message]
2025-05-20 11:01       ` Ravi Bangoria
2025-05-20 20:47         ` Arnaldo Carvalho de Melo
2025-05-21 20:50           ` Namhyung Kim

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=aCt4akGLsuuC4aLP@x1 \
    --to=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=irogers@google.com \
    --cc=james.clark@linaro.org \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=namhyung@kernel.org \
    --cc=ravi.bangoria@amd.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