Re: [RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-10 Thread Hanjun Guo
On 2013-12-10 21:03, Grant Likely wrote: [...] >> +/* Parked Address in ACPI GIC structure can be used as cpu release addr */ >> +int acpi_get_parked_address_with_gic_id(u32 gic_id, u64 *parked_address) >> +{ >> +struct acpi_table_header *table_header = NULL; >> +struct

Re: [RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-10 Thread Grant Likely
On Mon, 2 Dec 2013 23:44:49 +0800, Hanjun Guo wrote: > Parked Address in GIC structure can be used as cpu release address > for spin table SMP initialisation. > > This patch gets parked address from MADT and use it for SMP > initialisation when DT is not available. > > Signed-off-by: Hanjun

Re: [RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-10 Thread Hanjun Guo
On 2013-12-10 21:03, Grant Likely wrote: [...] +/* Parked Address in ACPI GIC structure can be used as cpu release addr */ +int acpi_get_parked_address_with_gic_id(u32 gic_id, u64 *parked_address) +{ +struct acpi_table_header *table_header = NULL; +struct acpi_subtable_header *entry;

Re: [RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-10 Thread Grant Likely
On Mon, 2 Dec 2013 23:44:49 +0800, Hanjun Guo hanjun@linaro.org wrote: Parked Address in GIC structure can be used as cpu release address for spin table SMP initialisation. This patch gets parked address from MADT and use it for SMP initialisation when DT is not available.

[RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-03 Thread Hanjun Guo
Parked Address in GIC structure can be used as cpu release address for spin table SMP initialisation. This patch gets parked address from MADT and use it for SMP initialisation when DT is not available. Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/acpi.h |3 +++

[RFC part2 PATCH 4/9] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2013-12-03 Thread Hanjun Guo
Parked Address in GIC structure can be used as cpu release address for spin table SMP initialisation. This patch gets parked address from MADT and use it for SMP initialisation when DT is not available. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h |