Skip to content

Commit

Permalink
irqchip: nvic: Fix offset for Interrupt Priority Offsets
Browse files Browse the repository at this point in the history
commit c5e0cbe upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Vladimir Murzin authored and Greg Kroah-Hartman committed Dec 14, 2021
1 parent ab41630 commit 77903bc
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 @@ -29,7 +29,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 77903bc

Please sign in to comment.