All of lore.kernel.org
 help / color / mirror / Atom feed
* rt-tests: QNX 8.0 port, would you take three small patches?
@ 2026-11-25 13:45 Yaroslav Hryhorenko
  2026-11-30 19:38 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: Yaroslav Hryhorenko @ 2026-11-25 13:45 UTC (permalink / raw)
  To: williams, jkacur; +Cc: linux-rt-users

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.

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.

Thanks,
Yaroslav Hryhorenko

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

* Re: rt-tests: QNX 8.0 port, would you take three small patches?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2026-11-30 19:38 UTC (permalink / raw)
  To: Yaroslav Hryhorenko; +Cc: williams, linux-rt-users

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

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

end of thread, other threads:[~2026-11-30 19:38 UTC | newest]

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