HomeFreeBSD

amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls.

Description

amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls.

It seems to be needed only to serialize very old K8 registers access.
Introduce separate lock for that and remove Giant dependency.

MFC after: 2 weeks

(cherry picked from commit 6c101ed7a3f7cb47d6ac5c9e5fd33580ac8fa699)

Details

Provenance
mavAuthored on Dec 26 2021, 2:03 AM
Parents
rG2123d7a2d63f: x86: Remove CTLFLAG_NEEDGIANT from sysctls.
Branches
Unknown
Tags
Unknown