diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2021-12-01 11:02:58 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-14 14:49:06 +0100 |
commit | 8f9a25e452f805999a6f79cefbc272c4b9da76f5 (patch) | |
tree | e9522755218631a0924459e6c29aef2a050e2bcf | |
parent | 61981e5fee6dde84d4866b59b28e0be112ee328e (diff) | |
download | linux-stable-8f9a25e452f805999a6f79cefbc272c4b9da76f5.tar.gz linux-stable-8f9a25e452f805999a6f79cefbc272c4b9da76f5.tar.bz2 linux-stable-8f9a25e452f805999a6f79cefbc272c4b9da76f5.zip |
irqchip: nvic: Fix offset for Interrupt Priority Offsets
commit c5e0cbe2858d278a27d5b3fe31890aea5be064c4 upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/irqchip/irq-nvic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c index a166d30deea2..160b39b5cd10 100644 --- a/drivers/irqchip/irq-nvic.c +++ b/drivers/irqchip/irq-nvic.c @@ -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 /* |