freebsd-nq/usr.sbin/cpucontrol
Konstantin Belousov 0530a9360f Make it possible to re-evaluate cpu_features.
Add cpuctl(4) ioctl CPUCTL_EVAL_CPU_FEATURES which forces re-read of
cpu_features, cpu_features2, cpu_stdext_features, and
std_stdext_features2.

The intent is to allow the kernel to see the changes in the CPU
features after micocode update.  Of course, the update is not atomic
across variables and not synchronized with readers.  See the man page
warning as well.

Reviewed by:	imp (previous version), jilles
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D13770
2018-01-05 21:06:19 +00:00
..
amd10h.c
amd.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
amd.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
cpucontrol.8 Make it possible to re-evaluate cpu_features. 2018-01-05 21:06:19 +00:00
cpucontrol.c Make it possible to re-evaluate cpu_features. 2018-01-05 21:06:19 +00:00
cpucontrol.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
intel.c Style. Remove useless return. 2017-12-28 13:01:27 +00:00
intel.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile
Makefile.depend
via.c Use proper failure path rather than just returning. 2017-12-28 05:33:24 +00:00
via.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00