From: Philippe Gerum <rpm@xenomai.org>
To: Tobias Schaffner <tobias.schaffner@siemens.com>
Cc: xenomai@lists.linux.dev, florian.bezdeka@siemens.com,
jan.kiszka@siemens.com
Subject: Re: [PATCH linux-evl v3 1/2] riscv: Add EVL core
Date: Thu, 30 Jul 2026 15:27:38 +0200 [thread overview]
Message-ID: <87v79w8v5h.fsf@xenomai.org> (raw)
In-Reply-To: <20260728111305.2699306-2-tobias.schaffner@siemens.com> (Tobias Schaffner's message of "Tue, 28 Jul 2026 13:13:02 +0200")
Tobias Schaffner <tobias.schaffner@siemens.com> writes:
> diff --git a/arch/riscv/include/uapi/asm/evl/fptest.h b/arch/riscv/include/uapi/asm/evl/fptest.h
> new file mode 100644
> index 000000000000..1b1f4f0ce373
> --- /dev/null
> +++ b/arch/riscv/include/uapi/asm/evl/fptest.h
> @@ -0,0 +1,16 @@
> +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
> + *
> + * Derived from Xenomai Cobalt, https://xenomai.org/
> + * Copyright (C) 2006 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>.
> + */
> +#ifndef _EVL_RISCV_ASM_UAPI_FPTEST_H
> +#define _EVL_RISCV_ASM_UAPI_FPTEST_H
> +
> +#include <linux/types.h>
> +
> +#define evl_riscv_fp 0x1
> +
> +#define evl_set_fpregs(__features, __val)
> +#define evl_check_fpregs(__features, __val, __bad) 0
> +
> +#endif /* !_EVL_RISCV_ASM_UAPI_FPTEST_H */
Gilles did write the fptest bits for x86, arm and arm64 a long time ago
when we were working on xenomai3, which I then picked for implementing
xenomai4/evl. However, the risc-v bits can hardly be seen as an
adaptation of any existing code, although the basic pattern has to be
the same, since this implements an internal API. I believe that you
should copyright it, I don't see this as a work derived from the other
fptest implementations.
--
Philippe.
next prev parent reply other threads:[~2026-07-30 13:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 11:13 [PATCH linux-evl v3 0/2] Add RISC-V support to EVL Tobias Schaffner
2026-07-28 11:13 ` [PATCH linux-evl v3 1/2] riscv: Add EVL core Tobias Schaffner
2026-07-30 13:27 ` Philippe Gerum [this message]
2026-07-28 11:13 ` [PATCH linux-evl v3 2/2] riscv: Add FPU register test support Tobias Schaffner
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=87v79w8v5h.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=tobias.schaffner@siemens.com \
--cc=xenomai@lists.linux.dev \
/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.