Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2014-01-20 Thread Grant Likely
On Wed, 11 Dec 2013 06:23:04 +0100, Arnd Bergmann wrote: > On Tuesday 10 December 2013, Grant Likely wrote: > > > --- a/drivers/acpi/plat/arm-core.c > > > +++ b/drivers/acpi/plat/arm-core.c > > > @@ -90,7 +90,7 @@ enum acpi_irq_model_id acpi_irq_model = > > > ACPI_IRQ_MODEL_GIC; > > > > > >

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2014-01-20 Thread Grant Likely
On Wed, 11 Dec 2013 06:23:04 +0100, Arnd Bergmann a...@arndb.de wrote: On Tuesday 10 December 2013, Grant Likely wrote: --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -90,7 +90,7 @@ enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_GIC; static

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Grant Likely wrote: > > --- a/drivers/acpi/plat/arm-core.c > > +++ b/drivers/acpi/plat/arm-core.c > > @@ -90,7 +90,7 @@ enum acpi_irq_model_id acpi_irq_model = > > ACPI_IRQ_MODEL_GIC; > > > > static unsigned int gsi_to_irq(unsigned int gsi) > > { > > - int irq

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-10 Thread Grant Likely
On Mon, 2 Dec 2013 23:44:53 +0800, Hanjun Guo wrote: > This API is similar to DT based irq_of_parse_and_map but does link > parent/child IRQ controllers. This is tested for primary GIC PPI and GIC SPI > interrupts and not for secondary child irq controllers. > > Signed-off-by: Amit Daniel

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Grant Likely wrote: --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -90,7 +90,7 @@ enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_GIC; static unsigned int gsi_to_irq(unsigned int gsi) { - int irq =

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-10 Thread Grant Likely
On Mon, 2 Dec 2013 23:44:53 +0800, Hanjun Guo hanjun@linaro.org wrote: This API is similar to DT based irq_of_parse_and_map but does link parent/child IRQ controllers. This is tested for primary GIC PPI and GIC SPI interrupts and not for secondary child irq controllers. Signed-off-by:

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-05 Thread Hanjun Guo
On 2013年12月05日 11:48, Arnd Bergmann wrote: On Tuesday 03 December 2013, Hanjun Guo wrote: + /* +* ACPI have no bindings to indicate SPI or PPI, so we +* use different mappings from DT in ACPI. +* +* For FDT +* PPI interrupt: in the range [0, 15]; +

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-05 Thread Hanjun Guo
On 2013年12月05日 11:48, Arnd Bergmann wrote: On Tuesday 03 December 2013, Hanjun Guo wrote: + /* +* ACPI have no bindings to indicate SPI or PPI, so we +* use different mappings from DT in ACPI. +* +* For FDT +* PPI interrupt: in the range [0, 15]; +

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-04 Thread Arnd Bergmann
On Tuesday 03 December 2013, Hanjun Guo wrote: > + /* > +* ACPI have no bindings to indicate SPI or PPI, so we > +* use different mappings from DT in ACPI. > +* > +* For FDT > +* PPI interrupt: in the range [0, 15]; > +* SPI interrupt: in the

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-04 Thread Arnd Bergmann
On Tuesday 03 December 2013, Hanjun Guo wrote: + /* +* ACPI have no bindings to indicate SPI or PPI, so we +* use different mappings from DT in ACPI. +* +* For FDT +* PPI interrupt: in the range [0, 15]; +* SPI interrupt: in the range

[RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-03 Thread Hanjun Guo
This API is similar to DT based irq_of_parse_and_map but does link parent/child IRQ controllers. This is tested for primary GIC PPI and GIC SPI interrupts and not for secondary child irq controllers. Signed-off-by: Amit Daniel Kachhap Signed-off-by: Hanjun Guo --- drivers/acpi/plat/arm-core.c

[RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2013-12-03 Thread Hanjun Guo
This API is similar to DT based irq_of_parse_and_map but does link parent/child IRQ controllers. This is tested for primary GIC PPI and GIC SPI interrupts and not for secondary child irq controllers. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Hanjun Guo