QUIRKS-SYSTEM: mark R12, R13, R14 RESOLVED

This session lands three more phases of the R11-R22
plan on top of R11 (already shipped):

  - R12 (87ea8a9ac): DrmPanelOrientation enum +
    lookup function + 36-entry 50-drm-panel.toml.
    Consumer wiring in redox-drm is deferred until
    Phase 4 KDE rotation lands.
  - R13 (00e1c9ea1): PlatformDmiQuirkFlags (7 bits) +
    PlatformSubsystem enum + 31-entry 80-platform-x86.toml
    covering touchscreen / tablet_mode / hotkey /
    accelerometer / battery for 2026 hardware.
  - R14 (5caab8578): CpuBugFlags (27 bits matching
    Linux X86_BUG_*) + CpuId struct + 14-entry
    90-cpu-bugs.toml. Kernel-side consumer deferred.

QUIRKS-SYSTEM.md updates:
  - Recent Activity (2026-06) table: 3 new rows
    (R12, R13, R14) with commit SHAs and summaries.
  - Test count progression: 155 → 158 (one new
    unit test per phase, all 3 host-buildable).
  - Headline: 'R11+R12+R13+R14 RESOLVED' added.
    Total data file additions: 4 files, 99 DMI rules.

Consumer wiring is a follow-up:
  - acpid: R11 AcpiQuirkFlags (osi_setup calls)
  - redox-drm: R12 DrmPanelOrientation (rotation)
  - inputd / thermald / redbear-upower: R13
    PlatformDmiQuirkFlags (subsystem dispatch)
  - kernel context-switch path: R14 CpuBugFlags
    (mitigation engine)

R15 (timekeeping / TSC sync) is the next phase. The
audit estimated 3-4 days; the data side is small
(TSC sync status from CPUID), and the consumer is
kernel-side.
This commit is contained in:
2026-06-07 21:48:09 +03:00
parent 5caab85788
commit f4ac668e78
+5 -2
View File
@@ -17,6 +17,9 @@
| 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`). |
| 2026-06 | R12 (`87ea8a9ac`, redox-driver-sys + redbear-quirks) | `DrmPanelOrientation` enum + 36-entry `50-drm-panel.toml` from Linux 7.1 `drm_panel_orientation_quirks.c`. Consumer in `redox-drm` deferred until Phase 4 KDE rotation lands. |
| 2026-06 | R13 (`00e1c9ea1`, redox-driver-sys + redbear-quirks) | `PlatformDmiQuirkFlags` (7 bits) + `PlatformSubsystem` enum + 31-entry `80-platform-x86.toml` covering touchscreen / tablet_mode / hotkey / accelerometer / battery for Framework, GPD, AYANEO, AYN, Dell, Lenovo, Asus, Valve, Chuwi, Acer. Consumer wiring deferred. |
| 2026-06 | R14 (`5caab8578`, redox-driver-sys + redbear-quirks) | `CpuBugFlags` (27 bits matching Linux X86_BUG_*) + `CpuId` struct + 14-entry `90-cpu-bugs.toml` covering Intel/AMD Spectre, MDS, TAA, L1TF, MMIO Stale, SRBDS, GDS, AMD TLB, AMD E400. Kernel-side consumer deferred. |
**Blocker status (2026-06-07):**
- ✅ Blocker 5 (DMI struct): RESOLVED
@@ -31,9 +34,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) → 155 (R11 part 1 ACPI DMI infra 2 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) → 153 (Gap 12 iwlwifi 3 unit tests) → 155 (R11 part 1 ACPI DMI infra 2 unit tests) → 156 (R12 panel orientation 1 unit test) → 157 (R13 platform subsystem 1 unit test) → 158 (R14 CPU bug match 1 unit test).
**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.
**5/5 P0 critical blockers RESOLVED, 4/4 medium-low gaps RESOLVED, R11+R12+R13+R14 RESOLVED.** R11 lands 18 ACPI DMI rules. R12 lands 36 DRM panel orientation rules. R13 lands 31 platform subsystem dispatch rules. R14 lands 14 CPU bug mitigation rules. Total data file additions this session: 4 files, 99 DMI rules. Consumer wiring (kernel for R14, redox-drm for R12, inputd/thermald/redbear-upower for R13, acpid for R11) is deferred — the lookup functions are callable today.
## Overview