[PATCH Dovetail v2 0/2] Dovetail: Fix for arm64 IRQ pipelining, API for co-kernels

Florian Bezdeka <[email protected]>
Newsgroups dev.linux.lists.xenomai
Message-ID <20260217-wip-flo-v6-19-dovetail-rebase-v2-0-45fc326a166a@siemens.com>
Hi all,

There were two issues detected while doing the forward port to 6.19:

  - The signature of __request_percpu_irq() has been changed in 6.19 and
    7.0 will remove the function entirely. We need a replacement for
    that function as co-kernels (evl, cobalt) relied on it for
    registering the OOB IRQs. All existing alternatives are missing the
    flags parameter that we require.

    Patch 1 is trying to address that by introducing a dovetail specific
    helper.

    The implementation has to be adjusted a bit during the forward
    porting to 7.0, but the API can stay the same.

  - While reviewing the pipeline entry code for arm64 - triggered by a
    patch review - I noticed that the checks for the demotion case are
    confusing on arm64.

Patch 1 qualifies for backporting. It allows co-kernels to migrate to 
the new API without any need for Linux / Dovetail version checks.

To: Xenomai <[email protected]>
Cc: Philippe Gerum <[email protected]>
Cc: Jan Kiszka <[email protected]>

Signed-off-by: Florian Bezdeka <[email protected]>
---
Changes in v2:
- Updated wording / backport candidates in cover letter
- Rework patch 2 after review from Philippe 
- Link to v1: https://lore.kernel.org/r/20260216-wip-flo-v6-19-dovetail-rebase-v1-0-5c36863cba17@siemens.com

---
Florian Bezdeka (2):
      dovetail: genirq: Add request_percpu_irq_affinity_flags()
      arm64: irq_pipeline: Cleanup demotion check for el1

 arch/arm64/kernel/entry-common.c |  4 ----
 include/linux/interrupt.h        |  5 +++++
 kernel/irq/manage.c              | 10 ++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)
---
base-commit: 61ac9499b2a582aad9e190db04bb48747e7f5821
change-id: 20260216-wip-flo-v6-19-dovetail-rebase-cdb12bee0c98

Best regards,
-- 
Florian Bezdeka <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.