All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Florian Bezdeka <florian.bezdeka@siemens.com>
Cc: xenomai@lists.linux.dev,
	 Tobias Schaffner <tobias.schaffner@siemens.com>
Subject: Re: [PATCH 2/2] arm: irq_pipeline: Fix fault_{entry,exit} imbalance
Date: Wed, 03 Jun 2026 20:39:27 +0200	[thread overview]
Message-ID: <875x3zlb8g.fsf@xenomai.org> (raw)
In-Reply-To: <20260603-wip-flo-v7-1-arm-fixups-v1-2-c28b4ff180ed@siemens.com> (Florian Bezdeka's message of "Wed, 03 Jun 2026 17:07:16 +0200")

Florian Bezdeka <florian.bezdeka@siemens.com> writes:

> upstream commit
> c16af1212479 ("ARM: 9328/1: mm: try VMA lock-based page fault handling first")
> introduced a new exit path to do_page_fault(), so that an imbalance
> of fault_{entry,exit} can happen.
>
> The commit was introduced with Linux 6.8, so all newer Dovetail
> versions are affected.
>
> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> ---
>  arch/arm/mm/fault.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
> index 4beae304c0269d11173cd3b360cec05e59f30d82..49f5d628c4c9a91a3e879af0d541fd76665d78fe 100644
> --- a/arch/arm/mm/fault.c
> +++ b/arch/arm/mm/fault.c
> @@ -502,7 +502,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
>  	if (fault_signal_pending(fault, regs)) {
>  		if (!user_mode(regs))
>  			goto no_context;
> -		return 0;
> +		goto out;
>  	}
>  lock_mmap:

Merged, thanks.

-- 
Philippe.

  reply	other threads:[~2026-06-03 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03 15:07 [PATCH 0/2] arm: Review irq pipeline Florian Bezdeka
2026-06-03 15:07 ` [PATCH 1/2] arm: irq_pipeline: Fix fault_{entry,exit} imbalance Florian Bezdeka
2026-06-03 18:39   ` Philippe Gerum
2026-06-03 15:07 ` [PATCH 2/2] " Florian Bezdeka
2026-06-03 18:39   ` Philippe Gerum [this message]
2026-06-03 18:38 ` [PATCH 0/2] arm: Review irq pipeline Philippe Gerum
2026-06-05  9:18   ` Florian Bezdeka
2026-06-08  8:09     ` Philippe Gerum

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=875x3zlb8g.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=florian.bezdeka@siemens.com \
    --cc=tobias.schaffner@siemens.com \
    --cc=xenomai@lists.linux.dev \
    /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.