Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-29 Thread Tomasz Nowicki
On 29.01.2015 16:29, Catalin Marinas wrote: On Tue, Jan 27, 2015 at 04:12:08PM +, Grant Likely wrote: On Fri, Jan 16, 2015 at 2:37 PM, Marc Zyngier wrote: @@ -78,6 +79,10 @@ void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) void __init init_IRQ(void) { irqchip_init

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-29 Thread Catalin Marinas
On Tue, Jan 27, 2015 at 04:12:08PM +, Grant Likely wrote: > On Fri, Jan 16, 2015 at 2:37 PM, Marc Zyngier wrote: > @@ -78,6 +79,10 @@ void __init set_handle_irq(void (*handle_irq)(struct > pt_regs *)) > void __init init_IRQ(void) > { > irqchip_init(); > + >

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-27 Thread Grant Likely
On Fri, Jan 16, 2015 at 2:37 PM, Marc Zyngier wrote: @@ -78,6 +79,10 @@ void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) void __init init_IRQ(void) { irqchip_init(); + + if (!handle_arch_irq) + acpi_gic_init(); + >>> >

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-23 Thread Hanjun Guo
On 2015年01月22日 22:46, Marc Zyngier wrote: Hi Hanjun, On 22/01/15 12:46, Hanjun Guo wrote: Hi Marc, We (Tomasz, Suravee and me) are working on supporting stacked domain on ACPI, and rework GIC ACPI related patch, before we going further, we need your guidance to see if we are going the right di

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-22 Thread Marc Zyngier
Hi Hanjun, On 22/01/15 12:46, Hanjun Guo wrote: > Hi Marc, > > We (Tomasz, Suravee and me) are working on supporting stacked domain on > ACPI, and rework GIC ACPI related patch, before we going further, we > need your guidance to see if we are going the right direction. > >- You said that we

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-22 Thread Hanjun Guo
Hi Marc, We (Tomasz, Suravee and me) are working on supporting stacked domain on ACPI, and rework GIC ACPI related patch, before we going further, we need your guidance to see if we are going the right direction. - You said that we spread GIC related code every where, so how about put all

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-20 Thread Jon Masters
On 01/20/2015 05:40 AM, Tomasz Nowicki wrote: > Hi Marc, > > On 16.01.2015 12:15, Marc Zyngier wrote: >> On 14/01/15 15:05, Hanjun Guo wrote: >>> From: Tomasz Nowicki >>> >>> ACPI kernel uses MADT table for proper GIC initialization. It needs to >>> parse GIC related subtables, collect CPU interf

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-20 Thread Tomasz Nowicki
Hi Marc, On 16.01.2015 12:15, Marc Zyngier wrote: On 14/01/15 15:05, Hanjun Guo wrote: From: Tomasz Nowicki ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization functi

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-16 Thread Marc Zyngier
On 16/01/15 13:54, Grant Likely wrote: > On Fri, Jan 16, 2015 at 11:15 AM, Marc Zyngier wrote: >> On 14/01/15 15:05, Hanjun Guo wrote: >>> From: Tomasz Nowicki >>> >>> ACPI kernel uses MADT table for proper GIC initialization. It needs to >>> parse GIC related subtables, collect CPU interface and

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-16 Thread Grant Likely
On Fri, Jan 16, 2015 at 11:15 AM, Marc Zyngier wrote: > On 14/01/15 15:05, Hanjun Guo wrote: >> From: Tomasz Nowicki >> >> ACPI kernel uses MADT table for proper GIC initialization. It needs to >> parse GIC related subtables, collect CPU interface and distributor >> addresses and call driver init

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-16 Thread Marc Zyngier
On 14/01/15 15:05, Hanjun Guo wrote: > From: Tomasz Nowicki > > ACPI kernel uses MADT table for proper GIC initialization. It needs to > parse GIC related subtables, collect CPU interface and distributor > addresses and call driver initialization function (which is hardware > abstraction agnostic

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: From: Tomasz Nowicki ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardware abstraction agnostic). In