On Tue, Feb 14, 2023 at 11:40:14AM +0800, Mi, Dapeng1 wrote:
> Date: Tue, 14 Feb 2023 11:40:14 +0800
> From: "Mi, Dapeng1"
> Subject: RE: [RFC 25/52] mips: Replace MachineState.smp access with
> topology helpers
>
> > From: Zhao Liu
> > Sent: Monday, Febr
nu.org; Wang, Zhenyu Z ; Mi,
> Dapeng1 ; Ding, Zhuocheng
> ; Robert Hoo ;
> Christopherson,, Sean ; Like Xu
> ; Liu, Zhao1 ; Aleksandar
> Rikalo ; Huacai Chen
> ; Jiaxun Yang ; Aurelien
> Jarno
> Subject: [RFC 25/52] mips: Replace MachineState.smp access with topology
> he
From: Zhao Liu
When MachineState.topo is introduced, the topology related structures
become complicated. So we wrapped the access to topology fields of
MachineState.topo into some helpers, and we are using these helpers
to replace the use of MachineState.smp.
For mips, it's straightforward to