Skip to content

iio: aop_temp, aop_las: run board temperature and lid angle reports on demand with idle stop - #3409

Merged
DjDeveloperr merged 7 commits into
mainfrom
fix/aop-temp-las-ondemand
Dec 2, 2026
Merged

DjDeveloperr merged 7 commits into
mainfrom
fix/aop-temp-las-ondemand

Conversation

@erikwb

@erikwb erikwb commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What: Stop continuous 1 Hz AOP fake-HID reports from aop_temp and aop_las at idle and start them on demand for direct sysfs reads (and kfifo buffer enable on aop_temp), with a 5 s idle-stop grace window, failure backoff, stop-retry recovery (including confirmed idle-stop retry at probe in 793075bd411e), and pre-probe interval restore attempts on aop_las unbind/rollback.
Tested: J516s (M3 Pro, T6030) in candidate ae108162ce24 (7.3.0-m3-s2r-gae108162ce24, origin/main 973ced809eba + T6030 S2R stack, reported in integration receipt as carrying exact head 793075bd411e unchanged; default command line, mem_sleep=s2idle [deep]): 2 consecutive 30 s physical deep sleeps via rtcwake -d rtc0 -m mem -s 30 (suspend_stats/success 0 -> 1 -> 2, fail=0, 0 failed systemd units), all four AOP IIO sensors (aop-sensors-las in_angl_raw=15, aop-sensors-als, aop-sensors-devmotion6, aop-sensors-als-temp in_temp_input=27500) remained bound and readable after both sleeps with 0 AOP errors. J716c (16-inch M5 Max, T6050, firmware 27.2) in composite 8d250d354c97 (origin/main d3de772ac0c1 + 793075bd411e, CONFIG_IIO_AOP_SENSOR_TEMP=m, one-shot trial Stage 2, default cmdline + watchdog.open_timeout=120): aop-sensors-als-temp, aop-sensors-las, and aop-sensors-als bound at boot (aop_temp, aop_las, aop_als, kfifo_buf loaded); AOP mailbox (290608000.mailbox-recv) 1.00 IRQ/s at idle, in_temp_input cold 334 ms (first) / 1006 ms and warm 0.1 ms, in_angl_raw cold 1006 / 981 ms and warm 0.3 ms, 2.00 IRQ/s during warm hold returning to 1.00 IRQ/s after >= 7 s idle-stop; aop_temp kfifo buffer enabled in 1 ms (3 samples in 3.5 s, 2.00 IRQ/s active -> 1.00 IRQ/s >= 7 s after disable); modprobe -r aop_temp aop_las / modprobe cleanly rebound both (in_temp_input 418 ms cold, in_angl_raw 1011 ms cold, 1.00 IRQ/s after idle). Hosted CI green at 793075bd411e (apple-build, host-tests, pr-text, readiness, KUnit). Prior-head checks (J716c at c8cde22e54ca, where aop_las.rs is byte-identical to 793075bd411e; J616C at b803dcae16de; J713 / J316s / J716c / J700 / J313 at cf2c1f844ddb and c7d67b009c22; host tests, rustfmt, checkpatch --strict, arm64 builds, and KUnit asahi) are recorded under Evidence as pre-793075bd411e baseline evidence.
Risk: two-way door · M1–M5 Macs with AOP lid-angle or board-temperature sensors (aop_temp services that refuse PROP_INTERVAL = 0, and aop_las services that refuse PROP_INTERVAL = 0 or report a pre-probe interval > 2 s, retain the passive cached path).
Not yet: On J716c (M5 Max, T6050) at 793075bd411e, post-sleep sensor reads (deep suspend and post-wake reads; rtcwake -d /dev/rtc1 -m freeze -s 10 did not wake from s2idle without a physical key press, matching known main RTC-wake behavior on s2idle); refreshed exact-head 793075bd411e sensor and suspend/resume check on J713 (M4 Air, T8132: first-probe binding, cold/warm direct sysfs reads, >= 7 s idle-stop returning mailbox IRQ rate to baseline, aop_temp kfifo buffer enable/sample/disable and post-disable idle-stop, and real suspend/resume; board off-network during this sweep, staged for retry); on-device runs on M2 AOP models (external hardware; host tests exercise both on-demand and passive fallback paths); and independent approval at 793075bd411e (per author note on tip commit).

Details

Both aop_temp and aop_las previously left 1 Hz AOP fake-HID reports streaming continuously from probe until unbind or system sleep, waking the AP twice a second on an idle desktop even with no consumers.

