[PATCH] Fix IGEPv2 second MMC channel power supply

2010-11-14 Thread Marc Zyngier
it. With that patch, the second channel is properly detected. Tested on an IGEPv2 Rev-B. Signed-off-by: Marc Zyngier m...@misterjones.org Cc: Enric Balletbo i Serra eballe...@gmail.com Cc: Tony Lindgren t...@atomide.com --- Note that this doesn't fix WLAN itself on 2.6.37-rc1... arch/arm/mach-omap2

Re: [PATCH] Fix IGEPv2 second MMC channel power supply

2010-11-14 Thread Marc Zyngier
On Sun, 14 Nov 2010 19:11:46 +0100 Enric Balletbò i Serra eballe...@gmail.com wrote: Why we need to define an unexistent regulator in board file ? This should not be done enabling the CONFIG_DUMMY_REGULATOR in your kernel configuration ? I'm not adding another regulator, but instead simply

Re: [PATCH] Fix IGEPv2 second MMC channel power supply

2010-11-16 Thread Marc Zyngier
On Mon, 15 Nov 2010 09:32:22 +0100 Enric Balletbò i Serra eballe...@gmail.com wrote: Hi Enric, So the DUMMY_REGULATOR is only a workaround when a regulator is not defined and shouldn't be used ? Sorry if this is a stupid question but regulator interface is not too clear for me. My

[PATCH v2] Fix IGEPv2 second MMC channel power supply

2010-11-17 Thread Marc Zyngier
. Tested on an IGEPv2 Rev-B. Signed-off-by: Marc Zyngier m...@misterjones.org Acked-by: Enric Balletbo i Serra eballe...@gmail.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-igep0020.c | 61 - 1 files changed, 51 insertions(+), 10 deletions

[REPOST][PATCH] Fix IGEPv2 second MMC channel power supply

2010-12-04 Thread Marc Zyngier
. Tested on an IGEPv2 Rev-B. Signed-off-by: Marc Zyngier m...@misterjones.org Acked-by: Enric Balletbo i Serra eballe...@gmail.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-igep0020.c | 61 - 1 files changed, 51 insertions(+), 10 deletions

Re: [PATCH 2/3] omap3: igep3: Fix IGEP module second MMC channel power supply.

2011-01-10 Thread Marc Zyngier
Acked-by: Marc Zyngier m...@misterjones.org -- Who you jivin' with that Cosmik Debris? -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] Serial: Define IRQ flags for 8250 driver

2009-06-12 Thread Marc Zyngier
On Thu, 11 Jun 2009 19:53:50 -0500 Vikram Pandita vikram.pand...@ti.com wrote: Boards with serial irq High/Low/Rising/Falling IRQ requirement do not work today 8250 serial driver does not have provision to pass on IRQ flags from platform_device This is requred for OMAP Zoom2 board for

Re: [PATCH] serial: 8250: add IRQ trigger support

2009-06-12 Thread Marc Zyngier
). Aside from this remark: Acked-by: Marc Zyngier m...@misterjones.org --- drivers/serial/8250.c | 10 ++ include/linux/serial_core.h |4 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index bab115e..8235ef5

Re: [PATCH] ARM: architected timers: Mark the clockevent with the C3_STOP feature

2012-07-04 Thread Marc Zyngier
broadcast timer. Cc: Marc Zyngier marc.zyng...@arm.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Hi Santosh, I already have queued an identical patch from Lorenzo. Thanks for reminder anyway! M. --- arch/arm/kernel/arch_timer.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] usb: ehci: make HC see up-to-date qh/qtd descriptor ASAP

2011-08-31 Thread Marc Zyngier
On 31/08/11 16:27, Mark Salter wrote: On Wed, 2011-08-31 at 16:21 +0100, Will Deacon wrote: On Wed, Aug 31, 2011 at 02:43:33PM +0100, Mark Salter wrote: On Wed, 2011-08-31 at 09:49 +0100, Will Deacon wrote: On Wed, Aug 31, 2011 at 01:23:47AM +0100, Chen Peter-B29397 wrote: One question: why

Re: [PATCH] usb: ehci: make HC see up-to-date qh/qtd descriptor ASAP

