Re: [RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-03-03 Thread Ying Fang
On 3/1/2021 11:50 PM, Michael S. Tsirkin wrote: On Mon, Mar 01, 2021 at 10:39:19AM +0100, Andrew Jones wrote: On Fri, Feb 26, 2021 at 10:23:03AM +0800, Ying Fang wrote: On 2/25/2021 7:47 PM, Andrew Jones wrote: On Thu, Feb 25, 2021 at 04:56:26PM +0800, Ying Fang wrote: Add the processor

Re: [RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-03-01 Thread Michael S. Tsirkin
On Mon, Mar 01, 2021 at 10:39:19AM +0100, Andrew Jones wrote: > On Fri, Feb 26, 2021 at 10:23:03AM +0800, Ying Fang wrote: > > > > > > On 2/25/2021 7:47 PM, Andrew Jones wrote: > > > On Thu, Feb 25, 2021 at 04:56:26PM +0800, Ying Fang wrote: > > > > Add the processor hierarchy node structures to

Re: [RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-03-01 Thread Andrew Jones
On Fri, Feb 26, 2021 at 10:23:03AM +0800, Ying Fang wrote: > > > On 2/25/2021 7:47 PM, Andrew Jones wrote: > > On Thu, Feb 25, 2021 at 04:56:26PM +0800, Ying Fang wrote: > > > Add the processor hierarchy node structures to build ACPI information > > > for CPU topology. Since the private

Re: [RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-02-25 Thread Ying Fang
On 2/25/2021 7:47 PM, Andrew Jones wrote: On Thu, Feb 25, 2021 at 04:56:26PM +0800, Ying Fang wrote: Add the processor hierarchy node structures to build ACPI information for CPU topology. Since the private resources may be used to describe cache hierarchy and it is variable among different

Re: [RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-02-25 Thread Andrew Jones
On Thu, Feb 25, 2021 at 04:56:26PM +0800, Ying Fang wrote: > Add the processor hierarchy node structures to build ACPI information > for CPU topology. Since the private resources may be used to describe > cache hierarchy and it is variable among different topology level, > three helpers are

[RFC PATCH 4/5] hw/acpi/aml-build: add processor hierarchy node structure

2021-02-25 Thread Ying Fang
Add the processor hierarchy node structures to build ACPI information for CPU topology. Since the private resources may be used to describe cache hierarchy and it is variable among different topology level, three helpers are introduced to describe the hierarchy. (1) build_socket_hierarchy for