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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Approved if you fix the #if 0 bit.
sys/dev/ofw/ofw_cpu.c | ||
---|---|---|
199 ↗ | (On Diff #44127) | Probably this part can just be deleted? |
sys/dev/ofw/ofw_cpu.c | ||
---|---|---|
199 ↗ | (On Diff #44127) | Yes it can. I had kept it in just for reference, and forgot to delete it. |