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)
Mon, Dec 16, 10:02 AM
Unknown Object (File)
Thu, Dec 12, 2:05 PM
Unknown Object (File)
Sat, Nov 23, 1:27 PM
Unknown Object (File)
Nov 9 2024, 8:15 PM
Unknown Object (File)
Nov 7 2024, 5:58 PM
Unknown Object (File)
Oct 18 2024, 12:35 AM
Unknown Object (File)
Oct 2 2024, 9:17 PM
Unknown Object (File)
Sep 21 2024, 1:57 AM
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