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
F170652982: D58335.id.diff
Sat, Sep 5, 8:09 PM
Unknown Object (File)
Fri, Sep 4, 2:51 AM
Unknown Object (File)
Thu, Sep 3, 8:47 AM
Unknown Object (File)
Tue, Sep 1, 12:49 PM
Unknown Object (File)
Tue, Sep 1, 5:28 AM
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
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 74930
Build 71813: 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 ↗(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.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