Page MenuHomeFreeBSD

i386: provide PCPU pc_small_core for amd64 compat
ClosedPublic

Authored by rlibby on Jul 19 2026, 3:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 30, 12:46 AM
Unknown Object (File)
Fri, Aug 28, 10:09 AM
Unknown Object (File)
Wed, Aug 26, 2:54 PM
Unknown Object (File)
Tue, Aug 25, 11:51 AM
Unknown Object (File)
Sun, Aug 23, 7:38 AM
Unknown Object (File)
Fri, Aug 21, 9:29 AM
Unknown Object (File)
Wed, Aug 19, 11:08 PM
Unknown Object (File)
Mon, Aug 17, 1:05 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.Jul 19 2026, 3:39 PM
rlibby edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 19 2026, 3:40 PM