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
F172801973: D58335.diff
Mon, Sep 21, 2:42 AM
Unknown Object (File)
Fri, Sep 18, 11:59 AM
Unknown Object (File)
Wed, Sep 16, 7:47 AM
Unknown Object (File)
Mon, Sep 14, 4:30 PM
Unknown Object (File)
Fri, Sep 11, 11:52 AM
Unknown Object (File)
Thu, Sep 10, 10:59 PM
Unknown Object (File)
Tue, Sep 8, 4:01 PM
Unknown Object (File)
Tue, Sep 8, 8:58 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