Following the on-demand idle-stop pattern in aop_motion:

  • aop_temp (fff2d23562f4, c8cde22e54ca, 793075bd411e):
    • Calibrates once per AOP boot (and conservatively again after pm_suspend_via_firmware() sleep, hibernation, or restore) and stops reports at probe after verifying calibration, start, and stop. If the initial stop times out after start, a confirmed PROP_INTERVAL = 0 retry at probe (793075bd411e) enters RunState::Stopped with on_demand = true instead of failing probe with the original timeout; an unconfirmed retry leaves RunState::Unknown and returns the original error. Retains continuous mode if the service refuses PROP_INTERVAL = 0 and unwinds transient errors.
    • Tracks service run state as Stopped, Running, or Unknown so any unacknowledged start or stop reasserts the target interval on the next transition and arms a 5 s stop retry whenever an idle on-demand stream is left Unknown or Running (including after unpark).
    • Preserves RunState::Unknown on pm_suspend_via_firmware(), hibernation, and restore wakes in Stream::set_parked_with (c8cde22e54ca), matching aop_las, so an unacknowledged suspend stop (including pm_test=devices runs that never enter firmware sleep) or AOP restart reconciles PROP_INTERVAL = 0 while idle and arms the 5 s retry if that write fails.
    • Invalidates cached samples before starting reports from Stopped or Unknown on direct reads, buffer enable, and sleep resume.
    • Wires iio_buffer_setup_ops (postenable / predisable) to the kfifo buffer, gating iio_push_to_buffers() under a spinlock that drains in-flight pushes in predisable before IIO detaches the buffer list while keeping direct-read sample caching active.
    • Tracks in-flight direct_readers so concurrent reads wait for the first report and buffer transitions cannot stop a stream under an active direct read; holds reports warm for 5 s via DelayedWork and backs off after failed starts.
    • Frees the IIO device via devres registered before the kfifo buffer and tears down IIO, PM, delayed work, and listener in Drop as well as unbind so probe rollback after iio.register() cannot leak work.
    • Adds host regression test tools/testing/selftests/drivers/apple/aop-temp.py (extended with MockTempIo wake-reconciliation tests in c8cde22e54ca and ProbeControl::probe_init retry tests in 793075bd411e) and registers it in tools/asahi/run-host-tests.py.
  • aop_las (a54b081f186f, cf2c1f844ddb):
    • Records the pre-probe PROP_INTERVAL when readable, clearable, and <= 2 s; stops reports at probe and starts them on demand for in_angl_raw reads with direct_readers tracking, RunState::{Stopped, Running, Unknown}, interval + 500 ms cold wait, 5 s warm hold, failure backoff, and 5 s stop-retry recovery.
    • Reconciles ambiguous probe stop timeouts and attempts to restore the saved interval on unbind or probe rollback (clearing the saved interval only after an acknowledged write, so a second teardown pass can retry a failed restore) so a subsequent rebind normally observes the pre-probe interval instead of 0. When readback and the fallback restore both fail (cf2c1f844ddb), keeps on-demand mode active in RunState::Unknown with interval_us set and an armed idle stop retry rather than entering passive ENODATA.
    • Clears the interval again on wake while idle after pm_suspend_via_firmware() sleep, hibernation, or restore in case an AOP restart resumed default streaming; the suspend/resume path attempts to restore the stream state and only logs a warning (reports not switched for sleep) if a firmware write fails, so restoration is attempted, not guaranteed.
    • Extends tools/testing/selftests/drivers/apple/aop-las.py with MockAop tests over Stream::{probe_with, sync_with, shutdown_with} and updates Documentation/iio/aop-sensors.rst.
  • Forward merges (c7d67b009c22, b803dcae16de):
    • c7d67b009c22 merges main (18058ea228e2, including #3473) into fix/aop-temp-las-ondemand.
    • b803dcae16de merges origin/main (dbfbced70b31) into fix/aop-temp-las-ondemand, keeping one entry each for aop-als, aop-devmotion, aop-las, aop-motion, and aop-temp in tools/asahi/run-host-tests.py and tools/testing/selftests/drivers/apple/Makefile.
  • Revert: git revert -m 1 <merge-sha> on main (or revert fff2d23562f4, a54b081f186f, cf2c1f844ddb, c8cde22e54ca, 793075bd411e) and reinstall aop_las/aop_temp modules; restores prior continuous 1 Hz streaming with no persistent on-disk, DT, or firmware state (aop_las restores its pre-probe PROP_INTERVAL on unbind).
Evidence
  • Commits:
    • fff2d23562f4 iio: aop_temp: run board temperature reports on demand with idle stop
    • a54b081f186f iio: aop_las: stop lid angle reports at idle and start on demand
    • cf2c1f844ddb iio: aop_las: keep ambiguous probe stop-restore failure recoverable
    • c7d67b009c22 Merge branch 'main' into fix/aop-temp-las-ondemand
    • b803dcae16de Merge remote-tracking branch 'origin/main' into fix/aop-temp-las-ondemand
    • c8cde22e54ca iio: aop_temp: preserve Unknown state across firmware-sleep wake
    • 793075bd411e iio: aop_temp: accept a confirmed idle-stop retry at probe
  • Byte-identity at 793075bd411e:
    • drivers/iio/common/aop_sensors/aop_las.rs: git blob 4c30d05939d1c43a6ed2b80149325fbf75d37698 (unchanged across cf2c1f844ddb -> c7d67b009c22 -> b803dcae16de -> c8cde22e54ca -> 793075bd411e)
    • tools/testing/selftests/drivers/apple/aop-las.py: git blob aefccb4a325f22cf47f3de0a6c9d08b6ef19c37e (unchanged across cf2c1f844ddb -> c7d67b009c22 -> b803dcae16de -> c8cde22e54ca -> 793075bd411e)
    • Documentation/iio/aop-sensors.rst: git blob bed42b2674f3d76e3ff2789712df891f8c5fb4f6 (unchanged across b803dcae16de -> c8cde22e54ca -> 793075bd411e)
    • drivers/iio/common/aop_sensors/aop_temp.rs: git blob 06d129b401334804e38a2ebdbdd62e01dcc7f89e (updated at 793075bd411e from e2d74b4b98d6)
    • tools/testing/selftests/drivers/apple/aop-temp.py: git blob d03f41215775d97ac980888098061d35fc8dbaac (updated at 793075bd411e from fbbb590fa3ed)
    • git merge-tree --write-tree origin/main 793075bd411e: conflict-free (da528a8f7a9b)
  • Exact-head CI and hardware at 793075bd411e:
    • Hosted CI at 793075bd411e: apple-build, host-tests, pr-text, readiness, KUnit plan, KUnit dcp-topology asahi — all SUCCESS.
    • J516s (M3 Pro, T6030) in candidate ae108162ce24 (7.3.0-m3-s2r-gae108162ce24, origin/main 973ced809eba + T6030 S2R stack, integration receipt reporting PR #3409 exact head: 793075bd411e; candidate commit is not pushed to aurora-silicon/linux or DjDeveloperr/linux for external git-ancestry check; zero-flag cmdline, mem_sleep=s2idle [deep], boot_id=43e0a6d2-5f93-47c4-b016-999232b43404, 2 consecutive 30 s physical deep sleeps via rtcwake -d rtc0 -m mem -s 30): suspend_stats/success 0 -> 1 -> 2, fail=0, boot object resumes 0 -> 1 -> 2, 0 failed systemd units; all four AOP IIO sensors remained bound and readable after both physical deep-sleep cycles (aop-sensors-las in_angl_raw=15, aop-sensors-als in_colortemp_input=11594.522460 / in_illuminance_input=0.363112, aop-sensors-devmotion6 in_rot_quaternion_raw=-228476240 1049152128 11474 52689, aop-sensors-als-temp in_temp_input=27500), 0 AOP errors.
    • J716c (16-inch M5 Max, T6050, firmware 27.2) in composite 8d250d354c97 (origin/main d3de772ac0c1 + merges including 793075bd411e, CONFIG_IIO_AOP_SENSOR_TEMP=m, one-shot chained trial Stage 2, default cmdline + watchdog.open_timeout=120, 0 Oops/WARN/BUG/Call trace):
      • Binding at boot: aop-sensors-als-temp, aop-sensors-las, aop-sensors-als bound; aop_temp, aop_las, aop_als, kfifo_buf loaded.
      • Mailbox & direct reads: AOP mailbox (290608000.mailbox-recv) 1.00 IRQ/s at idle; in_temp_input cold 334 ms (first) / 1006 ms, warm 0.1 ms; in_angl_raw cold 1006 / 981 ms, warm 0.3 ms; mailbox 2.00 IRQ/s during warm hold, returning to 1.00 IRQ/s after >= 7 s idle-stop on both sensors.
      • aop_temp kfifo buffer: enable 1 ms, 3 samples in 3.5 s, mailbox 2.00 IRQ/s while enabled, returning to 1.00 IRQ/s >= 7 s after disable.
      • modprobe -r aop_temp aop_las / modprobe: clean; both re-bind cleanly (IIO indexes swapped) and reads work (aop_temp 418 ms cold, aop_las 1011 ms cold), mailbox returning to 1.00 IRQ/s after idle.
      • Suspend/resume reads not run: rtcwake -d /dev/rtc1 -m freeze -s 10 did not wake from s2idle without a physical key press (matching known main RTC-wake behavior on s2idle); deep suspend and post-wake sensor reads remain in **Not yet:**.
  • Prior-head checks at c8cde22e54ca (before 793075bd411e probe-retry addition):
    • Host tests, build & style: aop-temp.py (6/6), aop-las.py (8/8), aop-als.py (5/5), aop-motion.py (10/10), aop-devmotion.py (8/8), run-host-tests.py --only aop (13/13), rustfmt --edition 2021 --check, arm64 Clang + Rust 1.99 build of drivers/iio/common/aop_sensors/, full j716c kernel build with CONFIG_IIO_AOP_SENSOR_TEMP=m, and scripts/checkpatch.pl --strict --git dbfbced70b31..c8cde22e54ca (0 errors; 1 standard MAINTAINERS warning on fff2d23562f4 for adding aop-temp.py).
    • J716c (16-inch M5 Max, T6050, firmware 27.2, AC 100%, default command line, default Stage 2): one-shot trial kernel (main 429e7e15f122 with c8cde22e54ca and batched open PR heads, CONFIG_IIO_AOP_SENSOR_TEMP=m): aop-sensors-las (in_angl_raw), aop-sensors-als-temp (in_temp_input, kfifo buffer); cold aop_las 801 ms (second boot 803 ms), warm 0 to 1 ms, cold again 987 ms after >= 7 s idle; cold aop_temp 1010 ms / 987 ms, warm 1 ms, cold again 991 ms after >= 7 s idle; modprobe -r / modprobe clean; reads after 2x pm_test=devices and 1x pm_test=platform suspend cycles reconciled (aop_las 613 / 698 / 661 ms cold, aop_temp 994 / 986 / 1011 ms cold then 1 ms warm, labeled pm_test); 0 AOP/IIO errors, 0 LSM denials, 0 GPU/MMU faults or Oops/WARN, 1 baseline failed unit (aurora-peripherals.service).
  • Earlier-head checks at b803dcae16de, c7d67b009c22, and cf2c1f844ddb (prior to c8cde22e54ca):
    • M4 Max (J616C / T6041) (report) in a combined battery batch atop main (fe9af4b604784, with PR head b803dcae16de, alongside #3359 and #3335): clean boot, 0 failed units, 0 AOP sensor/IIO errors in dmesg, settled battery idle 3.52–3.59 W (disp_bl=100, kbd_bl=64).
    • ./tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/asahi/.kunitconfig — 510 passed, 4 skipped of 514 (at b803dcae16de).
    • J713 (M4 MacBook Air, T8132, firmware 27.2) at cf2c1f844ddb (candidate b3dbf237542b over main 9e38a276dcb4): idle 390608000.mailbox-recv 6.00 Hz (60 IRQs / 10 s); on-demand aop_las (las=100) and aop_temp (temp=23828) raised it to 7.00 Hz (21 IRQs / 3 s), returning to 6.00 Hz after the 5 s idle stop; clean unbind/rebind (las=100, temp=23828, 6.00 Hz); post-3x s2idle (rtcwake -d /dev/rtc1 -m freeze -s 5) reads las=100, temp=24273, 6.00 Hz; 0 AOP errors.
    • J316s (M1 Pro, T6000) at cf2c1f844ddb: fleet89 combined-module run (report) and guarded Nightly boot (report): las=107, temp=19.437 °C / 19.312 °C, AOP IRQs 28->6 per 6 s at idle (combined with #3473), 0 failed units, SELinux Enforcing.
    • J700 (MacBook Neo) at cf2c1f844ddb: fleet89 645f7cd3 live-loaded aop_las / aop_temp, clean insert/remove, 0 IIO devices created, CT817 ALS unaffected, 0 failed units.
    • J313 (M1 MacBook Air, T8103) at cf2c1f844ddb: no aop_las or aop_temp device binds on T8103, 0 regressions.

The AOP temperature driver starts 1 Hz fake-HID reports at probe and
keeps them streaming until system sleep or unbind, waking the
application processor once a second even when nothing reads
in_temp_input or enables its kfifo buffer.

Follow the on-demand idle-stop pattern used by aop_motion:

- Calibrate once per AOP boot (and conservatively again after firmware
  suspend, hibernation, or restore) and stop reports at probe after
  verifying calibration, start, and stop. Retain continuous mode if
  the firmware refuses PROP_INTERVAL = 0, and unwind transient errors.
- Track firmware run state as Stopped, Running, or Unknown so any
  unacknowledged start or stop reasserts the target interval on the
  next transition and arms a 5 s stop retry whenever an idle on-demand
  stream is left Unknown or Running (including after unpark).
- Invalidate cached samples before starting reports from Stopped or
  Unknown on direct reads, buffer enable, and sleep resume.
- Wire iio_buffer_setup_ops (postenable / predisable) to the kfifo
  buffer, gating iio_push_to_buffers() under a spinlock that drains
  in-flight pushes in predisable before IIO detaches the buffer list
  while keeping direct-read sample caching active.
- Track in-flight direct_readers so concurrent reads wait for the
  first report and buffer transitions cannot stop a stream under an
  active direct read; hold reports warm for 5 s via DelayedWork and
  back off after failed starts.
- Free the IIO device via devres registered before the kfifo buffer,
  and tear down IIO, PM, delayed work, and listener in Drop as well as
  unbind so probe rollback after iio.register() cannot leak work.
- Add a host regression test (aop-temp.py) and register it in
  run-host-tests.py.

Signed-off-by: Erik Bourget <erik@ebourget.net>
The AOP lid angle firmware streams reports at its default interval
(~1 Hz) from boot whether anyone reads in_angl_raw or not, generating
continuous AOP mailbox interrupts on an idle desktop.

When the service supports reading and clearing PROP_INTERVAL at probe
and reports within 2 s, record its interval, stop reports immediately,
and start them on demand for in_angl_raw reads (tracking in-flight
direct_readers, RunState::{Stopped, Running, Unknown}, waiting
interval + 500 ms for a cold sample, holding for a 5 s idle window,
backing off after failed starts, and arming a 5 s stop retry whenever
an unacknowledged start or stop leaves an idle stream potentially
running). Reconcile ambiguous probe stop timeouts and unconditionally
restore the pre-probe interval on unbind or probe rollback (clearing
the saved interval only after an acknowledged write) so a subsequent
rebind never inherits 0. On firmware suspend, hibernation, or restore,
clear the interval again on wake while idle in case an AOP restart
resumed default streaming. Services whose interval cannot be read or
cleared, or exceeds 2 s, keep the passive cached-read and sleep-hook
path.

Extend aop-las.py to cover the on-demand stream state machine and
update Documentation/iio/aop-sensors.rst.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb
erikwb requested review from a team and DjDeveloperr as code owners November 27, 2026 16:48

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FINISH, then merge at a54b081f186f

Blockers: LAS probe can enter the passive path with no reports. If firmware applies the zero interval but the reply is lost, the subsequent read can also fail, and restoration can fail or time out. The code records Unknown and the saved interval but leaves interval_us unset. Direct reads then use the passive cache and never attempt a restart, and the saved interval is only retried during teardown. Keep this state recoverable during normal operation or unwind probe with a defined recovery path. Add a mock covering applied stop, failed readback and a failed first restore, followed by a successful read or recovery.

Checked: Followed the LAS probe reconciliation, direct-read selection and teardown. The posted J713 row qualifies normal transitions. Actual wake and an affected peer remain pending.

Evidence

The restoration-failure branch sets only restore_interval and run_state. read_now selects its passive path from interval_us, and shutdown is the remaining consumer of restore_interval in that state.

When the probe stop write times out, readback fails, and the fallback
restore of the pre-probe interval also fails, firmware may have already
applied interval 0. Leaving interval_us unset put read_now() on the
passive cache path, where it never restarted reports and only teardown
retried restoring restore_interval.

Extract Stream::{probe_with, sync_with, shutdown_with} over an
IntervalIo trait, set interval_us = Some(interval) alongside
restore_interval and RunState::Unknown when both readback and restore
fail, and arm the idle stop retry so either the next direct read
restarts reports or the idle timer reconciles the stopped state.

Extend aop-las.py with a mock IntervalIo test covering an applied stop
with a lost reply, failed readback, and failed/refused first restore
followed by direct-read and idle-retry recovery.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@github-actions github-actions Bot added area:gpu Area from CODEOWNERS (bot) blast:m2 Macs affected, from Merge risk (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Merge readiness at 793075bd: not ready yet

Check Detail
CI at head ok 10 checks passed
Review no approved by DjDeveloperr, but GitHub does not count it yet (code owner from Core or Omarchy Mac needed, or approval went stale)
Requested changes ok none
Hardware row at head ok in the PR body at 793075bd
Conflicts ok none
PR text ok Risk: two-way · M1–M5 Macs with AOP lid-angle or board-temperature sensors (aoptemp services that refuse PROPINTERVAL = 0, and aoplas services that refuse PROPINTERVAL = 0 or report a pre-probe interval > 2 s, retain the passive cached path).

Areas: area:gpu

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@erikwb

erikwb commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Fixed in cf2c1f844ddb.

When Stream::probe_with hits a timed-out stop write, failed readback, and a failed or refused fallback restore, it now preserves interval_us = Some(interval) alongside restore_interval = Some(interval), marks run_state = RunState::Unknown, and arms the 5 s idle stop retry instead of falling back to the passive cache. From that state, a direct read calls Stream::sync_with (SyncAction::Start(interval)) to restart reports rather than returning ENODATA, and an idle system reconciles SyncAction::Stop on the retry timer.

tools/testing/selftests/drivers/apple/aop-las.py now extracts Stream::{probe_with, sync_with, shutdown_with} over IntervalIo and tests both recovery paths against a MockAop where stop applies 0 with a timed-out reply, readback fails, and the first restore times out or is refused (8/8 tests passing).

@github-actions github-actions Bot added blast:m1 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) and removed blast:m2 Macs affected, from Merge risk (bot) labels Nov 27, 2026

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FINISH, then merge at cf2c1f84

Blockers:

  1. Missing exact-head cf2c1f84 hardware verification row confirming on-demand aop_temp and aop_las sysfs reads, 5 s idle-stop, and clean unbind/restore on a live Mac (body currently lists host checks only at cf2c1f84).
  2. Re-run the cancelled pr-text and readiness CI checks to green (19/19 build/host/KUnit checks already pass).

Checked:

  • cf2c1f844ddb cleanly resolves the prior aop_las passive-fallback blocker: on an ambiguous probe stop-restore failure (timed-out stop write, failed readback, and failed/refused restore), Stream::probe_with now preserves interval_us = Some(interval) and restore_interval = Some(interval), marks RunState::Unknown, and arms the 5 s idle-stop retry so direct reads stay recoverable.
  • Checked for Apple material, tool attribution, private serials, and board gating: clean; MERGEABLE on main.
Evidence
  • Head: cf2c1f844ddb (base: main, mergeable: MERGEABLE, +1906/-147 across 7 files).

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LAS recovery path now retains the original interval after an ambiguous stop, failed readback and failed restore. Unknown remains recoverable on direct read and the idle stop is retried. The author reports both failure branches covered by the transport tests. The PR body now records the exact-source J713 integrated row, including the idle IRQ return, both sensor reads and unbind/rebind. Keep hosted CI and the combined candidate regression with the ALS change as landing gates.

@RyanTheTide

RyanTheTide commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

J700 MacBook Neo normal boot, fleet89 645f7cd3: built and live-loaded the exact #3409 aop_las (4c30d059) and aop_temp (f24bd055) source blobs from cf2c1f844ddb. Both inserted and removed cleanly. This Neo exposes only the CT817 ALS service. The two drivers created no IIO device and the separately tested CT817 continued to return samples. Saved module set, saved boot, empty next entry, Enforcing and zero failed units were verified after restore. This is the no-service control for the author’s J713 and J716c feature rows.

code-owner ping @aurora-silicon/core @aurora-silicon/omarchy-mac @aurora-silicon/aurora-maintainers Please review for merge alongside the targeted J713/J716c rows.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Independent affected-family row on J316s M1 Pro, fleet89, with the exact cf2c1f844ddb lid and temperature driver blobs. Stock lid angle was 107 and board temperature was 19.500 °C. On demand, lid angle was 107 (0.35 s first read) and board temperature was 19.437 °C (0.71 s first read). The candidate also carried the separately tested #3473 ALS blob, so the 28→6 AOP IRQs per 6 s at idle are for the combined batch.

SPI keyboard/trackpad and ALSA cards registered, headless DRM status was consistent with the saved boot, gateway was 3/3 and hardware EGL passed 32/32. Stock module set and the saved GRUB state were restored, Enforcing and 0 failed units. This complements the J713 and J716c integrated rows.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Integrated J316s regression, in one guarded Nightly kernel boot based on 94ea195b6eb5. The installed modules used the exact #3473 ALS blob from b11717dde674 and the exact #3409 lid/temperature blobs from cf2c1f844ddb. Each module probed during normal boot, with its installed hash matching the staged overlay. CT817 functionality and deep wake were tested separately on J700.

J316s returned lux, lid angle 107 and board temperature 19.312 °C. SPI keyboard and trackpad and ALSA endpoints registered. DRM stayed in the usual headless state. Gateway ping passed 3/3, hardware EGL passed 32/32, SELinux was Enforcing, and there were zero failed units, kernel errors or AVCs. Restored and byte-compared the saved fleet89 receipt, including the default entry, command line and boot-stage hash. Removed the trial entry, modules and dead-man.

@RyanTheTide

Copy link
Copy Markdown
Contributor

@erikwb Could you forward-merge current aurora-silicon/linux:main into this branch by 00:36 AEDT on November 30? The train merged #3473 at f3bcc901bd23. GitHub now reports #3409 as conflicting at cf2c1f844ddb.

The conflict is limited to the registrations in tools/asahi/run-host-tests.py and tools/testing/selftests/drivers/apple/Makefile. Keep one entry each for the ALS, LAS, motion and temperature harnesses. The combined registration passed 28/28 host checks on the buildbox. The J316s combined boot test and the J700 absent-service control can carry forward if the changed driver blobs stay byte-identical. The new head will need fresh CI and review.

@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 28, 2026
Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb

erikwb commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

@RyanTheTide Forward-merged aurora-silicon/linux:main (18058ea228e2, including #3473 f3bcc901bd23) into fix/aop-temp-las-ondemand at c7d67b009c22. Fresh hosted CI and review remain pending on c7d67b009c22.

The merge conflicts were limited to tools/asahi/run-host-tests.py and tools/testing/selftests/drivers/apple/Makefile, keeping one entry each for aop-als.py, aop-las.py, aop-motion.py, and aop-temp.py. All PR driver, documentation, and selftest blobs remain byte-identical to cf2c1f844ddb:

  • drivers/iio/common/aop_sensors/aop_las.rs: git blob 4c30d05939d1c43a6ed2b80149325fbf75d37698
  • drivers/iio/common/aop_sensors/aop_temp.rs: git blob f24bd055d7f0cf1687e802a1fce79a3ada2f1b55
  • Documentation/iio/aop-sensors.rst: git blob 61356a4bb6a98cec8fb1f9d0f8dbdfe8ae6a97bb
  • tools/testing/selftests/drivers/apple/aop-las.py: git blob aefccb4a325f22cf47f3de0a6c9d08b6ef19c37e
  • tools/testing/selftests/drivers/apple/aop-temp.py: git blob b9aabc02121df6f484d2f94b7f18db4b2e204016

Between the merge base (fcb124279183) and origin/main (18058ea228e2), rust/kernel/workqueue.rs only adds Queue::new_ordered_highpri_reclaim, which neither aop_las nor aop_temp uses, so the existing J713, J316s (fleet89 combined and Nightly), J716c (c3da8eed6f72), J700, and J313 hardware rows from cf2c1f844ddb carry forward unchanged.

Host verification at c7d67b009c22:

  • python3 tools/testing/selftests/drivers/apple/aop-las.py: 8/8 passed
  • python3 tools/testing/selftests/drivers/apple/aop-temp.py: 5/5 passed
  • python3 tools/testing/selftests/drivers/apple/aop-als.py: 5/5 passed
  • python3 tools/testing/selftests/drivers/apple/aop-motion.py: 10/10 passed
  • python3 tools/asahi/run-host-tests.py --only aop: 12/12 passed (including registration check)
  • rustfmt --edition 2021 --check drivers/iio/common/aop_sensors/aop_las.rs drivers/iio/common/aop_sensors/aop_temp.rs: clean
  • make O=_build ARCH=arm64 LLVM=1 drivers/iio/common/aop_sensors/ (defconfig + asahi.config, Rust 1.99.0): clean
  • scripts/checkpatch.pl --strict --git origin/main..HEAD: 0 errors, 1 standard MAINTAINERS notice for new aop-temp.py

J716c batched trial verification at c7d67b009c22 (3545ebecb76f, Stage 2 SHA-256 b7d99286395ddd7dadccc6d9593f4bd55391d9e787af97c18b45f58688d9885d):

  • Boot 1 (kernel SHA-256 d56efde4c7232208bd29d5c4e5890319e0050595dd4f4b1c3844df6656a08312, modules SHA-256 9d5782bcf02ea60a225278c9319431f902b495f6beb485d79d127c0fb2fccc92; default config has no aop_temp / no IIO buffer support): aop_las and aop_als loaded, in_angl_raw 91, cold read 453 ms, warm 0-1 ms, same after 4 s idle (note: the 4 s read falls inside the 5 s warm-hold window and does NOT verify the 5 s idle stop). Smoke snapshot: 1 baseline failed system unit (aurora-peripherals.service, same as baseline warm reboots), 40 err+ lines on initial boot smoke snapshot (later checks recorded additional messages).
  • Boot 2 (same commit, kernel SHA-256 0379bd3eb63c74b8e429dd9a67dcd85b0f300d9725a2cf6495e2609be3f9c926, modules SHA-256 ee6ff86cf22623f64f8ee79d516bb4ad84b24638535c84b1e1b2788e07323987, adding CONFIG_IIO_BUFFER=y, CONFIG_IIO_AOP_SENSOR_TEMP=m, and resulting CONFIG_IIO_KFIFO_BUF=m): iio:device2 aop-sensors-als-temp, in_temp_sampling_frequency 1, in_temp_input cold read 935 ms, warm 1 ms, values 24460 -> 24468 -> 24453 mdegC (4 s read; does NOT verify the 5 s idle stop) and 24445 / 24437 / 24429 after 2x pm_test=devices and 1x pm_test=platform, aop_las unchanged at 91; modprobe -r aop_temp and modprobe aop_temp clean; 0 AOP error lines in dmesg. Smoke snapshot: 1 baseline failed system unit (aurora-peripherals.service, same as baseline warm reboots), 42 err+ lines on initial boot smoke snapshot (later checks recorded additional messages).
  • Real J716c s2idle and rtcwake -m mem were not run (the RTC alarm cannot wake J716c unattended).

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at c7d67b009c22

Blockers: Keep hosted CI and the recorded integrated regression gates.

Checked: All runtime driver blobs and the specific sensor fixtures are byte-identical to the reviewed head. The changed files are test registration. The current receipt reports 12/12 AOP host harness cases passed.

Evidence

Compared the current head, prior review and current PR receipts.

@github-actions github-actions Bot removed the merge-conflict Conflicts with the base branch (bot) label Nov 29, 2026
@AxxzyWasTaken

Copy link
Copy Markdown
Contributor

Tested on M4 Max (J616C / T6041) in a combined battery batch atop main (fe9af4b604784, with PR head b803dcae16de2, alongside #3359 and #3335):

  • Clean boot, 0 failed units, 0 AOP sensor/IIO errors in dmesg.
  • Settled battery idle: 3.52–3.59 W (disp_bl=100, kbd_bl=64).

@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) and removed needs-hw-row No hardware row at the PR head (bot) labels Dec 1, 2026

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at b803dcae16de

Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.

Checked: Code reviewed in the earlier App review at this head (6120965091).

Follow-ups (not blocking): current-head hosted CI; J716c idle-stop and real suspend row

When pm_suspend_via_firmware() is true on wake (including pm_test=devices
runs when deep suspend is selected, which never enter firmware sleep),
Control::set_parked() previously reset s.run_state to RunState::Stopped.
If the suspend stop failed and left RunState::Unknown, an idle stream
then appeared stopped on wake without sending PROP_INTERVAL = 0 or
arming an idle stop retry, allowing reports to keep streaming.

Extract TempIo and Stream::{arm_stop_retry, sync_with, set_parked_with}
and mark RunState::Unknown alongside calibrated = false on reset_cal
wakes, matching aop_las. Idle wakes then reconcile by issuing
stop_reports() (and arming the 5 s retry if that write fails), while
active buffers and continuous-mode fallback recalibrate and start
reports.

Extend aop-temp.py with a MockTempIo harness covering unacknowledged
suspend stops across deep-suspend and s2idle wakes, idle-retry
recovery, and firmware-sleep recalibration.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb

erikwb commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Updated aop_temp in c8cde22e54ca (iio: aop_temp: preserve Unknown state across firmware-sleep wake) and refreshed the PR description for the new head.

Changes in c8cde22e54ca:

  • Extracted TempIo and Stream::{arm_stop_retry, sync_with, set_parked_with} in drivers/iio/common/aop_sensors/aop_temp.rs.
  • Stream::set_parked_with() now sets RunState::Unknown alongside calibrated = false on reset_cal wakes (pm_suspend_via_firmware(), hibernation, and restore), matching aop_las, so an unacknowledged suspend stop (including pm_test=devices runs that never enter firmware sleep) or an AOP restart reconciles PROP_INTERVAL = 0 while idle and arms the 5 s retry if that write fails instead of assuming RunState::Stopped.
  • Extended tools/testing/selftests/drivers/apple/aop-temp.py with a MockTempIo harness covering unacknowledged suspend stops across deep-suspend and s2idle wakes, idle-retry recovery, and firmware-sleep recalibration.

drivers/iio/common/aop_sensors/aop_las.rs (blob 4c30d059), tools/testing/selftests/drivers/apple/aop-las.py (blob aefccb4a), and Documentation/iio/aop-sensors.rst (blob bed42b26) are unchanged from b803dcae16de. git merge-tree --write-tree against origin/main (a171afd2123f) is conflict-free (d50b67331ff0).

Verification at c8cde22e54ca:

  • Host tests, style, and builds pass: aop-temp.py (6/6), aop-las.py (8/8), aop-als.py (5/5), aop-motion.py (10/10), aop-devmotion.py (8/8), run-host-tests.py --only aop (13/13), rustfmt --edition 2021 --check, checkpatch.pl --strict --git dbfbced70b31..HEAD (0 errors on c8cde22e54ca; 1 standard MAINTAINERS warning on fff2d23562f4), arm64 Clang + Rust 1.99 build of drivers/iio/common/aop_sensors/, and full j716c kernel build with CONFIG_IIO_AOP_SENSOR_TEMP=m.
  • J716c (M5 Max) at c8cde22e54ca in a one-shot trial kernel on main 429e7e15f122: cold reads aop_las 801 ms / aop_temp 987 ms, warm 0 to 1 ms, cold again after >= 7 s idle (idle stop ran), modprobe -r / modprobe clean, reads after 2x pm_test=devices and 1x pm_test=platform suspend cycles return, 0 AOP errors in dmesg.
  • Hosted CI re-run at c8cde22e54ca is pending.

@github-actions github-actions Bot removed the ci-failing A check failed at the PR head (bot) label Dec 1, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drivers/iio/common/aop_sensors/aop_temp.rs:445–451 fails probe if the new optional interval-zero test times out, even when the retry immediately succeeds and leaves the stream in the same confirmed Stopped state as the success branch. Calibration and starting reports already succeeded, so this input used to produce a working temperature device. Please enter on-demand mode after a successful stop retry and cover that sequence with a regression test.

@github-actions github-actions Bot added changes-requested A reviewer requested changes (bot) ci-failing A check failed at the PR head (bot) labels Dec 1, 2026
@erikwb

erikwb commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

We carry this PR in our J713 (M4 Air, T8132) daily kernel.

Both aop_temp and aop_las previously left 1 Hz AOP fake-HID reports streaming continuously from boot even with no consumers, waking the AP twice per second on an idle desktop and increasing idle battery drain.

Running smoothly on our J713 daily kernel with idle AOP reports stopped and board-temperature / lid-angle reads served on demand.

If the first idle-stop request times out after calibration and start,
the retry can still confirm that reports have stopped. Enter on-demand
mode in that case instead of failing probe with the original timeout.

Exercise the production probe method with acknowledged and
unacknowledged retries in the host selftest.

Signed-off-by: DjDeveloperr <hey@djdev.me>
@DjDeveloperr
DjDeveloperr dismissed their stale review December 1, 2026 18:41

Addressed in 793075b. A confirmed retry now completes probe in on-demand mode. The host test covers both retry outcomes.

@github-actions github-actions Bot added needs-hw-row No hardware row at the PR head (bot) and removed changes-requested A reviewer requested changes (bot) ci-failing A check failed at the PR head (bot) labels Dec 1, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The probe regression in my previous review is fixed at 793075b. A retry that confirms a zero interval sets Stopped and enables on-demand reads. An unconfirmed retry preserves Unknown and returns the original transport error. The host regression test checks both outcomes, and the head checks are green. Please run the cold-read, idle-stop and post-wake smoke on a candidate containing this head and record the probe/binding result. The J716c receipt in the PR is for c8cde22.

@DjDeveloperr

DjDeveloperr commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Requested head: 793075bd411e.

@erikwb Could you use J713 for the refreshed sensor check? Please record the candidate commit if it includes this head in a batch. On the first probe, confirm both IIO devices bind, then time cold and warm temperature and lid reads. Repeat after at least 7 s idle and check that the AOP mailbox IRQ rate returns to its idle baseline. After one actual suspend/resume with your known working wake source, repeat the reads and capture any new AOP/IIO errors. J716c can cover probe and idle if it is available first. Please label any pm_test run as such.

Hardware result pending.

@RyanTheTide Could you review the probe-retry delta from c8cde22e54ca to 793075bd411e? The hosted checks passed. I wrote the tip commit, so GitHub still requires an independent approval.

@github-actions github-actions Bot added needs-hw-row No hardware row at the PR head (bot) and removed needs-hw-row No hardware row at the PR head (bot) labels Dec 2, 2026
@DjDeveloperr

Copy link
Copy Markdown
Contributor

J516s (M3 Pro, T6030) integration receipt on 7.3.0-m3-s2r-gae108162ce24 (origin/main 973ced809eba + T6030 S2R stack, zero-flag cmdline, mem_sleep=s2idle [deep], boot_id=43e0a6d2-5f93-47c4-b016-999232b43404, 2 consecutive 30 s physical deep sleeps via rtcwake -d rtc0 -m mem -s 30): suspend_stats/success 0 -> 1 -> 2, fail=0, boot object resumes 0 -> 1 -> 2, 0 failed systemd units.

PR #3409 exact head: 793075bd411e

  • All four AOP IIO sensors remained bound and readable after 2 physical deep-sleep cycles: aop-sensors-las (in_angl_raw=15), aop-sensors-als (in_colortemp_input=11594.522460, in_illuminance_input=0.363112), aop-sensors-devmotion6 (in_rot_quaternion_raw=-228476240 1049152128 11474 52689), and aop-sensors-als-temp (in_temp_input=27500), 0 AOP errors.

@erikwb

erikwb commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Updated the PR body to head 793075bd411e:

  • Recorded hosted CI green at 793075bd411e (apple-build, host-tests, pr-text, readiness, KUnit) and the J516s (M3 Pro, T6030) two-sleep integration receipt on candidate ae108162ce24 (7.3.0-m3-s2r-gae108162ce24, comment, which reports PR #3409 exact head: 793075bd411e; ae108162ce24 is not pushed to aurora-silicon/linux or DjDeveloperr/linux so containment could not be queried via GitHub): aop-sensors-las and aop-sensors-als-temp remained bound and readable after both 30 s physical deep sleeps with 0 AOP errors.
  • Documented the 793075bd411e confirmed probe idle-stop retry recovery in aop_temp.rs / aop-temp.py and updated the blob hashes (aop_las.rs, aop-las.py, and aop-sensors.rst remain unchanged from c8cde22e54ca, while prior c8cde22e54ca / cf2c1f844ddb hardware runs are labeled as pre-793075bd411e baseline evidence).
  • Removed the J313 on-demand item from **Not yet:** (neither aop_las nor aop_temp binds on T8103).
  • Recorded exact-head 793075bd411e non-sleep hardware verification on J716c (16-inch M5 Max, T6050, firmware 27.2) in composite 8d250d354c97 (origin/main d3de772ac0c1 + 793075bd411e, CONFIG_IIO_AOP_SENSOR_TEMP=m, one-shot trial Stage 2, default cmdline + watchdog.open_timeout=120):
    • aop-sensors-als-temp, aop-sensors-las, and aop-sensors-als bound at boot (aop_temp, aop_las, aop_als, kfifo_buf loaded).
    • Mailbox (290608000.mailbox-recv) 1.00 IRQ/s idle; in_temp_input cold 334 ms (first) / 1006 ms, warm 0.1 ms; in_angl_raw cold 1006 / 981 ms, warm 0.3 ms; 2.00 IRQ/s during warm hold, returning to 1.00 IRQ/s after >= 7 s idle-stop (both sensors).
    • aop_temp kfifo buffer: enable 1 ms, 3 samples in 3.5 s, mailbox 2.00 IRQ/s while enabled, returning to 1.00 IRQ/s >= 7 s after disable.
    • modprobe -r aop_temp aop_las / modprobe: clean re-bind and reads (aop_temp 418 ms cold, aop_las 1011 ms cold, 1.00 IRQ/s after idle).
  • Remaining in **Not yet:**: J716c (T6050) suspend/resume sensor reads (deep suspend and post-wake reads were not run after rtcwake -d /dev/rtc1 -m freeze -s 10 did not wake from s2idle without a physical key press, matching known main RTC-wake behavior on s2idle), and the refreshed J713 (T8132) exact-head 793075bd411e run (board off-network during this sweep, staged for retry).

@github-actions github-actions Bot removed the needs-hw-row No hardware row at the PR head (bot) label Dec 2, 2026
@DjDeveloperr

Copy link
Copy Markdown
Contributor

Review at 793075bd411e: approve.

I read the full diff of aop_temp.rs and aop_las.rs and checked the locking, teardown and error paths. Every interval write runs under the stream mutex. Idle work is cancelled, or disabled at teardown, outside that lock, so the work item cannot deadlock against it. Buffer pushes have their own spinlock, which predisable clears before the IIO core detaches the buffer. Devres frees the IIO device after the kfifo buffer, and teardown runs in a safe order: IIO, then PM, then stop, then listener. It is safe to run twice, from unbind and again from Drop. If a service refuses a zero interval, it keeps the old continuous or passive path, so no sensor is lost. I found no runtime switches or board gates, and the timing values are named constants.

Hardware at this exact head: J516s (M3 Pro, T6030) passed two physical deep sleeps with all four AOP sensors readable afterwards. J716c (M5 Max, T6050) passed cold and warm reads, idle stop back to the baseline IRQ rate, kfifo enable and disable, and a module reload.

Local checks on a merge with main b3a5fda631b9 (merge-tree clean, merge tree 28dd60cdf54f), on the x86_64 build box:

  • make ARCH=arm64 LLVM=1 W=1 drivers/iio/common/aop_sensors/ (aurora_defconfig, Rust on): aop_las.o and aop_temp.o rebuilt, 0 warnings and 0 errors. main alone was also clean.
  • git diff main..merge | scripts/checkpatch.pl --strict --no-signoff -: 0 errors, 0 checks and 1 warning (the new selftest file prompts the usual MAINTAINERS note).
  • git diff --check main..merge: clean.
  • python3 -I tools/asahi/run-host-tests.py --jobs 16 (full suite, in the hosted workflow's ubuntu 24.04 image with clang 18 and rust 1.96, no network): 968/970 passed. The 2 failures are centauri-scan-tests and its negative controls, which fail the same way on plain main b3a5fda631b9 (the Bluetooth harness doesn't build there); this PR doesn't touch them.

Merging.

@DjDeveloperr
DjDeveloperr merged commit 4c6f0f7 into main Dec 2, 2026
14 checks passed
@DjDeveloperr
DjDeveloperr deleted the fix/aop-temp-las-ondemand branch December 2, 2026 19:29
@DjDeveloperr

Copy link
Copy Markdown
Contributor

J773g (T8132 / M4 mini) 793075b (793075bd411e0216b66ed4019ce107891904731b) PASS — composite 7.3.0-j773g-comp2-3332-3809 (main b3a5fda6, merge tree 27b8f0f690ec, boot_id=427c8f95, panic=10, WDT 178 s): 390c00000.aop booted cleanly (AOP IS READY), desktop Mac mini J773g exposes no AOP ALS-temp/lid IIO subdevices (/sys/bus/iio/devices: none, expected), 0 aop_temp/aop_las or idle-stop errors across boot and 3x s2idle, 0 WARN/Oops, 0 failed units.

@DjDeveloperr

Copy link
Copy Markdown
Contributor

PASS (post-merge) J714s (M5 Pro, T6050) linux#3409 head 793075b in composite2 099704f2 (7.3.0-m5-comp2): aop-sensors-las (iio:device1) and aop-sensors-als-temp (iio:device0) on-demand cold/warm reads pass pre- and post-sleep (LAS val=60, TEMP 28976->28640, warm 0.12-0.30ms, cold after 8s idle 674-1012ms), 0 AOP/DART/GPU/Oops/WARN/BUG faults, clean stock handback (a70fc871).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gpu Area from CODEOWNERS (bot) blast:m1 Macs affected, from Merge risk (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants