Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-18 Thread Hanjun Guo
On 2018/10/18 19:56, Marc Zyngier wrote: > Hi Hanjun, > > On 18/10/18 12:20, Hanjun Guo wrote: >> Hi Marc, >> >> > Now, the biggest question of them all: how does it work with ACPI? Last > time I checked, there was no DT support for platforms using the MBIGEN. https://git.kernel.o

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-18 Thread Marc Zyngier
Hi Hanjun, On 18/10/18 12:20, Hanjun Guo wrote: > Hi Marc, > > Now, the biggest question of them all: how does it work with ACPI? Last time I checked, there was no DT support for platforms using the MBIGEN. >>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-18 Thread Hanjun Guo
Hi Marc, >>> Now, the biggest question of them all: how does it work with ACPI? Last >>> time I checked, there was no DT support for platforms using the MBIGEN. >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/hisilicon/hip07.dtsi >> This DT descr

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-18 Thread Marc Zyngier
Hi Yang, On 18/10/18 04:41, Yang Yingliang wrote: > Hi, Marc > > On 2018/10/18 0:30, Marc Zyngier wrote: >> On 16/10/18 10:15, Yang Yingliang wrote: >>> Now with >>> 5052875 ("irqchip/gic-v3: Add support for Message Based Interrupts as an >>> MSI controller"), >>> we can support MBIGEN to genera

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-17 Thread Yang Yingliang
Hi, Marc On 2018/10/18 0:30, Marc Zyngier wrote: On 16/10/18 10:15, Yang Yingliang wrote: Now with 5052875 ("irqchip/gic-v3: Add support for Message Based Interrupts as an MSI controller"), we can support MBIGEN to generate message based SPIs by writing GICD_SETSPIR. The first 64-pins of each

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-17 Thread Marc Zyngier
On 16/10/18 10:15, Yang Yingliang wrote: > Now with > 5052875 ("irqchip/gic-v3: Add support for Message Based Interrupts as an MSI > controller"), > we can support MBIGEN to generate message based SPIs by writing GICD_SETSPIR. > > The first 64-pins of each MBIGEN chip is used to generate SPIs, an