Re: [PATCH v7 1/4] irqchip: gic: Support hierarchy irq domain.

2014-11-19 Thread Jiang Liu
On 2014/11/20 1:18, Marc Zyngier wrote: Hi Yingjoe, On Wed, Nov 19 2014 at 2:14:08 pm GMT, Yingjoe Chen yingjoe.c...@mediatek.com wrote: Add support to use gic as a parent for stacked irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Kconfig | 1

Re: [PATCH v5 0/6] ARM: mediatek: Add support for interrupt polarity

2014-11-11 Thread Jiang Liu
On 2014/11/11 19:35, Thomas Gleixner wrote: On Sun, 9 Nov 2014, Jason Cooper wrote: Thomas, Marc, Could I get Acks for the core changes and gic changes when you have a moment? this depends on the core irqdomain changes which are not yet in tip. I'm waiting for Jiangs latest iteration

Re: [PATCH v5 3/6] irqchip: gic: Support hierarchy irq domain.

2014-11-08 Thread Jiang Liu
On 2014/10/29 18:00, Yingjoe Chen wrote: Add support to use gic as a parent for stacked irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic.c | 90 +-- 2 files

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-06 Thread Jiang Liu
On 2014/11/7 0:34, Marc Zyngier wrote: Hi Thomas, On 06/11/14 10:42, Thomas Gleixner wrote: On Thu, 6 Nov 2014, Thomas Gleixner wrote: On Wed, 5 Nov 2014, Suravee Suthikulanit wrote: On 11/5/2014 6:05 PM, Suravee Suthikulanit wrote: - Overall, it seems that msi_domain_alloc() could be

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-04 Thread Jiang Liu
Hi Suravee, You may build a two level hierarchy irqdomains. Use the utilities in this thread http://www.spinics.net/lists/arm-kernel/msg374722.html to build an MSI irqdomain to manage MSI controllers in PCI devices. And build another irqdomain to manage SPI allocation in GICv2.

Re: [PATCH v3 1/7] irqdomain: Fix irq_domain_alloc_irqs return check.

2014-10-13 Thread Jiang Liu
On 2014/10/13 20:11, Marc Zyngier wrote: On 09/10/14 15:29, Joe.C wrote: From: Joe.C yingjoe.c...@mediatek.com Change virq type from unsigned int to int. Otherwise the return value check for irq_domain_alloc_irqs will always pass. Signed-off-by: Joe.C yingjoe.c...@mediatek.com ---

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
Hi Joe, Thanks, I will merge them into my next version. Regards! Gerry On 2014/9/25 10:16, Joe.C wrote: Jiang, Please consider merge the following 2 changes into your next round. On Thu, 2014-09-25 at 00:04 +0800, Joe.C wrote: diff --git a/kernel/irq/irqdomain.c

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
On 2014/9/25 0:04, Joe.C wrote: From: Joe.C yingjoe.c...@mediatek.com Here's the first draft of using hierarchy irqdomain to implement MTK intpol support. I have tested it and intpol works fine. Before continue, I'd like to get your comments. This is based on Jiang's hierarchy irqdomian

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
On 2014/9/25 11:17, Jason Cooper wrote: On Thu, Sep 25, 2014 at 11:04:37AM +0800, Jiang Liu wrote: Hi Joe, Thanks, I will merge them into my next version. Regards! Gerry On 2014/9/25 10:16, Joe.C wrote: Jiang, Please consider merge the following 2 changes into your next round

[RFC Patch V1 22/30] mm, of: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-11 Thread Jiang Liu
for the/current cpu. If CONFIG_HAVE_MEMORYLESS_NODES is disabled, cpu_to_mem()/numa_mem_id() is the same as cpu_to_node()/numa_node_id(). Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/of/base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.c b