All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm: Review irq pipeline
@ 2026-06-03 15:07 Florian Bezdeka
  2026-06-03 15:07 ` [PATCH 1/2] arm: irq_pipeline: Fix fault_{entry,exit} imbalance Florian Bezdeka
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Florian Bezdeka @ 2026-06-03 15:07 UTC (permalink / raw)
  To: xenomai; +Cc: Philippe Gerum, Tobias Schaffner, Florian Bezdeka

Hi Philippe,

This is the result of a review of the arm implementation of the IRQ
pipeline. Triggered by some risc-v reviews.

I'm sure about the two easy fixes, targeting different Dovetail
versions, so split into different patches.

In addition there is one more, I need your input here:

We have two calls to interrupts_enabled() in arch/arm/mm/fault.c,
both in the do_page_fault() path.

Assuming that we are handling a page fault over kernel space,
inband stage stalled, we would leave the kernel with the inband stage
unstalled, as interrupts_enabled() is checking the hardware state (as
pushed to the stack on entry) instead of the inband stage stall bit.

Is that correct?

I'm quite sure we have more real problems that in this case, but
maybe we should fix that up?

We would have to call something that does the HW check in case
CONFIG_IRQ_PIPELINE is off, but checks the stall bit in case pipelining
is enabled.

To: xenomai@lists.linux.dev
Cc: Philippe Gerum <rpm@xenomai.org>
Cc: Tobias Schaffner <tobias.schaffner@siemens.com>

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
Florian Bezdeka (2):
      arm: irq_pipeline: Fix fault_{entry,exit} imbalance
      arm: irq_pipeline: Fix fault_{entry,exit} imbalance

 arch/arm/mm/fault.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 5c4243abc449083b74c94fcd353d360b6ce78b5b
change-id: 20260603-wip-flo-v7-1-arm-fixups-25d58fb72f3e

Best regards,
-- 
Florian Bezdeka <florian.bezdeka@siemens.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-06-08  8:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.