Page MenuHomeFreeBSD

i386: provide PCPU pc_small_core for amd64 compat
ClosedPublic

Authored by rlibby on Sun, Jul 19, 3:43 AM.
Tags
None
Referenced Files
F163551135: D58335.diff
Fri, Jul 24, 9:40 AM
F163545678: D58335.id182223.diff
Fri, Jul 24, 8:18 AM
F163545578: D58335.id182256.diff
Fri, Jul 24, 8:16 AM
F163527487: D58335.diff
Fri, Jul 24, 4:03 AM
Unknown Object (File)
Thu, Jul 23, 6:52 AM
Unknown Object (File)
Thu, Jul 23, 1:52 AM
Unknown Object (File)
Wed, Jul 22, 3:29 AM
Unknown Object (File)
Wed, Jul 22, 1:52 AM
Subscribers

Details

Summary

Provide pc_small_core for i386 too to fix an i386 build break from x86
code referring to it. It won't be set.

Fixes: 7b26353a59d6 ("hwpstate_intel: Disable package control on hybrid CPU")

Test Plan

make buildkernel for amd64 and i386.

I do not have an appropriate CPU to test the actual functionality.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rlibby edited the test plan for this revision. (Show Details)
rlibby added reviewers: kib, olce, markj.
aokblast added inline comments.
sys/amd64/amd64/initcpu.c
265 ↗(On Diff #182198)

Sorry for missing this. It solves the problem. But I am wondering if @olce is working on this as intel now has E-Core, P-Core, and LE-Core, which small_cores is not enough. I am good with the change itself.

kib feedback from D58336: just provide pc_small_core on i386

rlibby retitled this revision from x86: memorize the existence of hybrid small cores to i386: provide PCPU pc_small_core for amd64 compat.Sun, Jul 19, 3:39 PM
rlibby edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Sun, Jul 19, 3:40 PM