Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-15 Thread Gavin Shan
Hi Jonathan, On 4/14/22 5:33 PM, Jonathan Cameron wrote: On Thu, 14 Apr 2022 15:35:41 +0800 Gavin Shan wrote: On 4/14/22 10:49 AM, wangyanan (Y) wrote: On 2022/4/14 10:37, Gavin Shan wrote: On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM,

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-15 Thread Gavin Shan
Hi Yanan, On 4/14/22 5:29 PM, wangyanan (Y) wrote: On 2022/4/14 15:35, Gavin Shan wrote: On 4/14/22 10:49 AM, wangyanan (Y) wrote: On 2022/4/14 10:37, Gavin Shan wrote: On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM, wangyanan (Y) wrote:

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-14 Thread Jonathan Cameron via
On Thu, 14 Apr 2022 15:35:41 +0800 Gavin Shan wrote: > Hi Yanan, > > On 4/14/22 10:49 AM, wangyanan (Y) wrote: > > On 2022/4/14 10:37, Gavin Shan wrote: > >> On 4/14/22 10:27 AM, wangyanan (Y) wrote: > >>> On 2022/4/14 8:08, Gavin Shan wrote: > On 4/13/22 8:39 PM, wangyanan (Y)

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-14 Thread wangyanan (Y)
On 2022/4/14 15:35, Gavin Shan wrote: Hi Yanan, On 4/14/22 10:49 AM, wangyanan (Y) wrote: On 2022/4/14 10:37, Gavin Shan wrote: On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote:

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-14 Thread Gavin Shan
Hi Yanan, On 4/14/22 10:49 AM, wangyanan (Y) wrote: On 2022/4/14 10:37, Gavin Shan wrote: On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-13 Thread wangyanan (Y)
On 2022/4/14 10:37, Gavin Shan wrote: Hi Yanan, On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated.

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-13 Thread Gavin Shan
Hi Yanan, On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:08, Gavin Shan wrote: On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-13 Thread wangyanan (Y)
On 2022/4/14 8:08, Gavin Shan wrote: Hi Yanan, On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to provide the default CPU-to-NUMA mapping or

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-13 Thread Gavin Shan
Hi Yanan, On 4/13/22 8:39 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to provide the default CPU-to-NUMA mapping or association based on the socket ID of the

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-13 Thread wangyanan (Y)
Hi Gavin, On 2022/4/3 22:59, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to provide the default CPU-to-NUMA mapping or association based on the socket ID of the given CPU. This takes account of SMP

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-04 Thread Igor Mammedov
On Mon, 4 Apr 2022 18:48:00 +0800 Gavin Shan wrote: > Hi Daniel, > > On 4/4/22 4:39 PM, Daniel P. Berrangé wrote: > > On Sun, Apr 03, 2022 at 10:59:51PM +0800, Gavin Shan wrote: > >> Currently, the SMP configuration isn't considered when the CPU > >> topology is populated. In this case, it's

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-04 Thread Gavin Shan
Hi Daniel, On 4/4/22 4:39 PM, Daniel P. Berrangé wrote: On Sun, Apr 03, 2022 at 10:59:51PM +0800, Gavin Shan wrote: Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to provide the default CPU-to-NUMA mapping or association

Re: [PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-04 Thread Daniel P . Berrangé
On Sun, Apr 03, 2022 at 10:59:51PM +0800, Gavin Shan wrote: > Currently, the SMP configuration isn't considered when the CPU > topology is populated. In this case, it's impossible to provide > the default CPU-to-NUMA mapping or association based on the socket > ID of the given CPU. > > This takes

[PATCH v5 2/4] hw/arm/virt: Consider SMP configuration in CPU topology

2022-04-03 Thread Gavin Shan
Currently, the SMP configuration isn't considered when the CPU topology is populated. In this case, it's impossible to provide the default CPU-to-NUMA mapping or association based on the socket ID of the given CPU. This takes account of SMP configuration when the CPU topology is populated. The