From: Tzung-Bi Shih <tzungbi@kernel.org>
To: bleung@chromium.org
Cc: jwerner@chromium.org, chrome-platform@lists.linux.dev,
tfiga@chromium.org, Gwendal Grignou <gwendal@chromium.org>
Subject: Re: [PATCH v4] platform/chrome: Resolve kb_wake_angle visibility race
Date: Mon, 27 Apr 2026 02:27:34 +0000 [thread overview]
Message-ID: <ae7JlgtvSUuqfCWV@google.com> (raw)
In-Reply-To: <20260407102615.1605317-1-tzungbi@kernel.org>
On Tue, Apr 07, 2026 at 10:26:15AM +0000, Tzung-Bi Shih wrote:
> A race condition exists between the probe of cros-ec-sysfs and
> cros-ec-sensorhub.
>
> The `kb_wake_angle` attribute should only be visible if the sensor hub
> detects two or more accelerometers. If cros_ec_sysfs_probe() runs
> before cros_ec_sensorhub_register() completes sensor enumeration, the
> sysfs attributes are created while `has_kb_wake_angle` is still false,
> hiding `kb_wake_angle` incorrectly.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: Resolve kb_wake_angle visibility race
commit: 79b1c32a3faf9ceae365f56de7e962b81fa8167d
Thanks!
prev parent reply other threads:[~2026-04-27 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-07 10:26 [PATCH v4] platform/chrome: Resolve kb_wake_angle visibility race Tzung-Bi Shih
2026-04-27 2:27 ` Tzung-Bi Shih [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=ae7JlgtvSUuqfCWV@google.com \
--to=tzungbi@kernel.org \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=gwendal@chromium.org \
--cc=jwerner@chromium.org \
--cc=tfiga@chromium.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.