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)
Jan 12 2024, 6:13 PM
Unknown Object (File)
Dec 22 2023, 9:40 PM
Unknown Object (File)
Dec 12 2023, 9:22 PM
Unknown Object (File)
Sep 6 2023, 5:13 AM
Unknown Object (File)
Aug 28 2023, 9:34 AM
Unknown Object (File)
Aug 24 2023, 7:29 PM
Unknown Object (File)
Jul 11 2023, 2:08 AM
Unknown Object (File)
Jul 11 2023, 2:07 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