Chrome platform driver development
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Brian Norris <briannorris@chromium.org>
Cc: kernelci-results@groups.io, "kernelci.org bot" <bot@kernelci.org>,
	kernel-build-reports@lists.linaro.org,
	chrome-platform@lists.linux.dev, eballetbo@gmail.com,
	bleung@chromium.org, groeck@chromium.org, pmalani@chromium.org,
	tzungbi@google.com
Subject: Re: chrome-platform/for-kernelci baseline: 98 runs, 5 regressions (v6.1-rc1-5-g27b86a65cd16)
Date: Tue, 1 Nov 2022 11:58:23 +0000	[thread overview]
Message-ID: <Y2EJ39FAnnKOzDHi@sirena.org.uk> (raw)
In-Reply-To: <Y2BcAFf77/JMQxYR@google.com>

[-- Attachment #1: Type: text/plain, Size: 3152 bytes --]

On Mon, Oct 31, 2022 at 04:36:32PM -0700, Brian Norris wrote:
> On Mon, Oct 31, 2022 at 10:52:52PM +0000, Mark Brown wrote:
> > On Mon, Oct 31, 2022 at 03:21:55PM -0700, Brian Norris wrote:

> > The KernelCI repo just says what testsuites to invoke and how, it's not
> > got the actual testsuites.  Those X didn't probe failures come from
> > bootrr:

> >    https://github.com/andersson/bootrr

> > forked to:

> >    https://github.com/kernelci/bootrr

> > (which could use some upstreaming...) with the specific errors for

> Neither of those looks particularly active. If I patch stuff, is it
> better to send PRs to the 'andersson' one or the 'kernelci' one?

The kernelci one is the one that gets deployed in kernelci so probably
there in the short term - all the Chromebooks are there, I'm not sure
how many got upstreamed at all.

> > Yes, that was what I'd determined too - the reorganisation of the DT
> > looked legit, I can't remember what it was exactly.  I suspect it may
> > have boiled down to adding some missing default disables, or removing an
> > erroious enable for the board.

> Ah, based off your pointers, I see the test was looking for what used to
> be the i2s2 alias. But then I recall we stopped using that i2s instance:

> https://git.kernel.org/linus/b5fbaf7d779f5f02b7f75b080e7707222573be2a
> arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output

> I forgot that folks did that downstream long ago but never bothered
> finishing upstreaming that until I got to it this year...
> ...but still, it's kinda sad that we've bothered to set up all this "CI"
> and then nobody paid any attention :( I only noticed because I recently
> subscribed to chrome-platform@lists.linux.dev.

Ah, that's the one.  I think I'd flagged it as the test looking wrong
but nobody picked it up.

> "assert_device_present cros-ec-sensors-accel0-probed cros-ec-sensors cros-ec-accel.11.*"

> ? Really, ".11"? That sounds like we're trying to test kernel
> implementation details, asynchronous probe race conditions, Makefile /
> linker ordering, and similar -- not anything that we actually expect to
> remain stable across kernel versions :(

> I'm not sure there's a great stable way to refer to such devices, so
> maybe it'd be better to write this as "count the number of devices"
> instead? Or I think this particular driver supports an "id" sysfs
> attribute, which refers to a stable underlying firmware ID. But that'd
> involve even more device-specific logic.

It looks to me like the intent of the test is to find the device with
the highest number and get a count that way but ICBW.

> I don't think I even care *why* the ID changed; that ID is far from a
> stable thing, if I'm reading it correctly. At least most of the others
> refer to hardware addresses, which are a little more reasonable to rely
> on (even if the device naming still isn't a stable guarantee).

Yeah.  My understanding is that the intent with bootrr is to be a smoke
test which flags up if drivers aren't getting instantiated, taking a
basic login test further forwards so it'll notice more devices.  Like
you say it's a bit of a fragile mechanism though.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2022-11-01 11:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31  5:51 chrome-platform/for-kernelci baseline: 98 runs, 5 regressions (v6.1-rc1-5-g27b86a65cd16) kernelci.org bot
2022-10-31 17:40 ` Brian Norris
2022-10-31 19:21   ` Guenter Roeck
2022-10-31 21:37   ` Mark Brown
2022-10-31 22:21     ` Brian Norris
2022-10-31 22:52       ` Mark Brown
2022-10-31 23:36         ` Brian Norris
2022-11-01  5:32           ` Tzung-Bi Shih
2022-11-01 11:58           ` Mark Brown [this message]

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=Y2EJ39FAnnKOzDHi@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=bleung@chromium.org \
    --cc=bot@kernelci.org \
    --cc=briannorris@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=eballetbo@gmail.com \
    --cc=groeck@chromium.org \
    --cc=kernel-build-reports@lists.linaro.org \
    --cc=kernelci-results@groups.io \
    --cc=pmalani@chromium.org \
    --cc=tzungbi@google.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