Re: [PATCH 1/8] x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon model 4h~8h
From: Borislav Petkov
Date: Tue Jun 02 2026 - 22:19:16 EST
On Mon, Mar 30, 2026 at 10:59:48AM +0800, Fu Hao wrote:
> > What does "model 4h~8h" mean?
> >
> > Models 0x4-0x8 ?
You didn't explain that one.
> Using separate functions for encapsulation is primarily due to the
> consideration for subsequent new processors, there may be different
> ways to obtain the core ID, die ID and pkg ID. Of course, it can also
> be temporarily placed in the "init_hygon" function at present.
Yes, do that.
You can carve it out later, when it gets unwieldy.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette