QUIRKS-SYSTEM: mark R11 (ACPI DMI rules) RESOLVED

R11 lands in two commits this session:

  - 5d06b0fa0 (redox-driver-sys): AcpiQuirkFlags (13 bits),
    DmiAcpiQuirkRule, DMI_ACPI_QUIRK_RULES,
    load_dmi_acpi_quirks, apply_dmi_acpi_quirk_rules,
    ACPI_FLAG_NAMES, [[dmi_acpi_quirk]] TOML parser.
    +2 unit tests. 122/122 redox-driver-sys tests pass.
  - e3c41b834 (redbear-quirks): Four ACPI DMI TOML files
    with 18 DMI rules from Linux 7.1 sources
    (drivers/acpi/{osi,sleep,button,battery}.c).

QUIRKS-SYSTEM.md updates:
  - Recent Activity (2026-06) table: two new rows with
    commit SHAs and one-line summaries.
  - Test count progression: 153 → 155 across the new
    redox-driver-sys tests.
  - Headline: 'R11 (ACPI DMI rules) RESOLVED' added.
    R12 (ACPI consumer wiring) is the next priority.

R12 is a 1-day task: wire load_dmi_acpi_quirks() into
acpid / acpi-handlers so the matched flags drive
acpi_osi_setup(), acpi_old_suspend_ordering(),
LID_INIT_DISABLED/OPEN, and battery quirk handler
flags. The infrastructure is now ready for this; the
consumer side is the only missing piece.
This commit is contained in:
2026-06-07 21:27:10 +03:00
parent e3c41b834d
commit 4f5b35bb62
+4 -2
View File
@@ -15,6 +15,8 @@
| 2026-06 | Gap 15 (`98982cc2f`, amdgpu recipe) | Extracted `pci_*_quirk_flags` from `redox_stubs.c` into `redox_quirk_bridge.c`; removed `g_pci_quirk_flags` static; updated build script. |
| 2026-06 | Gap 10 (`a24cfe64c`, evdevd recipe) | `local/recipes/system/evdevd/source/src/quirks.rs` with `log_hid_quirks`; 4 unit tests. `cargo check` clean. |
| 2026-06 | Gap 12 (`1561767ac`, redbear-iwlwifi recipe) | `local/recipes/drivers/redbear-iwlwifi/source/src/quirks.rs` with `log_wifi_quirks`; 3 unit tests. Bypasses linux-kpi C FFI (private fields) and calls `lookup_pci_quirks` directly. |
| 2026-06 | R11 part 1 (`5d06b0fa0`, redox-driver-sys) | `AcpiQuirkFlags` (13 bits), `DmiAcpiQuirkRule`, `DMI_ACPI_QUIRK_RULES`, `load_dmi_acpi_quirks`, `apply_dmi_acpi_quirk_rules`, `ACPI_FLAG_NAMES`, `[[dmi_acpi_quirk]]` TOML parser. +2 unit tests. 122/122 tests pass. |
| 2026-06 | R11 part 2 (`e3c41b834`, redbear-quirks) | Four ACPI DMI TOML files (45-osi, 46-sleep, 47-button, 48-battery) with 18 DMI rules total from Linux 7.1 sources (`drivers/acpi/{osi,sleep,button,battery}.c`). |
**Blocker status (2026-06-07):**
- ✅ Blocker 5 (DMI struct): RESOLVED
@@ -29,9 +31,9 @@
- ✅ Gap 12 (redbear-iwlwifi FFI wiring): RESOLVED
- ✅ Gap 15 (amdgpu stub removal): RESOLVED
**Test count progression:** 75 (R5) → 83 (R6) → 90 (R7-C) → 99 (R7-A/B) → 106 (R8) → 114 (R10) → 120 (Blocker 5) → 120 (Gap 17) → 120 (Blocker 4 N/A on host) → 128 (Blocker 2 acpid dmi tests) → 140 (Blocker 1 pcid 12 unit tests, host-buildable) → 147 (Blocker 3 usbhidd 7 unit tests) → 150 (Gap 10 evdevd 4 unit tests, plus 0/8 from pre-existing test errors out of scope) → 153 (Gap 12 iwlwifi 3 unit tests).
**Test count progression:** 75 (R5) → 83 (R6) → 90 (R7-C) → 99 (R7-A/B) → 106 (R8) → 114 (R10) → 120 (Blocker 5) → 120 (Gap 17) → 120 (Blocker 4 N/A on host) → 128 (Blocker 2 acpid dmi tests) → 140 (Blocker 1 pcid 12 unit tests, host-buildable) → 147 (Blocker 3 usbhidd 7 unit tests) → 150 (Gap 10 evdevd 4 unit tests, plus 0/8 from pre-existing test errors out of scope) → 153 (Gap 12 iwlwifi 3 unit tests) → 155 (R11 part 1 ACPI DMI infra 2 unit tests).
**5/5 P0 critical blockers RESOLVED, 4/4 medium-low gaps RESOLVED.** All P0/P1 audit items complete; remaining items are P2 (iommu, R8 PM execution, deferred handlers) and the R11+ phases.
**5/5 P0 critical blockers RESOLVED, 4/4 medium-low gaps RESOLVED, R11 (ACPI DMI rules) RESOLVED.** The R11 phase adds 18 DMI rules across 4 files (osi / sleep / button / battery) sourced from Linux 7.1 `drivers/acpi/`. Consumer wiring is R12.
## Overview