All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Murzin <vladimir.murzin@arm.com>
To: linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk
Cc: mark.rutland@arm.com, maz@kernel.org
Subject: [PATCH 1/2] irqchip: nvic: Fix offset for Interrupt Priority Offsets
Date: Wed,  1 Dec 2021 11:02:58 +0000	[thread overview]
Message-ID: <20211201110259.84857-1-vladimir.murzin@arm.com> (raw)

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>
---
 drivers/irqchip/irq-nvic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c
index 63bac3f..ba4759b 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
 /*
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2021-12-01 11:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 11:02 Vladimir Murzin [this message]
2021-12-01 11:02 ` [PATCH 2/2] irqchip: nvic: Use GENERIC_IRQ_MULTI_HANDLER Vladimir Murzin
2021-12-01 11:58   ` Mark Rutland
2021-12-01 12:30   ` Arnd Bergmann
2021-12-01 13:43     ` Vladimir Murzin
2021-12-01 14:05       ` Arnd Bergmann
2021-12-01 14:15         ` Vladimir Murzin
2021-12-01 15:13           ` Arnd Bergmann
2021-12-01 15:51             ` Vladimir Murzin
2021-12-02  8:35     ` Ard Biesheuvel
2021-12-02  9:05       ` Marc Zyngier
2021-12-02  9:23       ` Arnd Bergmann
2021-12-02  9:33         ` Vladimir Murzin
2021-12-02  9:45           ` Arnd Bergmann
2021-12-02 11:05             ` Ard Biesheuvel
2021-12-02 14:12               ` Vladimir Murzin
2021-12-02 16:46                 ` Ard Biesheuvel
2021-12-02 18:02                   ` Vladimir Murzin
2021-12-02 18:38                     ` Ard Biesheuvel
2021-12-02 20:27                       ` Jesse Taube
2021-12-02  9:31   ` Marc Zyngier
2021-12-02  9:32 ` [irqchip: irq/irqchip-fixes] irqchip: nvic: Fix offset for Interrupt Priority Offsets irqchip-bot for Vladimir Murzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211201110259.84857-1-vladimir.murzin@arm.com \
    --to=vladimir.murzin@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.