From: Vladimir Murzin <vladimir.murzin@arm.com>
To: Yoshifumi SHU <envzhu@gmail.com>, Thomas Gleixner <tglx@kernel.org>
Cc: Radu Rendec <radu@rendec.net>, Brad Hawthorne <brad@sim.vu>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org
Subject: Re: [PATCH] Revert "irqchip: nvic: Fix offset for Interrupt Priority Offsets"
Date: Fri, 27 Nov 2026 13:02:20 +0000 [thread overview]
Message-ID: <6fe998dd-cb41-49ee-8018-26071d347db5@arm.com> (raw)
In-Reply-To: <20261127122801.4189591-1-envzhu@gmail.com>
On 11/27/26 12:28, Yoshifumi SHU wrote:
> This reverts commit c5e0cbe2858d278a27d5b3fe31890aea5be064c4.
>
> nvic_base is mapped to 0xe000e100 (NVIC_ISER0). Thus, the Interrupt
> Priority Registers (NVIC_IPRx, at 0xe000e400) are offset by 0x300 from
> nvic_base, not 0x400. The reverted commit overlooked that nvic_base is
> already offset by 0x100 from 0xe000e000 and incorrectly changed
> NVIC_IPR.
>
> Link: https://lore.kernel.org/linux-arm-kernel/b0be3be5-3a7d-469e-9166-a3414a52cbea@arm.com/
> Fixes: c5e0cbe2858d ("irqchip: nvic: Fix offset for Interrupt Priority Offsets")
> Cc: stable@vger.kernel.org
> Signed-off-by: Yoshifumi SHU <envzhu@gmail.com>
> ---
> Vladimir asked for this revert (see Link:).
>
> Tested on MPS3-AN547 (Cortex-M55) and EK-RA8P1 (Cortex-M85) hardware
> against v7.4-rc4. On EK-RA8P1, confirmed that the driver now writes to
> the correct addresses for NVIC_IPR registers.
> ---
> 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 2191a2b79578..9438891e66f2 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 0x400
> +#define NVIC_IPR 0x300
>
> #define NVIC_MAX_BANKS 16
> /*
>
> base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
> -- 2.53.0
>
FWIW,
Acked-by: Vladimir Murzin <vladimir.murzin@arm.com>
Sorry for such silly mistake!
Cheers
Vladimir
prev parent reply other threads:[~2026-11-27 13:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 12:28 Yoshifumi SHU
2026-11-27 13:02 ` Vladimir Murzin [this message]
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=6fe998dd-cb41-49ee-8018-26071d347db5@arm.com \
--to=vladimir.murzin@arm.com \
--cc=brad@sim.vu \
--cc=envzhu@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=radu@rendec.net \
--cc=stable@vger.kernel.org \
--cc=tglx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®