From: Wolfgang Denk <wd@denx.de>
To: Philippe Gerum <rpm@xenomai.org>,
Philippe Gerum via Xenomai <xenomai@xenomai.org>
Subject: Re: [CXP][RFC] Pick RTDM for the common kernel interface
Date: Mon, 14 Dec 2020 08:29:33 +0100 [thread overview]
Message-ID: <439019.1607930973@gemini.denx.de> (raw)
In-Reply-To: <87pn3mzxeh.fsf@xenomai.org>
Dear Philippe,
In message <87pn3mzxeh.fsf@xenomai.org> you wrote:
>
> PROPOSAL: Adopt a large subset of the current RTDM specification as
> the common kernel interface defined by the CXP. The exact set of RTDM
> services which should be retained in the CXP implementation must be
> discussed further.
>
> As a consequence, Xenomai 4 would provide a RTDM layer based on the EVL
> core interface internally, which would preserve the driver taxonomy
> ("named" / "protocol") and registration model inherited from its Xenomai
> 3.x counterpart.
RTDM is a complex story. Once upon a time it served a number of
important purposes; even providing a common driver interface for
Xenomai and PREEMPT_RT (search for Xenomai/SOLO if you cannot
remember). It may have beennecessary, but I have to admit that I am
not 100% happy with it either. I have seen way toomany situations
where the need to hava RTDM drivers for RT use caused a fork from
the mainline Linux drivers, resulting in bitrot and lots of
frustration becuase we had to deal with problems that were long
fixed in the upstream drivers, while theRTDM counterparts received
basically no maintenance.
Yes, I agree to adapt a subeset of RTDM as a common kernel
interface. But it should be clear that this is mostly to allow
re-use of existing code and to easy migration.
Whenever we run into problems with that, we should not look back too
long but rather focus on a new, clean and efficient (and easy to
maintain) design. Having RT capable drivers in mainline would be
much, much better.
So ACK.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"There is such a fine line between genius and stupidity."
- David St. Hubbins, "Spinal Tap"
next prev parent reply other threads:[~2020-12-14 7:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-06 16:56 [CXP][RFC] Pick RTDM for the common kernel interface Philippe Gerum
2020-12-14 7:29 ` Wolfgang Denk [this message]
2020-12-14 12:44 ` Jan Kiszka
2020-12-14 16:11 ` Greg Gallagher
2020-12-14 17:13 ` Philippe Gerum
2020-12-15 12:30 ` Wolfgang Denk
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=439019.1607930973@gemini.denx.de \
--to=wd@denx.de \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.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 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.