Re: [PATCH 08/14] irqchip: Add driver for WPCM450 interrupt controller

From
Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date
2021-04-05 17:26:29
Also in
linux-devicetree, lkml, openbmc
Reply to
Jonathan Neuschäfer, 2021-03-26
On Fri, Mar 26, 2021 at 07:52:07PM +0100, Jonathan Neuschäfer wrote:
On Wed, Mar 24, 2021 at 05:16:35PM +0000, Marc Zyngier wrote:
quoted
On Sat, 20 Mar 2021 18:16:04 +0000, Jonathan Neuschäfer [off-list ref] wrote:
[...]
quoted
quoted
+	/* Disable (mask) all interrupts */
+	writel(0xffffffff, aic->regs + AIC_MDCR);
Consider using relaxed accessors throughout this driver.
I'll read up on how to use them correctly.
Upon further consideration, I decided not to bother with relaxed MMIO
access, because it doesn't make a difference on the target platform —
Nuvoton WPCM450 with ARM926 (ARMv5).


Best regards,
Jonathan Neuschäfer
Thread (30 messages) 30 messages, 5 authors, last reply 2021-04-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help