Re: [PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-23 Thread Zhao Liu
On Tue, Jul 23, 2024 at 12:14:30PM +0200, Markus Armbruster wrote: > Date: Tue, 23 Jul 2024 12:14:30 +0200 > From: Markus Armbruster > Subject: Re: [PATCH 1/8] hw/core: Make CPU topology enumeration > arch-agnostic > > Zhao Liu writes: > > > Hi Markus, > >

Re: [PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-23 Thread Markus Armbruster
Zhao Liu writes: > Hi Markus, > > On Mon, Jul 22, 2024 at 03:24:24PM +0200, Markus Armbruster wrote: >> Date: Mon, 22 Jul 2024 15:24:24 +0200 >> From: Markus Armbruster >> Subject: Re: [PATCH 1/8] hw/core: Make CPU topology enumeration >> arch-agnostic >&

Re: [PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-22 Thread Zhao Liu
Hi Markus, On Mon, Jul 22, 2024 at 03:24:24PM +0200, Markus Armbruster wrote: > Date: Mon, 22 Jul 2024 15:24:24 +0200 > From: Markus Armbruster > Subject: Re: [PATCH 1/8] hw/core: Make CPU topology enumeration > arch-agnostic > > One little thing... > > Zhao Liu write

Re: [PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-22 Thread Markus Armbruster
One little thing... Zhao Liu writes: > Cache topology needs to be defined based on CPU topology levels. Thus, > define CPU topology enumeration in qapi/machine.json to make it generic > for all architectures. > > To match the general topology naming style, rename CPU_TOPO_LEVEL_SMT > and CPU_TOP

Re: [PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-22 Thread Markus Armbruster
Zhao Liu writes: > Cache topology needs to be defined based on CPU topology levels. Thus, > define CPU topology enumeration in qapi/machine.json to make it generic > for all architectures. > > To match the general topology naming style, rename CPU_TOPO_LEVEL_SMT > and CPU_TOPO_LEVEL_PACKAGE to CP

[PATCH 1/8] hw/core: Make CPU topology enumeration arch-agnostic

2024-07-03 Thread Zhao Liu
Cache topology needs to be defined based on CPU topology levels. Thus, define CPU topology enumeration in qapi/machine.json to make it generic for all architectures. To match the general topology naming style, rename CPU_TOPO_LEVEL_SMT and CPU_TOPO_LEVEL_PACKAGE to CPU_TOPO_LEVEL_THREAD and CPU_TO