]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Attach dev.cpu nodes on powerpc SMT cores, using only the first found thread
authorjhibbits <jhibbits@FreeBSD.org>
Wed, 20 Jun 2018 13:30:35 +0000 (13:30 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Wed, 20 Jun 2018 13:30:35 +0000 (13:30 +0000)
commit8cdb928f9cef337a3da5a24357b325774e12b9cf
tree70d00f017efc24ab21a769a5943d8e6711c12ffb
parent299899c6fd2334f880a9bf4fb0a4d4ade998f9c1
Attach dev.cpu nodes on powerpc SMT cores, using only the first found thread

Summary: In order to use cpufreq(4), a dev.cpu attachment must be created.  If
the IBM property is found denoting SMT, attach only to the first thread setup,
so that a cpufreq device can bind.

Reviewed by: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15921
sys/dev/ofw/ofw_cpu.c