Linux backports project
 help / color / mirror / Atom feed
From: Yi Cong <cong.yi@linux.dev>
To: hauke@hauke-m.de
Cc: backports@vger.kernel.org, yicong@kylinos.cn
Subject: Re: [PATCH 00/20] backports: add missing backport-include header definitions
Date: Thu, 13 Aug 2026 17:14:29 +0800	[thread overview]
Message-ID: <20260813091429.3018284-1-cong.yi@linux.dev> (raw)
In-Reply-To: <20260624073844.2097504-1-cong.yi@linux.dev>

On Wed, 24 Jun 2026 15:38:24 +0800, Yi Cong <cong.yi@linux.dev> wrote:
>
> From: Yi Cong <yicong@kylinos.cn>
>
> This series adds a number of backport-include header definitions that
> are currently missing from the backports tree. These are the small
> compatibility shims needed so that backported drivers can reference
> kernel APIs that were added in newer kernels.
>
> The patches only add new definitions (new headers, or new wrappers
> appended to existing ones); none of them modify or remove existing
> backport code. Each definition is guarded with the usual
> LINUX_VERSION_IS_LESS()/LINUX_VERSION_IN_RANGE() checks so it takes
> effect only on kernels where the native definition is absent, and the
> wrappers follow the upstream calling convention.
>
> This is the first batch of a larger set of changes; the remaining
> patches (which modify existing backport code and patches) will be sent
> separately once this batch is reviewed.
>
> Yi Cong (20):
>   headers: Add timer_shutdown_sync()
>   headers: include linux/module.h from backport.h
>   headers: add kstrtox.h backport
>   headers: add get_random_u32_inclusive() for kernels < 6.2
>   headers: add genl_split_ops compat for kernels < 6.2
>   headers: add thermal_zone_device_register_with_trips backport
>   headers: add trace_sk_data_ready no-op for kernels < 6.0
>   headers: add dropreason-core.h backport for kernels < 5.17
>   headers: add dropreason.h backport for kernels < 6.0
>   headers: add kfree_skb_reason() backport for kernels < 5.17
>   headers: add thermal_zone_device_priv() backport for kernels < 6.4
>   headers: add genl_small_ops backport for kernels < 5.10
>   headers: add class_create() single-argument backport for kernels < 6.4
>   headers: add list_count_nodes() backport for kernels < 6.5
>   headers: add net/gso.h backport for kernels < 6.5
>   headers: add vcalloc() backport for kernels < 5.18
>   headers: add __counted_by macro for kernels < 6.6
>   headers: add crypto/utils.h redirect for kernels < 6.6
>   headers: add led_trigger_blink/oneshot value-to-pointer backport for
>     kernels < 6.5
>   headers: add of_property_present backport for kernels < 5.18
>
>  backport/backport-include/backport/backport.h |  1 +
>  backport/backport-include/crypto/utils.h      | 16 +++++++
>  .../linux/compiler_attributes.h               |  8 ++++
>  backport/backport-include/linux/device.h      | 14 ++++++
>  backport/backport-include/linux/kstrtox.h     | 17 ++++++++
>  backport/backport-include/linux/leds.h        | 39 +++++++++++++++++
>  backport/backport-include/linux/list.h        | 25 +++++++++++
>  backport/backport-include/linux/of.h          | 14 ++++++
>  backport/backport-include/linux/random.h      |  7 +++
>  backport/backport-include/linux/skbuff.h      | 17 ++++++++
>  backport/backport-include/linux/thermal.h     | 25 +++++++++++
>  backport/backport-include/linux/timer.h       | 14 ++++++
>  backport/backport-include/linux/vmalloc.h     | 25 +++++++++++
>  .../backport-include/net/dropreason-core.h    | 34 +++++++++++++++
>  backport/backport-include/net/dropreason.h    | 43 +++++++++++++++++++
>  backport/backport-include/net/genetlink.h     | 16 +++++++
>  backport/backport-include/net/gso.h           | 16 +++++++
>  backport/backport-include/trace/events/sock.h | 16 +++++++
>  18 files changed, 347 insertions(+)
>  create mode 100644 backport/backport-include/crypto/utils.h
>  create mode 100644 backport/backport-include/linux/kstrtox.h
>  create mode 100644 backport/backport-include/linux/leds.h
>  create mode 100644 backport/backport-include/linux/list.h
>  create mode 100644 backport/backport-include/linux/of.h
>  create mode 100644 backport/backport-include/linux/vmalloc.h
>  create mode 100644 backport/backport-include/net/dropreason-core.h
>  create mode 100644 backport/backport-include/net/dropreason.h
>  create mode 100644 backport/backport-include/net/gso.h
>  create mode 100644 backport/backport-include/trace/events/sock.h