2011-09-01 Thread Marc Zyngier
Hi Marc, On 31/08/11 17:55, Marc Dietrich wrote: Am Mittwoch 31 August 2011, 18:12:48 schrieb Marc Zyngier: [...] Oddly enough, this patch doesn't do anything on my Tegra setup. In both cases, I get around 17MB/s from a crap SD card plugged in a USB reader. This leads me to suspect

Re: [PATCH] usb: ehci: make HC see up-to-date qh/qtd descriptor ASAP

2011-09-02 Thread Marc Zyngier
On 01/09/11 20:08, Stephen Warren wrote: Marc Dietich wrote at Thursday, September 01, 2011 5:14 AM: I'll add Stephen Warren from NVIDIA to the CC list. He has more HW to test on. Here are the results I found: Harmony: Tegra USB3 - SMSC9514 hub: NOT affected (Unplugging LAN cable, or

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-06 Thread Marc Zyngier
Hi Tony, On Fri, 5 Oct 2012 13:08:22 -0700, Tony Lindgren t...@atomide.com wrote: Hi, * Marc Zyngier marc.zyng...@arm.com [120907 10:04]: From: Dave Martin dave.mar...@linaro.org This patch does two things: * Ensure that asynchronous aborts are masked at kernel entry

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-06 Thread Marc Zyngier
On Sat, 6 Oct 2012 10:06:00 -0400 (EDT), Nicolas Pitre nicolas.pi...@linaro.org wrote: On Sat, 6 Oct 2012, Marc Zyngier wrote: Hi Tony, On Fri, 5 Oct 2012 13:08:22 -0700, Tony Lindgren t...@atomide.com wrote: Hi, * Marc Zyngier marc.zyng...@arm.com [120907 10:04]: From: Dave

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-06 Thread Marc Zyngier
On Sat, 6 Oct 2012 08:40:52 -0700, Tony Lindgren t...@atomide.com wrote: * Nicolas Pitre nicolas.pi...@linaro.org [121006 08:33]: On Sat, 6 Oct 2012, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [121006 03:19]: If so, that indicates some side effect

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-08 Thread Marc Zyngier
On 08/10/12 12:01, Dave Martin wrote: On Sat, Oct 06, 2012 at 09:00:32AM -0700, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [121006 03:19]: If so, that indicates some side effect of the safe_svcmode_maskall macro, and I suspect the movs pc, lr bit. Can you try the attached

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-04-04 Thread Marc Zyngier
On Mon, 2011-04-04 at 12:21 +0100, Russell King - ARM Linux wrote: On Mon, Apr 04, 2011 at 12:03:42PM +0100, Catalin Marinas wrote: On Mon, 2011-04-04 at 01:59 +0100, Arnd Bergmann wrote: On Sunday 03 April 2011, Russell King - ARM Linux wrote: Then there's those which change the cs-read

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-04-04 Thread Marc Zyngier
On Mon, 2011-04-04 at 14:31 +0100, Russell King - ARM Linux wrote: On Mon, Apr 04, 2011 at 02:24:17PM +0100, Marc Zyngier wrote: On Mon, 2011-04-04 at 12:21 +0100, Russell King - ARM Linux wrote: Whether its worth it or not is questionable - the above is more lines of code than many

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-04-05 Thread Marc Zyngier
On Mon, 2011-04-04 at 22:08 +0200, Linus Walleij wrote: 2011/4/4 Marc Zyngier marc.zyng...@arm.com: On Mon, 2011-04-04 at 14:31 +0100, Russell King - ARM Linux wrote: If ARM are going to architect a set of timers into the hardware, let's make sure that all such hardware has them so we can

Re: [RFC PATCH 03/12] ARM: omap4: use remapped PPI interrupts for local timer

2011-05-03 Thread Marc Zyngier
On Fri, 2011-04-29 at 12:54 +0530, Santosh Shilimkar wrote: Hi Santosh, On 4/21/2011 12:38 AM, Marc Zyngier wrote: Use the normal interrupt scheme for the local timers by using a remapped PPI interrupt. Tested on a Pandaboard. Cc: Tony Lindgrent...@atomide.com Cc: Santosh

