Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-07 Thread Grant Likely
On Wed, 25 Feb 2015 16:39:54 +0800 , Hanjun Guo wrote: > Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained > from the GICC Structure introduced by ACPI 5.1. > > The ARM architecture defines the MPIDR register as the CPU hardware > identifier. This patch adds the code

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-07 Thread Grant Likely
On Wed, 25 Feb 2015 16:39:54 +0800 , Hanjun Guo hanjun@linaro.org wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. The ARM architecture defines the MPIDR register as the CPU hardware identifier. This patch

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Hanjun Guo
On 2015/3/5 23:19, Catalin Marinas wrote: > On Thu, Mar 05, 2015 at 02:13:58PM +0100, Rafael J. Wysocki wrote: >> On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas >> wrote: >>> On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: On 2015/3/5 6:46, Rafael J. Wysocki wrote: > IMO,

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Catalin Marinas
On Thu, Mar 05, 2015 at 02:13:58PM +0100, Rafael J. Wysocki wrote: > On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas > wrote: > > On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: > >> On 2015/3/5 6:46, Rafael J. Wysocki wrote: > >> > IMO, you really need to define phys_cpuid_t in a

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Rafael J. Wysocki
On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas wrote: > On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: >> On 2015/3/5 6:46, Rafael J. Wysocki wrote: >> > IMO, you really need to define phys_cpuid_t in a common place or people >> > will >> > forget that it may be 64-bit, because

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Catalin Marinas
On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: > On 2015/3/5 6:46, Rafael J. Wysocki wrote: > > IMO, you really need to define phys_cpuid_t in a common place or people will > > forget that it may be 64-bit, because they'll only be looking at their arch. > > Since x86 and ARM64 are

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Hanjun Guo
On 2015/3/5 6:46, Rafael J. Wysocki wrote: > On Wednesday, February 25, 2015 04:39:54 PM Hanjun Guo wrote: >> Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained >> from the GICC Structure introduced by ACPI 5.1. >> >> The ARM architecture defines the MPIDR register as the CPU

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Hanjun Guo
On 2015/3/5 6:46, Rafael J. Wysocki wrote: On Wednesday, February 25, 2015 04:39:54 PM Hanjun Guo wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. The ARM architecture defines the MPIDR register as the CPU hardware

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Catalin Marinas
On Thu, Mar 05, 2015 at 02:13:58PM +0100, Rafael J. Wysocki wrote: On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: On 2015/3/5 6:46, Rafael J. Wysocki wrote: IMO, you really need to define

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Catalin Marinas
On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: On 2015/3/5 6:46, Rafael J. Wysocki wrote: IMO, you really need to define phys_cpuid_t in a common place or people will forget that it may be 64-bit, because they'll only be looking at their arch. Since x86 and ARM64 are using

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Rafael J. Wysocki
On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: On 2015/3/5 6:46, Rafael J. Wysocki wrote: IMO, you really need to define phys_cpuid_t in a common place or people will forget that it may be 64-bit,

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-05 Thread Hanjun Guo
On 2015/3/5 23:19, Catalin Marinas wrote: On Thu, Mar 05, 2015 at 02:13:58PM +0100, Rafael J. Wysocki wrote: On Thu, Mar 5, 2015 at 12:27 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Mar 05, 2015 at 04:03:21PM +0800, Hanjun Guo wrote: On 2015/3/5 6:46, Rafael J. Wysocki wrote:

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-04 Thread Rafael J. Wysocki
On Wednesday, February 25, 2015 04:39:54 PM Hanjun Guo wrote: > Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained > from the GICC Structure introduced by ACPI 5.1. > > The ARM architecture defines the MPIDR register as the CPU hardware > identifier. This patch adds the code

Re: [PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-04 Thread Rafael J. Wysocki
On Wednesday, February 25, 2015 04:39:54 PM Hanjun Guo wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. The ARM architecture defines the MPIDR register as the CPU hardware identifier. This patch adds the code

[PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-25 Thread Hanjun Guo
Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. The ARM architecture defines the MPIDR register as the CPU hardware identifier. This patch adds the code infrastructure to retrieve the MPIDR values from the ARM ACPI GICC

[PATCH v9 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-25 Thread Hanjun Guo
Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. The ARM architecture defines the MPIDR register as the CPU hardware identifier. This patch adds the code infrastructure to retrieve the MPIDR values from the ARM ACPI GICC