Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-24 Thread Arnd Bergmann
On Friday 24 January 2014, Hanjun Guo wrote: > >> diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h > >> index e108d9c..c335c6d 100644 > >> --- a/arch/arm64/include/asm/acpi.h > >> +++ b/arch/arm64/include/asm/acpi.h > >> @@ -83,6 +83,9 @@ void arch_fix_phys_package_id(int

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-24 Thread Hanjun Guo
Hi Marc, On 2014年01月24日 01:54, Marc Zyngier wrote: Hi Hanjun, On 17/01/14 12:25, Hanjun Guo wrote: Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo ---

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-24 Thread Hanjun Guo
Hi Marc, On 2014年01月24日 01:54, Marc Zyngier wrote: Hi Hanjun, On 17/01/14 12:25, Hanjun Guo wrote: Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-24 Thread Arnd Bergmann
On Friday 24 January 2014, Hanjun Guo wrote: diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h index e108d9c..c335c6d 100644 --- a/arch/arm64/include/asm/acpi.h +++ b/arch/arm64/include/asm/acpi.h @@ -83,6 +83,9 @@ void arch_fix_phys_package_id(int num, u32

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-23 Thread Marc Zyngier
Hi Hanjun, On 17/01/14 12:25, Hanjun Guo wrote: > Implement core functions for parsing MADT table to get the information > about GIC cpu interface and GIC distributor to prepare for SMP and GIC > initialization. > > Signed-off-by: Hanjun Guo > --- > arch/arm64/include/asm/acpi.h |3 + >

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-23 Thread Marc Zyngier
Hi Hanjun, On 17/01/14 12:25, Hanjun Guo wrote: Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:12, Arnd Bergmann wrote: > On Friday 17 January 2014, Hanjun Guo wrote: >> >> +/* >> + * Local interrupt controller address, >> + * GIC cpu interface base address on ARM/ARM64 >> + */ >> +static u64 acpi_lapic_addr __initdata; > > If it's cpu local, don't you need more than one

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:12, Arnd Bergmann wrote: On Friday 17 January 2014, Hanjun Guo wrote: +/* + * Local interrupt controller address, + * GIC cpu interface base address on ARM/ARM64 + */ +static u64 acpi_lapic_addr __initdata; If it's cpu local, don't you need more than one address to

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: > > +/* > + * Local interrupt controller address, > + * GIC cpu interface base address on ARM/ARM64 > + */ > +static u64 acpi_lapic_addr __initdata; If it's cpu local, don't you need more than one address to support SMP? Also, the variable appears to

[PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Hanjun Guo
Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/acpi.h |3 + drivers/acpi/plat/arm-core.c | 139

[PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Hanjun Guo
Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h |3 + drivers/acpi/plat/arm-core.c | 139

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: +/* + * Local interrupt controller address, + * GIC cpu interface base address on ARM/ARM64 + */ +static u64 acpi_lapic_addr __initdata; If it's cpu local, don't you need more than one address to support SMP? Also, the variable appears to be