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
F165150600: D58335.id182198.diff
Thu, Aug 6, 10:23 AM
Unknown Object (File)
Tue, Aug 4, 11:22 AM
Unknown Object (File)
Tue, Aug 4, 3:53 AM
Unknown Object (File)
Mon, Aug 3, 1:20 AM
Unknown Object (File)
Sun, Aug 2, 3:51 AM
Unknown Object (File)
Sun, Aug 2, 12:46 AM
Unknown Object (File)
Sat, Aug 1, 7:19 AM
Unknown Object (File)
Thu, Jul 30, 9:25 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 74923
Build 71806: arc lint + arc unit

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

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