All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Yaroslav Hryhorenko <yarik13371337@gmail.com>
Cc: williams@redhat.com, linux-rt-users@vger.kernel.org
Subject: Re: rt-tests: QNX 8.0 port, would you take three small patches?
Date: Mon, 30 Nov 2026 14:38:38 -0500	[thread overview]
Message-ID: <aw3QNRSCFuAUgEh2@brigit> (raw)
In-Reply-To: <CANTFvqGaCZq4huxya4um4zpoa7tGSKA_Og8smcE9ssgteVrbKg@mail.gmail.com>

On Wed, Nov 25, 2026 at 03:45:58PM +0200, Yaroslav Hryhorenko wrote:
> Hi Clark, John,
> 
> I ported rt-tests 2.11 to QNX 8.0 (aarch64, built with the QNX SDP's
> qcc, run on QEMU) for a hackathon. Most of the work lives outside your
> tree, in a small shim that gives the Linux affinity calls a QNX
> equivalent. Three changes did need to touch the sources, and I'm
> writing to ask if you would want them.
> 
> All three are inside #ifdef __QNX__, so nothing should change on Linux.
> I have only built them on QNX, not on Linux with the QNX paths off, so
> please check that on your side.

When you are trying to get your patches included upstream, the norm is
for you to do the work yourself and not ask the maintainer to do it for
you.

> 
> 1/3 Build cyclictest and the libraries on QNX: no SCHED_DEADLINE, no
>     getcpu(), SIGEV_THREAD_ID is SIGEV_SIGNAL_THREAD, no /proc/loadavg
>     and similar, and pip_stress needs fd -1 for its anonymous mmap.
> 2/3 pi_stress: QNX has no thread attribute for the CPU mask, so each
>     thread binds itself after it starts.
> 3/3 ptsematest: the test unlocks a mutex from another thread, which
>     QNX does not allow, so it hands the lock over with semaphores there.
> 
> The patches are in git format here:
> https://github.com/Fuze5k/rt-tests-qnx/tree/main/patches
> 
> If you would like them as a proper series on the list, I will send them
> with git send-email. If you would rather not carry QNX code upstream,
> that is fine too; the repo stays up either way.

Please keep including a git repo in your mails, I appreciate that.
However, I try to follow the conventions for lkml where possible for
software I maintain. That mains, you also have to send a proper series
to the list.

Thank you
John Kacur
> 
> Thanks,
> Yaroslav Hryhorenko

      reply	other threads:[~2026-11-30 19:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 13:45 rt-tests: QNX 8.0 port, would you take three small patches? Yaroslav Hryhorenko
2026-11-30 19:38 ` John Kacur [this message]

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=aw3QNRSCFuAUgEh2@brigit \
    --to=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    --cc=yarik13371337@gmail.com \
    /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.