All of lore.kernel.org
 help / color / mirror / Atom feed
From: "florian.bezdeka@siemens.com" <florian.bezdeka@siemens.com>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>,
	song <chensong@tj.kylinos.cn>
Subject: [PATCH v2 0/3] Make offered kernel features accessible during
Date: Mon, 16 Nov 2020 14:07:10 +0000	[thread overview]
Message-ID: <20201116140641.72027-1-florian.bezdeka@siemens.com> (raw)
In-Reply-To: <157dbba3-5d17-7f84-6319-9ea9eae35854@tj.kylinos.cn>+EDAFE494B95437A7>

From: Florian Bezdeka <florian.bezdeka@siemens.com>

Hi all,                                                                             
                                                                                    
while reviewing the settime64 syscall patches I noticed that we do not
have any infrastructure that allows us to check which features are
offered by the currently running kernel.
                                                                                    
With this patch series I try to fix this gap. Everything is compile
time tested only so far. I'm currently trying to bring my test
infrastructure up and running.

The first two patches are not related to the time64 topic, so they might be
applied to 'next' already. The third patch should make its way into the 
time64 patch queue maintained by Chengson.

Changes from v1:
 - reordered patches
 - cobalt_features_available is now returning a bool value instead of an
   integer
 - cobalt_features_available is now marked as "inline static" instead of 
   inline only
 - Renamed feature flag from '__xn_feat_settime64' to '__xn_feat_time64'
 - The third patch now includes some "TODO"s that should remind us to
   remove the feature flag when the next ABI revision dump is done

Florian Bezdeka (3):
  lib/cobalt: Rename cobalt_check_features to cobalt_arch_check_features
  lib/cobalt: Introduce generic feature initialization and check API
  cobalt uapi: Introducing new feature flag for time64 availability

 include/cobalt/uapi/asm-generic/features.h    |  6 ++-
 .../arm64/include/asm/xenomai/uapi/features.h |  1 +
 .../include/asm/xenomai/uapi/features.h       |  1 +
 .../x86/include/asm/xenomai/uapi/features.h   |  1 +
 lib/cobalt/arch/arm/features.c                |  2 +-
 lib/cobalt/arch/arm64/features.c              |  2 +-
 lib/cobalt/arch/powerpc/features.c            |  2 +-
 lib/cobalt/arch/x86/features.c                |  2 +-
 lib/cobalt/init.c                             |  2 +-
 lib/cobalt/internal.c                         | 10 +++++
 lib/cobalt/internal.h                         | 39 +++++++++++++++++--
 11 files changed, 58 insertions(+), 10 deletions(-)

-- 
2.26.2


  reply	other threads:[~2020-11-16 14:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03  3:05 [PATCH 5/5] lib/cobalt/clock.c:dispatch clock_settime chensong
2020-11-10 10:24 ` Jan Kiszka
2020-11-11  3:55   ` chensong
2020-11-11  7:29     ` Jan Kiszka
2020-11-11  9:23       ` chensong
2020-11-11  9:43         ` Jan Kiszka
2020-11-11 10:13           ` chensong
2020-11-13 11:47             ` Florian Bezdeka
2020-11-13 11:56               ` Jan Kiszka
2020-11-13 11:59                 ` [PATCH 0/3] Make offered kernel features accessible during florian.bezdeka
2020-11-13 12:00                   ` [PATCH 1/3] cobalt uapi: Introducing new feature flag for settime64 availability florian.bezdeka
2020-11-13 13:25                     ` Jan Kiszka
2020-11-13 16:18                       ` florian.bezdeka
2020-11-14  7:33                         ` Jan Kiszka
2020-11-14  6:57                     ` song
2020-11-14  7:32                       ` Jan Kiszka
2020-11-14  7:50                         ` song
2020-11-16 14:07                           ` florian.bezdeka [this message]
2020-11-16 14:07                             ` [PATCH v2 1/3] lib/cobalt: Rename cobalt_check_features to cobalt_arch_check_features florian.bezdeka
2020-11-16 14:07                             ` [PATCH v2 3/3] cobalt uapi: Introducing new feature flag for time64 availability florian.bezdeka
2020-12-11  6:41                               ` Jan Kiszka
2020-11-16 14:07                             ` [PATCH v2 2/3] lib/cobalt: Introduce generic feature initialization and check API florian.bezdeka
2020-11-17  4:31                               ` song
2020-11-17  8:29                                 ` florian.bezdeka
2020-11-17  8:43                                   ` song
2020-11-17 14:28                               ` Jan Kiszka
2020-11-13 12:00                   ` [PATCH 2/3] lib/cobalt: Rename cobalt_check_features to cobalt_arch_check_features florian.bezdeka
2020-11-13 12:00                   ` [PATCH 3/3] lib/cobalt: Introduce generic feature initialization and check API florian.bezdeka
2020-11-13 13:25                     ` Jan Kiszka
2020-11-13 16:10                       ` florian.bezdeka
2020-11-14  7:04               ` [PATCH 5/5] lib/cobalt/clock.c:dispatch clock_settime song

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=20201116140641.72027-1-florian.bezdeka@siemens.com \
    --to=florian.bezdeka@siemens.com \
    --cc=chensong@tj.kylinos.cn \
    --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.