Skip to content

Commit

Permalink
irqchip: nvic: Fix offset for Interrupt Priority Offsets
Browse files Browse the repository at this point in the history
According to ARM(v7M) ARM Interrupt Priority Offsets located at
0xE000E400-0xE000E5EC, while 0xE000E300-0xE000E33C covers read-only
Interrupt Active Bit Registers

Fixes: 292ec08 ("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
  • Loading branch information
Vladimir Murzin authored and Marc Zyngier committed Dec 2, 2021
1 parent 357a9c4 commit c5e0cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-nvic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
/*
Expand Down

0 comments on commit c5e0cbe

Please sign in to comment.