Dear Maintainer:

I would like to know if this series of patches I have meet
the requirements and specifications of the project.

If there are any issues with these patches, please let me know.

Thank you very much.

Regards,
    Yi Cong

      parent reply	other threads:[~2026-08-13  9:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-24  7:38 [PATCH 00/20] backports: add missing backport-include header definitions Yi Cong
2026-06-24  7:38 ` [PATCH 01/20] headers: Add timer_shutdown_sync() Yi Cong
2026-06-24  7:38 ` [PATCH 02/20] headers: include linux/module.h from backport.h Yi Cong
2026-06-24  7:38 ` [PATCH 03/20] headers: add kstrtox.h backport Yi Cong
2026-06-24  7:38 ` [PATCH 04/20] headers: add get_random_u32_inclusive() for kernels < 6.2 Yi Cong
2026-06-24  7:38 ` [PATCH 05/20] headers: add genl_split_ops compat " Yi Cong
2026-06-24  7:38 ` [PATCH 06/20] headers: add thermal_zone_device_register_with_trips backport Yi Cong
2026-06-24  7:38 ` [PATCH 07/20] headers: add trace_sk_data_ready no-op for kernels < 6.0 Yi Cong
2026-06-24  7:38 ` [PATCH 08/20] headers: add dropreason-core.h backport for kernels < 5.17 Yi Cong
2026-06-24  7:38 ` [PATCH 09/20] headers: add dropreason.h backport for kernels < 6.0 Yi Cong
2026-06-24  7:38 ` [PATCH 10/20] headers: add kfree_skb_reason() backport for kernels < 5.17 Yi Cong
2026-06-24  7:38 ` [PATCH 11/20] headers: add thermal_zone_device_priv() backport for kernels < 6.4 Yi Cong
2026-06-24  7:38 ` [PATCH 12/20] headers: add genl_small_ops backport for kernels < 5.10 Yi Cong
2026-06-24  7:38 ` [PATCH 13/20] headers: add class_create() single-argument backport for kernels < 6.4 Yi Cong
2026-06-24  7:38 ` [PATCH 14/20] headers: add list_count_nodes() backport for kernels < 6.5 Yi Cong
2026-06-24  7:38 ` [PATCH 15/20] headers: add net/gso.h " Yi Cong
2026-06-24  7:38 ` [PATCH 16/20] headers: add vcalloc() backport for kernels < 5.18 Yi Cong
2026-06-24  7:38 ` [PATCH 17/20] headers: add __counted_by macro for kernels < 6.6 Yi Cong
2026-06-24  7:38 ` [PATCH 18/20] headers: add crypto/utils.h redirect " Yi Cong
2026-06-24  7:38 ` [PATCH 19/20] headers: add led_trigger_blink/oneshot value-to-pointer backport for kernels < 6.5 Yi Cong
2026-06-24  7:38 ` [PATCH 20/20] headers: add of_property_present backport for kernels < 5.18 Yi Cong
2026-08-13  9:14 ` Yi Cong [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=20260813091429.3018284-1-cong.yi@linux.dev \
    --to=cong.yi@linux.dev \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=yicong@kylinos.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox