[PATCH Dovetail 0/2] Dovetail: Fix for arm64 IRQ pipelining, API for co-kernels
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <20260216-wip-flo-v6-19-dovetail-rebase-v1-0-5c36863cba17@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
wrong on arm64.
Both patches should be backported to older Dovetail branches:
- Patch 1: Allows co-kernels to migrate to the new API without any
need for Linux / Dovetail version checks.
- Patch 2: Fixes a bug.
To: Xenomai <[email protected]>
Cc: Philippe Gerum <[email protected]>
Cc: Jan Kiszka <[email protected]>
Signed-off-by: Florian Bezdeka <[email protected]>
---
Florian Bezdeka (2):
dovetail: genirq: Add request_percpu_irq_affinity_flags()
arm64: irq_pipeline: Fix the demotion checks for el0 and el1 IRQs
arch/arm64/kernel/entry-common.c | 8 ++++----
include/linux/interrupt.h | 5 +++++
kernel/irq/manage.c | 10 ++++++++++
3 files changed, 19 insertions(+), 4 deletions(-)
---
base-commit: 61ac9499b2a582aad9e190db04bb48747e7f5821
change-id: 20260216-wip-flo-v6-19-dovetail-rebase-cdb12bee0c98
Best regards,
--
Florian Bezdeka <[email protected]>