Re: [RFC PATCH v3 3/9] hw/arm/virt: Add cpu-map to device tree

2021-05-18 Thread wangyanan (Y)
On 2021/5/18 15:46, Andrew Jones wrote: On Mon, May 17, 2021 at 11:00:07PM +0800, wangyanan (Y) wrote: Hi Drew, On 2021/5/17 14:41, Andrew Jones wrote: On Sun, May 16, 2021 at 06:28:54PM +0800, Yanan Wang wrote: From: Andrew Jones Support device tree CPU topology descriptions. In

Re: [RFC PATCH v3 3/9] hw/arm/virt: Add cpu-map to device tree

2021-05-18 Thread Andrew Jones
On Mon, May 17, 2021 at 11:00:07PM +0800, wangyanan (Y) wrote: > Hi Drew, > > On 2021/5/17 14:41, Andrew Jones wrote: > > On Sun, May 16, 2021 at 06:28:54PM +0800, Yanan Wang wrote: > > > From: Andrew Jones > > > > > > Support device tree CPU topology descriptions. > > > > > > In accordance

Re: [RFC PATCH v3 3/9] hw/arm/virt: Add cpu-map to device tree

2021-05-17 Thread wangyanan (Y)
Hi Drew, On 2021/5/17 14:41, Andrew Jones wrote: On Sun, May 16, 2021 at 06:28:54PM +0800, Yanan Wang wrote: From: Andrew Jones Support device tree CPU topology descriptions. In accordance with the Devicetree Specification, the Linux Doc "arm/cpus.yaml" requires that cpus and cpu nodes in

Re: [RFC PATCH v3 3/9] hw/arm/virt: Add cpu-map to device tree

2021-05-17 Thread Andrew Jones
On Sun, May 16, 2021 at 06:28:54PM +0800, Yanan Wang wrote: > From: Andrew Jones > > Support device tree CPU topology descriptions. > > In accordance with the Devicetree Specification, the Linux Doc > "arm/cpus.yaml" requires that cpus and cpu nodes in the DT are > present. And we meet the

[RFC PATCH v3 3/9] hw/arm/virt: Add cpu-map to device tree

2021-05-16 Thread Yanan Wang
From: Andrew Jones Support device tree CPU topology descriptions. In accordance with the Devicetree Specification, the Linux Doc "arm/cpus.yaml" requires that cpus and cpu nodes in the DT are present. And we meet the requirement by creating /cpus/cpu@* nodes for members within ms->smp.cpus.