Reduce dmesg spam by only printing the CPU feature flags when they differ
authorkettenis <kettenis@openbsd.org>
Fri, 1 Mar 2024 15:57:43 +0000 (15:57 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 1 Mar 2024 15:57:43 +0000 (15:57 +0000)
commit1bf6c5526533bb7b3d86ebc293eaa6b8bd0034d8
tree30f03848e1746d087738f54ee21e6354c6cd183b
parent12be4f565e734d46aedb19ce9af30b3b3ea2210a
Reduce dmesg spam by only printing the CPU feature flags when they differ
from the previous one.  Since CPU cores are typically grouped in clusters
of identical cores and are typically enumerated this results in flags
being printed for the first core of a cluster.  But only if the clusters
use cores that implement different features which is rare.

ok deraadt@
sys/arch/arm64/arm64/cpu.c