Page MenuHomeFreeBSD

acpi.c: ignore _STA for atrtc SystemCMOS address space is exist if CMOS RTC Not Present bit is not set at IAPC_BOOT_ARCH in FADT.
ClosedPublic

Authored by takawata on Jan 14 2022, 5:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 16, 10:50 PM
Unknown Object (File)
Feb 28 2025, 1:35 PM
Unknown Object (File)
Feb 22 2025, 2:24 PM
Unknown Object (File)
Feb 22 2025, 1:53 PM
Unknown Object (File)
Feb 22 2025, 1:38 PM
Unknown Object (File)
Feb 5 2025, 9:21 AM
Unknown Object (File)
Jan 27 2025, 9:12 AM
Unknown Object (File)
Jan 26 2025, 6:02 PM
Subscribers
None

Details

Summary

atrtc driver implements System CMOS address space and check the bit. So enable probe and attach the driver if the device is disabled.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

takawata created this revision.

Suggestion on the commit message:

acpi: Ignore _STA and never disable AT RTC devices

atrtc(4) should always install a SystemCMOS address space handler unless
the RTC Not Present bit is not set in IAPC_BOOT_ARCH in the FADT.
The atrtc(4) driver already checks this bit, but _STA can return not-present
even when this bit is clear.
This revision is now accepted and ready to land.Jan 20 2022, 7:22 PM