Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-15 Thread Hanjun Guo
On 2014年09月15日 15:00, Olof Johansson wrote: > On Fri, Sep 12, 2014 at 10:00:09PM +0800, Hanjun Guo wrote: >> MADT contains the information for MPIDR which is essential for >> SMP initialization, parse the GIC cpu interface structures to >> get the MPIDR value and map it to cpu_logical_map(), and ad

Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-15 Thread Jon Masters
On 09/15/2014 10:56 AM, Catalin Marinas wrote: > On Fri, Sep 12, 2014 at 08:47:00PM +0100, Jon Masters wrote: >> On 09/12/2014 10:00 AM, Hanjun Guo wrote: >>> MADT contains the information for MPIDR which is essential for >>> SMP initialization, parse the GIC cpu interface structures to >>> get the

Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-15 Thread Catalin Marinas
On Fri, Sep 12, 2014 at 08:47:00PM +0100, Jon Masters wrote: > On 09/12/2014 10:00 AM, Hanjun Guo wrote: > > MADT contains the information for MPIDR which is essential for > > SMP initialization, parse the GIC cpu interface structures to > > get the MPIDR value and map it to cpu_logical_map(), and

Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-15 Thread Olof Johansson
On Fri, Sep 12, 2014 at 10:00:09PM +0800, Hanjun Guo wrote: > MADT contains the information for MPIDR which is essential for > SMP initialization, parse the GIC cpu interface structures to > get the MPIDR value and map it to cpu_logical_map(), and add > enabled cpu with valid MPIDR into cpu_possibl

Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-12 Thread Jon Masters
On 09/12/2014 10:00 AM, Hanjun Guo wrote: > MADT contains the information for MPIDR which is essential for > SMP initialization, parse the GIC cpu interface structures to > get the MPIDR value and map it to cpu_logical_map(), and add > enabled cpu with valid MPIDR into cpu_possible_map. > > ACPI 5

[PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization

2014-09-12 Thread Hanjun Guo
MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR into cpu_possible_map. ACPI 5.1 only has two explicit methods to boot up SMP, PSCI