Re: [RFC PATCH 1/5] arm:omap1/2/3/4:Convert 32k-Sync clocksource driver to platform_driver

2012-01-18 Thread Marc Zyngier
On 18/01/12 14:11, Russell King - ARM Linux wrote: On Wed, Jan 18, 2012 at 01:34:55PM +, Hiremath, Vaibhav wrote: On Wed, Jan 18, 2012 at 17:29:52, Russell King - ARM Linux wrote: On Wed, Jan 18, 2012 at 04:58:02PM +0530, Vaibhav Hiremath wrote: Convert counter_32k clocksource driver to

Re: [RFC PATCH 1/5] arm:omap1/2/3/4:Convert 32k-Sync clocksource driver to platform_driver

2012-01-18 Thread Marc Zyngier
On 18/01/12 14:38, Hiremath, Vaibhav wrote: On Wed, Jan 18, 2012 at 19:55:51, Marc Zyngier wrote: On 18/01/12 14:11, Russell King - ARM Linux wrote: On Wed, Jan 18, 2012 at 01:34:55PM +, Hiremath, Vaibhav wrote: On Wed, Jan 18, 2012 at 17:29:52, Russell King - ARM Linux wrote: On Wed, Jan

Re: SMP local timers and their CPUfreq notifiers setup on OMAP3

2012-02-17 Thread Marc Zyngier
Hi Santosh, On Fri, 17 Feb 2012 13:18:37 +0530, Santosh Shilimkar santosh.shilim...@ti.com wrote: From 3a16f7a6694c14e201fdf6ad195c821816b2de84 Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar santosh.shilim...@ti.com Date: Fri, 17 Feb 2012 11:11:28 +0530 Subject: [PATCH] ARM: smp_twd:

Re: SMP local timers and their CPUfreq notifiers setup on OMAP3

2012-02-17 Thread Marc Zyngier
On 17/02/12 10:40, Shilimkar, Santosh wrote: On Fri, Feb 17, 2012 at 3:17 PM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Santosh, On Fri, 17 Feb 2012 13:18:37 +0530, Santosh Shilimkar santosh.shilim...@ti.com wrote: [...] arch/arm/kernel/smp_twd.c |4 +++- 1 files changed, 3

Re: SMP local timers and their CPUfreq notifiers setup on OMAP3

2012-02-17 Thread Marc Zyngier
On 17/02/12 12:28, Santosh Shilimkar wrote: On Friday 17 February 2012 04:36 PM, Marc Zyngier wrote: On 17/02/12 10:40, Shilimkar, Santosh wrote: On Fri, Feb 17, 2012 at 3:17 PM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Santosh, On Fri, 17 Feb 2012 13:18:37 +0530, Santosh Shilimkar

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Marc Zyngier
On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5 boot.. [0.00] arch_timer: No interrupt available, giving up Cc: Benoit Cousson

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Marc Zyngier
On 18/01/13 17:00, Santosh Shilimkar wrote: On Friday 18 January 2013 09:32 PM, Marc Zyngier wrote: On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-19 Thread Marc Zyngier
On Sat, 19 Jan 2013 00:21:22 +0530, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Friday 18 January 2013 10:38 PM, Marc Zyngier wrote: On 18/01/13 17:00, Santosh Shilimkar wrote: On Friday 18 January 2013 09:32 PM, Marc Zyngier wrote: On 18/01/13 15:32, Santosh Shilimkar wrote: From

Re: [PATCH] ARM: convert arm/arm64 arch timer to use CLKSRC_OF init

2013-03-21 Thread Marc Zyngier
On 21/03/13 11:06, Mark Rutland wrote: Hi Rob, (adding Marc to Cc as he may have comments). On Wed, Mar 20, 2013 at 10:34:35PM +, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com This converts arm and arm64 to use CLKSRC_OF DT based initialization for the arch timer. A

Re: [PATCH v2 8/8] ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board

