Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-27 Thread David Daney
On 04/27/2016 04:37 AM, Dennis Chen wrote: Hi Hanjun, Thanks for the clarification and some little comments ;-) On 27 April 2016 at 12:04, Hanjun Guo wrote: Hi Dennis, David, [...] Yes, we can get such information in /sys/devices/system/node, I think we can only print: ACPI: NUMA: SRAT:

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-27 Thread Dennis Chen
Hi Hanjun, Thanks for the clarification and some little comments ;-) On 27 April 2016 at 12:04, Hanjun Guo wrote: > Hi Dennis, David, > > Sorry for the late reply, please see my comments below. > > > On 2016/4/27 9:14, David Daney wrote: >> >> On 04/21/2016 03:06 AM, Dennis Chen wrote: >>> >>> O

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-26 Thread Hanjun Guo
Hi Dennis, David, Sorry for the late reply, please see my comments below. On 2016/4/27 9:14, David Daney wrote: On 04/21/2016 03:06 AM, Dennis Chen wrote: On 20 April 2016 at 09:40, David Daney wrote: [...] +/* Callback for Proximity Domain -> ACPI processor UID mapping */ +void __init acpi

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-26 Thread David Daney
On 04/21/2016 03:06 AM, Dennis Chen wrote: On 20 April 2016 at 09:40, David Daney wrote: [...] +/* Callback for Proximity Domain -> ACPI processor UID mapping */ +void __init acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) +{ + int pxm, node; + u64 mpidr; + +

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-21 Thread Dennis Chen
On 20 April 2016 at 09:40, David Daney wrote: > From: Hanjun Guo > > Introduce a new file to hold ACPI based NUMA information parsing from > SRAT and SLIT. > > SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory > ranges to Proximity Domain mapping. SLIT has the information of

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-20 Thread David Daney
On 04/20/2016 01:31 AM, Ganapatrao Kulkarni wrote: On Wed, Apr 20, 2016 at 1:11 PM, Dennis Chen wrote: On 20 April 2016 at 09:40, David Daney wrote: [...] @@ -388,7 +389,9 @@ static int __init dummy_numa_init(void) void __init arm64_numa_init(void) { if (!numa_off) { -

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-20 Thread Ganapatrao Kulkarni
On Wed, Apr 20, 2016 at 1:11 PM, Dennis Chen wrote: > On 20 April 2016 at 09:40, David Daney wrote: >> From: Hanjun Guo >> >> Introduce a new file to hold ACPI based NUMA information parsing from >> SRAT and SLIT. >> >> SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory >> ran

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-20 Thread Dennis Chen
On 20 April 2016 at 09:40, David Daney wrote: > From: Hanjun Guo > > Introduce a new file to hold ACPI based NUMA information parsing from > SRAT and SLIT. > > SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory > ranges to Proximity Domain mapping. SLIT has the information of