]> git.baikalelectronics.ru Git - kernel.git/commitdiff
irqchip: nvic: Fix offset for Interrupt Priority Offsets
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 1 Dec 2021 11:02:58 +0000 (11:02 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 2 Dec 2021 09:27:06 +0000 (09:27 +0000)
According to ARM(v7M) ARM Interrupt Priority Offsets located at
0xE000E400-0xE000E5EC, while 0xE000E300-0xE000E33C covers read-only
Interrupt Active Bit Registers

Fixes: 292ec080491d ("irqchip: Add support for ARMv7-M NVIC")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211201110259.84857-1-vladimir.murzin@arm.com
drivers/irqchip/irq-nvic.c

index 63bac3f78863a71d5e6fce81526ad0715185db24..ba4759b3e26930181873282e55513c163d646f38 100644 (file)
@@ -26,7 +26,7 @@
 
 #define NVIC_ISER              0x000
 #define NVIC_ICER              0x080
-#define NVIC_IPR               0x300
+#define NVIC_IPR               0x400
 
 #define NVIC_MAX_BANKS         16
 /*