Skip to content

Clarify TimeAlarm relay and ACPI contracts - #47

Merged
dymk merged 3 commits into
OpenDevicePartnership:mainfrom
dymk:dymk/time-alarm-contract
Sep 24, 2026
Merged

dymk merged 3 commits into
OpenDevicePartnership:mainfrom
dymk:dymk/time-alarm-contract

Conversation

@dymk

@dymk dymk commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Clarify the existing nine-command TimeAlarm interface, including policy commands 8/9, argument layouts, relay response IDs, and FF-A status placement.

Distinguish the transport status convention from normative ACPI method results: _SRT failure is 0xFFFFFFFF; _CWS, _STV, and _STP failure is 1. Correct directly conflicting examples to return a timestamp Buffer from _GRT and declare required argument counts. Document timestamp-padding compatibility and existing milliseconds/daylight decoder restrictions without presenting them as ACPI errata.

Closes #46.

This is documentation only. Physical wake, power integration, notifications, executable-ASL qualification, and the retired peripheral-memory interface remain outside scope. The examples are illustrative and are not claimed to be validated by tests of the separate shipped platform ASL.

Validation

mdbook build docs passes. It reports an existing unrelated unclosed-tag warning in the HID battery document.

Related broader work: OpenDevicePartnership/embedded-services#156 and OpenDevicePartnership/embedded-services#149.

felipebalbi and others added 2 commits September 17, 2026 20:54
Document the existing nine-command mapping, setter status, timestamp padding compatibility, and relevant FF-A sample offsets without adding wake or notification integration.

Assisted-by: GitHub Copilot:gpt-6-astra

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Distinguish method-specific failure values from relay status, return a timestamp buffer, and declare the required arguments. Document existing timestamp decoder compatibility restrictions.

Assisted-by: GitHub Copilot:gpt-6-astra

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 22, 2026 21:08
@dymk
dymk requested a review from a team as a code owner September 22, 2026 21:08

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

Two documentation corrections remain for scalar fallback values and the _GRT argument count.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Clarifies the nine-command TimeAlarm relay and ACPI contracts.

Changes:

  • Documents command layouts, response IDs, and status conventions.
  • Corrects ACPI examples and argument-count requirements.
  • Records timestamp compatibility and decoder limitations.
File Summary
docs/​src/​specs/​ec_interface/​ffa/​time-alarm.md Updates TimeAlarm relay and ACPI documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/src/specs/ec_interface/ffa/time-alarm.md Outdated
Clarify that SP response sentinels differ from the ACPI examples fallback policy when FF-A delivery fails or is unavailable.

Assisted-by: GitHub Copilot:gpt-6-astra

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dymk
dymk merged commit 7eaab28 into OpenDevicePartnership:main Sep 24, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Clarify TimeAlarm relay and ACPI method contracts

5 participants