Re: [RFC 25/52] mips: Replace MachineState.smp access with topology helpers

2023-02-14 Thread Zhao Liu
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

RE: [RFC 25/52] mips: Replace MachineState.smp access with topology helpers

2023-02-14 Thread Mi, Dapeng1
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

[RFC 25/52] mips: Replace MachineState.smp access with topology helpers

2023-02-13 Thread Zhao Liu
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