Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-08 Thread Mark-PK Tsai
From: Marc Zyngier >On 2021-03-08 03:01, Mark-PK Tsai wrote: >> From: Marc Zyngier >> >>> > >>> > Support irq polarity configuration and save and restore the config >>> > when system suspend and resume. >>> > >>> > Signed-off-by: Mark-PK Tsai >>> > --- >>> > drivers/irqchip/irq-mst-intc.c | 8

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-08 Thread Daniel Palmer
Cc: Mark-PK Tsai (蔡沛剛) ; Daniel Palmer > ; Thomas Gleixner ; Jason Cooper > ; Matthias Brugger ; Linux > Kernel Mailing List ; linux-arm-kernel > ; linux-media...@lists.infradead.org; > YJ Chiang (江英杰) > Subject: Re: [PATCH] irqchip/irq-mst: Support polarity configuration > > On

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-08 Thread Marc Zyngier
On 2021-03-08 03:01, Mark-PK Tsai wrote: From: Marc Zyngier > > Support irq polarity configuration and save and restore the config > when system suspend and resume. > > Signed-off-by: Mark-PK Tsai > --- > drivers/irqchip/irq-mst-intc.c | 87 -- > 1 file change

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-07 Thread Mark-PK Tsai
From: Marc Zyngier > > > > Support irq polarity configuration and save and restore the config > > when system suspend and resume. > > > > Signed-off-by: Mark-PK Tsai > > --- > > drivers/irqchip/irq-mst-intc.c | 87 -- > > 1 file changed, 84 insertions(+), 3 del

RE: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-07 Thread 蔡沛剛
kernel.org] Sent: Sunday, March 7, 2021 2:28 AM To: Daniel Palmer Cc: Mark-PK Tsai (蔡沛剛) ; Daniel Palmer ; Thomas Gleixner ; Jason Cooper ; Matthias Brugger ; Linux Kernel Mailing List ; linux-arm-kernel ; linux-media...@lists.infradead.org; YJ Chiang (江英杰) Subject: Re: [PATCH] irqchip/irq-m

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Marc Zyngier
On Fri, 05 Mar 2021 12:09:30 +, Mark-PK Tsai wrote: > > Support irq polarity configuration and save and restore the config > when system suspend and resume. > > Signed-off-by: Mark-PK Tsai > --- > drivers/irqchip/irq-mst-intc.c | 87 -- > 1 file changed, 84

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Marc Zyngier
On Sat, 06 Mar 2021 17:06:51 +, Daniel Palmer wrote: > > Hi Mark-PK, > > I'm trying to understand the logic behind the changes. > It seems like the polarity of interrupts is always the same between > the MStar intc and the GIC? Low level interrupts are handled in the > mstar intc and become

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Daniel Palmer
Hi Mark-PK, I'm trying to understand the logic behind the changes. It seems like the polarity of interrupts is always the same between the MStar intc and the GIC? Low level interrupts are handled in the mstar intc and become high level interrupts to the GIC? I think for the Mstar MSC313(e) and Sig

[PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-05 Thread Mark-PK Tsai
Support irq polarity configuration and save and restore the config when system suspend and resume. Signed-off-by: Mark-PK Tsai --- drivers/irqchip/irq-mst-intc.c | 87 -- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-mst-intc.c