Re: [PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-04 Thread Marc Zyngier
On 2021-01-04 03:46, Samuel Holland wrote: On 1/3/21 7:10 AM, Marc Zyngier wrote: On Sun, 03 Jan 2021 12:08:43 +, Samuel Holland wrote: On 1/3/21 5:27 AM, Marc Zyngier wrote: [...] For edge interrupts, don't you want to ack as early as possible, before the handler clears the source of

Re: [PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-03 Thread Samuel Holland
On 1/3/21 7:10 AM, Marc Zyngier wrote: > On Sun, 03 Jan 2021 12:08:43 +, > Samuel Holland wrote: >> >> On 1/3/21 5:27 AM, Marc Zyngier wrote: >>> On Sun, 03 Jan 2021 10:30:54 +, >>> Samuel Holland wrote: The R_INTC in the A31 and newer sun8i/sun50i SoCs is more similar to the >>

Re: [PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-03 Thread Marc Zyngier
On Sun, 03 Jan 2021 12:08:43 +, Samuel Holland wrote: > > On 1/3/21 5:27 AM, Marc Zyngier wrote: > > On Sun, 03 Jan 2021 10:30:54 +, > > Samuel Holland wrote: > >> > >> The R_INTC in the A31 and newer sun8i/sun50i SoCs is more similar to the > >> original sun4i interrupt controller than

Re: [PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-03 Thread Samuel Holland
On 1/3/21 5:27 AM, Marc Zyngier wrote: > On Sun, 03 Jan 2021 10:30:54 +, > Samuel Holland wrote: >> >> The R_INTC in the A31 and newer sun8i/sun50i SoCs is more similar to the >> original sun4i interrupt controller than the sun7i/sun9i NMI controller. >> It is used for two distinct purposes: >

Re: [PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-03 Thread Marc Zyngier
On Sun, 03 Jan 2021 10:30:54 +, Samuel Holland wrote: > > The R_INTC in the A31 and newer sun8i/sun50i SoCs is more similar to the > original sun4i interrupt controller than the sun7i/sun9i NMI controller. > It is used for two distinct purposes: > - To control the trigger, latch, and mask fo

[PATCH v3 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-03 Thread Samuel Holland
The R_INTC in the A31 and newer sun8i/sun50i SoCs is more similar to the original sun4i interrupt controller than the sun7i/sun9i NMI controller. It is used for two distinct purposes: - To control the trigger, latch, and mask for the NMI input pin - To provide the interrupt input for the ARISC co