2013-08-13 Thread Marc Zyngier
On 2013-08-13 10:46, Mark Rutland wrote: [Adding Marc to Cc] On Tue, Aug 13, 2013 at 08:24:31AM +0100, Rajendra Nayak wrote: [].. + + cpus { + cpu@0 { + compatible = arm,cortex-a15; + timer { +

Re: [PATCH] ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board

2013-08-14 Thread Marc Zyngier
On 2013-08-14 11:25, Rajendra Nayak wrote: From: R Sricharan r.sricha...@ti.com Add minimal device tree source needed for DRA7 based SoCs. Also add a board dts file for the dra7-evm (based on dra752) which contains 1.5G of memory with 1G interleaved and 512MB non-interleaved. Also added in the

Re: [RFC PATCH 1/6] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-09-30 Thread Marc Zyngier
On 30/09/13 14:59, Sricharan R wrote: In some socs the gic can be preceded by a crossbar IP which routes the peripheral interrupts to the gic inputs. The peripheral interrupts are associated with a fixed crossbar input line and the crossbar routes that to one of the free gic input line. The

Re: [RFC PATCH 1/6] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-09-30 Thread Marc Zyngier
On 30/09/13 15:22, Santosh Shilimkar wrote: On Monday 30 September 2013 10:16 AM, Marc Zyngier wrote: On 30/09/13 14:59, Sricharan R wrote: In some socs the gic can be preceded by a crossbar IP which routes the peripheral interrupts to the gic inputs. The peripheral interrupts are associated

Re: [PATCH 2/2] ARM: OMAP5: Add HYP mode entry support for secondary CPUs

2013-11-25 Thread Marc Zyngier
during boot. Same path is also used for CPU hotplug as well during suspend for secondary CPU. Hence patch the secondary CPU boot path for hyp mode etry. Cc: Marc Zyngier marc.zyng...@arm.com Cc: Christoffer Dall christoffer.d...@linaro.org Cc: Tony Lindgren t...@atomide.com Signed-off

[PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Marc Zyngier
converting the GIC driver to use EOImode==1 on GICv2-based systems. It uses the GICC_DIR register, and the result is a very early firework... Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/axm55xx.dtsi | 2 +- arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Marc Zyngier
On Wed, Jun 25 2014 at 01:21:17 PM, Rob Herring robherri...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:37 AM, Marc Zyngier marc.zyng...@arm.com wrote: All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have

[PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-08-26 Thread Marc Zyngier
://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git handle_domain_irq From v1 [1]: - Made handle_domain_irq a generic function - Added OpenRISC to the list of affected architectures - Converted more interrupt controllers - Rebased on v3.17-rc1 [1]: https://lkml.org/lkml/2014/7/8/381 Marc

[PATCH v2 03/26] ARM: convert handle_IRQ to use __handle_domain_irq

2014-08-26 Thread Marc Zyngier
In order to limit code duplication, convert the architecture specific handle_IRQ to use the generic __handle_domain_irq function. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/Kconfig | 1 + arch/arm/kernel/irq.c | 19 +-- 2 files changed, 2 insertions

[PATCH v2 13/26] irqchip: sun4i: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-sun4i.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c index 6fcef4a..64155b6

[PATCH v2 26/26] openrisc: get rid of handle_IRQ

2014-08-26 Thread Marc Zyngier
The openrisc irqchip driver has been converted to handle_domain_irq, making it possible to remove the handle_IRQ stub entierely. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/openrisc/include/asm/irq.h | 1 - arch/openrisc/kernel/irq.c | 5 - 2 files changed, 6 deletions

[PATCH v2 25/26] arm64: get rid of handle_IRQ

2014-08-26 Thread Marc Zyngier
All the arm64 irqchip drivers have been converted to handle_domain_irq, making it possible to remove the handle_IRQ stub entierely. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm64/include/asm/hardirq.h | 2 -- arch/arm64/kernel/irq.c | 11 --- 2 files changed

[PATCH v2 21/26] irqchip: or1k-pic: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-or1k-pic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-or1k-pic.c b/drivers/irqchip/irq-or1k-pic.c index 17ff033

[PATCH v2 19/26] irqchip: atmel-aic: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-atmel-aic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-atmel-aic.c b/drivers/irqchip/irq-atmel-aic.c index a82869e

[PATCH v2 22/26] ARM: imx: avic: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-imx/avic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/avic.c b/arch/arm/mach-imx/avic.c index 24b103c..1a89323 100644

[PATCH v2 23/26] ARM: imx: tzic: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-imx/tzic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/tzic.c b/arch/arm/mach-imx/tzic.c index 1d4f384..4de65ee 100644

[PATCH v2 20/26] irqchip: atmel-aic5: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-atmel-aic5.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c index

[PATCH v2 18/26] irqchip: GICv3: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-gic-v3.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 57eaa5a

[PATCH v2 24/26] ARM: omap2: irq: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-omap2/irq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 35b8590..a62ba5a 100644

[PATCH v2 17/26] irqchip: zevio: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-zevio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-zevio.c b/drivers/irqchip/irq-zevio.c index ceb3a43..e4ef74e

[PATCH v2 11/26] irqchip: s3c24xx: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-s3c24xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index 78a6acc

[PATCH v2 12/26] irqchip: sirfsoc: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-sirfsoc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-sirfsoc.c b/drivers/irqchip/irq-sirfsoc.c index 5e54f6d

[PATCH v2 09/26] irqchip: mxs: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-mxs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index 4044ff2..e4acf1e 100644

[PATCH v2 10/26] irqchip: orion: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-orion.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-orion.c b/drivers/irqchip/irq-orion.c index 34d18b4..ad0c0f6

[PATCH v2 14/26] irqchip: versatile-fpga: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-versatile-fpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c

[PATCH v2 15/26] irqchip: vic: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-vic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-vic.c b/drivers/irqchip/irq-vic.c index 7d35287..54089de 100644

[PATCH v2 08/26] irqchip: mmp: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-mmp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c index 1c3e2c9..c0da57b

[PATCH v2 16/26] irqchip: vt8500: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-vt8500.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c index eb6e91e..b7af816

[PATCH v2 05/26] irqchip: GIC: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-gic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 4b959e6..480bae8 100644

[PATCH v2 04/26] openrisc: convert handle_IRQ to use __handle_domain_irq

2014-08-26 Thread Marc Zyngier
In order to limit code duplication, convert the architecture specific handle_IRQ to use the generic __handle_domain_irq function. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/openrisc/Kconfig | 1 + arch/openrisc/kernel/irq.c | 9 + 2 files changed, 2 insertions(+), 8

[PATCH v2 06/26] irqchip: armada-370-xp: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-armada-370-xp.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq

[PATCH v2 01/26] genirq: add irq_domain-aware core IRQ handler

2014-08-26 Thread Marc Zyngier
controllers can then be updated to use the new mechanism. This code is sitting behind a new CONFIG_HANDLE_DOMAIN_IRQ, as not all architectures implement set_irq_regs (yes, mn10300, I'm looking at you...). Reported-by: Vladimir Murzin vladimir.mur...@arm.com Signed-off-by: Marc Zyngier marc.zyng...@arm.com

[PATCH v2 02/26] arm64: convert handle_IRQ to use __handle_domain_irq

2014-08-26 Thread Marc Zyngier
In order to limit code duplication, convert the architecture specific handle_IRQ to use the generic __handle_domain_irq function. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/irq.c | 18 +- 2 files changed, 2 insertions

[PATCH v2 07/26] irqchip: clps711x: convert to handle_domain_irq

2014-08-26 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-clps711x.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c

Re: [PATCH v2 02/26] arm64: convert handle_IRQ to use __handle_domain_irq

2014-08-26 Thread Marc Zyngier
On 26/08/14 17:51, Catalin Marinas wrote: On Tue, Aug 26, 2014 at 11:03:17AM +0100, Marc Zyngier wrote: In order to limit code duplication, convert the architecture specific handle_IRQ to use the generic __handle_domain_irq function. Signed-off-by: Marc Zyngier marc.zyng...@arm.com

Re: [PATCH v2 01/26] genirq: add irq_domain-aware core IRQ handler

2014-08-26 Thread Marc Zyngier
On 26/08/14 18:42, Stephen Boyd wrote: On 08/26/14 03:03, Marc Zyngier wrote: Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is enabled: If coming from the idle state, the rcu_read_lock call in irq_find_mapping

Re: [PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-08-27 Thread Marc Zyngier
Hi Thomas, On Tue, Aug 26 2014 at 10:34:51 pm BST, Thomas Gleixner t...@linutronix.de wrote: On Tue, 26 Aug 2014, Marc Zyngier wrote: A number of irqchip drivers are directly calling irq_find_mapping, which may use a rcu_read_lock call when walking the radix tree. Turns out that if you

Re: [PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-09-03 Thread Marc Zyngier
[Dropping li...@openrisc.net from the CC list] On 03/09/14 13:09, Thomas Gleixner wrote: On Wed, 3 Sep 2014, Jason Cooper wrote: On Wed, Aug 27, 2014 at 10:33:44AM +0100, Marc Zyngier wrote: Hi Thomas, On Tue, Aug 26 2014 at 10:34:51 pm BST, Thomas Gleixner t...@linutronix.de wrote

Re: [PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-09-03 Thread Marc Zyngier
On 03/09/14 13:25, Thomas Gleixner wrote: On Wed, 3 Sep 2014, Marc Zyngier wrote: [Dropping li...@openrisc.net from the CC list] On 03/09/14 13:09, Thomas Gleixner wrote: On Wed, 3 Sep 2014, Jason Cooper wrote: On Wed, Aug 27, 2014 at 10:33:44AM +0100, Marc Zyngier wrote: Hi Thomas

Re: [PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-09-03 Thread Marc Zyngier
On 03/09/14 13:37, Jason Cooper wrote: On Wed, Sep 03, 2014 at 02:25:09PM +0200, Thomas Gleixner wrote: On Wed, 3 Sep 2014, Marc Zyngier wrote: [Dropping li...@openrisc.net from the CC list] On 03/09/14 13:09, Thomas Gleixner wrote: On Wed, 3 Sep 2014, Jason Cooper wrote: On Wed, Aug 27

Re: [PATCH 0/5] irqchip: kill the GIC routable domain

2014-12-08 Thread Marc Zyngier
On 07/12/14 18:03, Nishanth Menon wrote: Marc, On 11:16-20141207, Nishanth Menon wrote: On 13:46-20141206, Marc Zyngier wrote: After my series removing the gic_arch_extn hack, I figured that the next step was to expunge the GIC driver of the routable domain horror. There is a few reasons

Re: [PATCH 0/5] irqchip: kill the GIC routable domain

2014-12-09 Thread Marc Zyngier
On 08/12/14 22:41, Nishanth Menon wrote: Anyways.. The following diff[1] on top of your branch makes DRA7 work - I assume you will squash as needed and repost with linux-omap mailing list in CC. Brilliant. I'll squash that into my tree and repost at some point. I increased the scope of

Re: [PATCH 0/5] irqchip: kill the GIC routable domain

2014-12-09 Thread Marc Zyngier
On 09/12/14 18:17, Nishanth Menon wrote: On 09:53-20141209, Marc Zyngier wrote: On 08/12/14 22:41, Nishanth Menon wrote: Anyways.. The following diff[1] on top of your branch makes DRA7 work - I assume you will squash as needed and repost with linux-omap mailing list in CC. Brilliant. I'll

Re: [PATCH v3 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-15 Thread Marc Zyngier
On 15/01/15 17:04, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150115 06:53]: On Thu, Jan 15 2015 at 2:40:16 pm GMT, Nishanth Menon n...@ti.com wrote: On 14:28-20150115, Marc Zyngier wrote: Assuming the workaround I posted earlier works, the OMAP/DRA7 part of this series

Re: Regression with legacy IRQ numbers caused by 9a1091ef0017

2015-01-15 Thread Marc Zyngier
On Thu, Jan 15 2015 at 2:27:56 pm GMT, Arnd Bergmann a...@arndb.de wrote: On Thursday 15 January 2015 13:42:57 Marc Zyngier wrote: Of course, this is in no way a proper fix, but I suppose the OMAP DT is still missing a few bits... I must be missing something here, but all the interrupts

[PATCH] ARM: OMAP: Work around hardcoded interrupts

2015-01-15 Thread Marc Zyngier
to add more hacks to the interrupt controller code. Tested on OMAP4 (Panda-ES) and OMAP5 (UEVM5432). Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-omap2/common.h | 1 + arch/arm/mach-omap2/omap4-common.c | 32 ++ arch/arm/mach

Re: [PATCH v3 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-15 Thread Marc Zyngier
On Thu, Jan 15 2015 at 2:40:16 pm GMT, Nishanth Menon n...@ti.com wrote: On 14:28-20150115, Marc Zyngier wrote: Assuming the workaround I posted earlier works, the OMAP/DRA7 part of this series is going to require some rework too (I need to know where these legacy interrupts are attached

Re: Regression with legacy IRQ numbers caused by 9a1091ef0017

2015-01-16 Thread Marc Zyngier
On 16/01/15 16:56, Arnd Bergmann wrote: On Thursday 15 January 2015 07:37:48 Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150115 06:46]: On Thu, Jan 15 2015 at 2:27:56 pm GMT, Arnd Bergmann a...@arndb.de wrote: On Thursday 15 January 2015 13:42:57 Marc Zyngier wrote: Probably

Re: [v3,15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-16 Thread Marc Zyngier
Hi Pankaj, On 15/01/15 06:41, Pankaj Dubey wrote: +CC: Thomas Abraham thomas...@samsung.com Hi Mark, On Monday 12 January 2015 11:56 PM, Marc Zyngier wrote: Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code

[PATCH v2] ARM: OMAP: Work around hardcoded interrupts

2015-01-17 Thread Marc Zyngier
to add more hacks to the interrupt controller code. Tested on OMAP4 (Panda-ES) and OMAP5 (UEVM5432). Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- From v1: - OMAP4 can either get the PRM interrupt from hwmod or from device tree. In the latter case, remove the xlate_irq method. arch/arm

Re: [PATCH v4 15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-20 Thread Marc Zyngier
Hi Pankaj, On 2015-01-20 07:42, Pankaj Dubey wrote: Hi Marc, On Monday 19 January 2015 03:14 PM, Marc Zyngier wrote: Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does

Re: [PATCH v4 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-21 Thread Marc Zyngier
On 21/01/15 16:30, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150119 01:48]: OMAP4/5 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT

[PATCH v4 00/21] irqchip: gic: killing gic_arch_extn and co, slowly

2015-01-19 Thread Marc Zyngier
.html [2]: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/314041.html [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/307338.html Marc Zyngier (21): ARM: tegra: irq: nuke leftovers from non-DT support irqchip: tegra: add DT-based support for legacy

[PATCH v4 08/21] irqchip: crossbar: convert dra7 crossbar to stacked domains

2015-01-19 Thread Marc Zyngier
that this is actually yet another interrupt controller (the third, actually), we have yet another breakage. Oh well. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 3 +- arch/arm/boot/dts/dra7-evm.dts | 2 +- arch/arm/boot/dts/dra7.dtsi | 35

[PATCH v4 02/21] irqchip: tegra: add DT-based support for legacy interrupt controller

2015-01-19 Thread Marc Zyngier
, something that was sorely missing from the mach-tegra implementation. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-tegra.c | 368 2 files changed, 369 insertions(+) create mode 100644

[PATCH v4 07/21] genirq: Add irqchip_set_wake_parent

2015-01-19 Thread Marc Zyngier
This proves to be useful with stacked domains, when the current domain doesn't implement wake-up, but expect the parent to do so. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- include/linux/irq.h | 1 + kernel/irq/chip.c | 16 2 files changed, 17 insertions(+) diff

[PATCH v4 01/21] ARM: tegra: irq: nuke leftovers from non-DT support

2015-01-19 Thread Marc Zyngier
The GIC is now always initialized from DT on tegra, and there is no point in keeping non-DT init code. Acked-by: Thierry Reding tred...@nvidia.com Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-tegra/irq.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm

[PATCH v4 04/21] ARM: tegra: update DTs to expose legacy interrupt controller

2015-01-19 Thread Marc Zyngier
Describe the legacy interrupt controller in every tegra DTSI files, and make it the parent of most interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/tegra114.dtsi | 16 +++- arch/arm/boot/dts/tegra124.dtsi | 16 +++- arch/arm/boot/dts

[PATCH v4 06/21] ARM: tegra: remove old LIC support

2015-01-19 Thread Marc Zyngier
Now that all DTs have been updated, entierely drop support for the non-DT code. This is likely to break platforms that do not update their DT, so print a warning at boot time. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-tegra/iomap.h | 15 arch/arm/mach-tegra/irq.c

[PATCH v4 05/21] DT: tegra: add binding for the legacy interrupt controller

2015-01-19 Thread Marc Zyngier
Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../interrupt-controller/nvidia,tegra-ictlr.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra-ictlr.txt diff --git a/Documentation

[PATCH v4 09/21] DT: update ti,irq-crossbar binding

2015-01-19 Thread Marc Zyngier
Make it look like a real interrupt controller. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../devicetree/bindings/arm/omap/crossbar.txt | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/omap

[PATCH v4 16/21] DT: exynos: update PMU binding

2015-01-19 Thread Marc Zyngier
Document the fact that some Exynos PMUs are capable of acting as an interrupt controller. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree

[PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-19 Thread Marc Zyngier
-by: Stefan Agner ste...@agner.ch Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/imx6qdl.dtsi | 7 ++- arch/arm/boot/dts/imx6sl.dtsi | 6 +- arch/arm/boot/dts/imx6sx.dtsi | 6 +- arch/arm/mach-imx/common.h | 1 - arch/arm/mach-imx/gpc.c | 127

[PATCH v4 15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-19 Thread Marc Zyngier
that there is more than two wake-up interrupts on these platforms, but I leave it to the maintainers to fix their mess. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/exynos4.dtsi| 4 ++ arch/arm/boot/dts/exynos5250.dtsi | 4 ++ arch/arm/boot/dts/exynos5420.dtsi | 4 ++ arch/arm

[PATCH v4 11/21] DT: arm,gic: kill arm,routable-irqs

2015-01-19 Thread Marc Zyngier
Nobody will regret it. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- Documentation/devicetree/bindings/arm/gic.txt | 6 -- 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index 8112d0c..631cb71

[PATCH v4 10/21] irqchip: GIC: get rid of routable domain

2015-01-19 Thread Marc Zyngier
The only user of the so called routable domain functionality now being fixed, let's clean up the GIC. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- drivers/irqchip/irq-gic.c | 59 - include/linux/irqchip/arm-gic.h | 6 - 2 files changed

[PATCH v4 03/21] ARM: tegra: skip gic_arch_extn setup if DT has a LIC node

2015-01-19 Thread Marc Zyngier
If we detect that our DT has a LIC node, don't setup gic_arch_extn, and skip tegra_legacy_irq_syscore_init as well. This is only a temporary measure until that code is removed for good. Acked-by: Thierry Reding tred...@nvidia.com Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm

[PATCH v4 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-19 Thread Marc Zyngier
interrupts IPI6: 0 0 IRQ work interrupts IPI7: 0 0 completion interrupts Err: 0 Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/am4372.dtsi | 11 ++- arch/arm/boot/dts/am437x-gp-evm.dts | 1 - arch/arm/boot

[PATCH v4 20/21] ARM: zynq: switch from gic_arch_extn to gic_set_irqchip_flags

2015-01-19 Thread Marc Zyngier
Instead of directly touching gic_arch_extn, which is about to be removed, use gic_set_irqchip_flags instead. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-zynq/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm

[PATCH v4 12/21] DT: omap4/5: add binding for the wake-up generator

2015-01-19 Thread Marc Zyngier
Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../interrupt-controller/ti,omap4-wugen-mpu| 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu diff --git a/Documentation

[PATCH v4 18/21] ARM: shmobile: remove use of gic_arch_extn.irq_set_wake

2015-01-19 Thread Marc Zyngier
function. Acked-by: Simon Horman horms+rene...@verge.net.au Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-shmobile/intc-sh73a0.c | 7 +-- arch/arm/mach-shmobile/setup-r8a7779.c | 7 +-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-shmobile

  1   2   >