https://bugzilla.kernel.org/show_bug.cgi?id=221556

Artem S. Tashkinov ([email protected]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other                       |ACPICA-Core
           Assignee|[email protected] |acpi_acpica-core@kernel-bug
                   |.org                        |s.osdl.org

--- Comment #2 from Artem S. Tashkinov ([email protected]) ---
ChatGPT's assessment and reworked bug report:

> AML accesses a valid SystemCMOS OperationRegion but Linux provides no
> handler, causing periodic EC query failures and repeated ACPICA errors.

Subject: ACPI: missing SystemCMOS OperationRegion handler causes repeated _Q33
failures

On an HP OmniBook 7 (firmware F.12), Linux repeatedly logs ACPICA runtime
errors originating from an EC query method:

```text
ACPI Error: No handler for Region [CMS0] [SystemCMOS]
ACPI Error: Region SystemCMOS (ID=5) has no handler
ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q33 due to previous error
(AE_NOT_EXIST)
```

The issue repeats periodically during normal runtime.

The DSDT defines:

```asl
Scope (_SB.PC00.LPCB.RTC)
{
    OperationRegion (CMS0, SystemCMOS, Zero, 0x40)

    Field (CMS0, ByteAcc, NoLock, Preserve)
    {
        RTSE, 8,
        RTSA, 8,
        RTMN, 8,
        RTMA, 8,
        RTHR, 8,
        RTHA, 8,
        RTDY, 8,
        RTDE, 8
    }
}
```

The failing `_Q33` method reads RTC values from this region:

```asl
Method (_Q33, 0, NotSerialized)
{
    Local0 = ^^RTC.RTMN
    Local1 = ^^RTC.RTHR
    Local2 = ^^RTC.RTDY
    Local3 = ^^RTC.RTSE
    ...
}
```

It appears ACPICA/Linux does not provide a handler for the `SystemCMOS` address
space (ID 5), causing AML execution to abort with `AE_NOT_EXIST`.

Questions:

* Is `SystemCMOS` support intentionally unimplemented in Linux ACPICA
integration?
* If so, should accesses be downgraded/rate-limited to avoid persistent log
spam?
* If not, is this a regression or missing handler implementation?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to