Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-03-08 Thread Michal Orzel
Hi Henry, On 08/03/2024 03:05, Henry Wang wrote: > Hi everyone, > > On 2/26/2024 6:43 PM, Michal Orzel wrote: > xen/arch/arm/smpboot.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > +/* PE not implemented using a multithreading type approach. */ > +

Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-03-07 Thread Henry Wang
Hi everyone, On 2/26/2024 6:43 PM, Michal Orzel wrote: xen/arch/arm/smpboot.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) +/* PE not implemented using a multithreading type approach. */ +if ( system_cpuinfo.mpidr.mt == 0 ) Do we need this check? It mt was true,

Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-02-26 Thread Henry Wang
Hi Michal, On 2/26/2024 6:43 PM, Michal Orzel wrote: On 26/02/2024 10:54, Wang, Henry wrote: xen/arch/arm/smpboot.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) +/* PE not implemented using a multithreading type approach. */ +if ( system_cpuinfo.mpidr.mt == 0 ) Do we

Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-02-26 Thread Michal Orzel
On 26/02/2024 10:54, Wang, Henry wrote: > [AMD Official Use Only - General] > > Hi Michal, > >> -Original Message- >> Subject: Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask >> >> Hi Henry, >> >> On 26/02/2024 04:01, Henry Wang w

RE: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-02-26 Thread Wang, Henry
[AMD Official Use Only - General] Hi Michal, > -Original Message- > Subject: Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask > > Hi Henry, > > On 26/02/2024 04:01, Henry Wang wrote: > > Signed-off-by: Henry Wang > NIT: You first sent this patch as p

Re: [PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-02-26 Thread Michal Orzel
Hi Henry, On 26/02/2024 04:01, Henry Wang wrote: > In the common sysctl command XEN_SYSCTL_physinfo, the value of > cores_per_socket is calculated based on the cpu_core_mask of CPU0. > Currently on Arm this is a fixed value 1 (can be checked via xl info), > which is not correct. This is because

[PATCH] xen/arm: Set correct per-cpu cpu_core_mask

2024-02-25 Thread Henry Wang
In the common sysctl command XEN_SYSCTL_physinfo, the value of cores_per_socket is calculated based on the cpu_core_mask of CPU0. Currently on Arm this is a fixed value 1 (can be checked via xl info), which is not correct. This is because during the Arm CPU online process at boot time,