From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
To: "Tianrui Zhao" <zhaotianrui@loongson.cn>,
"Bibo Mao" <maobibo@loongson.cn>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nicolas Schier" <nsc@kernel.org>,
"Uwe Kleine-König (The Capable Hub)"
<u.kleine-koenig@baylibre.com>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Takashi Sakamoto" <o-takashi@sakamocchi.jp>,
"Raag Jadav" <raag.jadav@intel.com>,
"Martin K. Petersen" <mkp@kernel.org>,
"Heiner Kallweit" <hkallweit1@gmail.com>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
"Ingo Molnar" <mingo@kernel.org>,
"Josh Poimboeuf" <jpoimboe@kernel.org>,
"Jorge Sanjuan Garcia" <dev-jorge.sanjuangarcia@duagon.com>,
"Jose Javier Rodriguez Barbarin"
<dev-josejavier.rodriguez@duagon.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Alexey Gladkov" <legion@kernel.org>,
"Hasan Basbunar" <basbunarhasan@gmail.com>,
"Hugh Dickins" <hughd@google.com>, "Armin Wolf" <W_Armin@gmx.de>
Cc: WANG Xuerui <kernel@xen0n.name>,
kvm@vger.kernel.org, loongarch@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
Sudeep Holla <sudeep.holla@kernel.org>
Subject: [PATCH v1 0/3] <linux/mod_devicetable.h> deprecation continues
Date: Mon, 21 Sep 2026 16:18:48 +0200 [thread overview]
Message-ID: <cover.1789988540.git.u.kleine-koenig@baylibre.com> (raw)
Hello,
this is a next step in the deprecation of <linux/mod_devicetable.h>.
scripts/mod/devicetable-offsets.c and scripts/mod/file2alias.c are the
only users of that header that use more than a few device-id structs. So
their number of lines actually grows when unfolding the needed includes
into them. Still it is a reduction in build dependencies.
I suggest to take this via kbuild during the merge window. Would be great to
cook in next for a while before.
Best regards
Uwe
Uwe Kleine-König (The Capable Hub) (3):
Move struct cpu_feature to <linux/cpufeature.h>
devicetable-offsets: Include the needed device-id headers instead of
the catch-all
file2alias: Include the needed device-id headers instead of the
catch-all
arch/loongarch/kvm/main.c | 2 +-
include/linux/cpufeature.h | 12 ++++++-
include/linux/mod_devicetable.h | 13 -------
scripts/mod/devicetable-offsets.c | 57 ++++++++++++++++++++++++++++++-
scripts/mod/file2alias.c | 56 +++++++++++++++++++++++++++++-
5 files changed, 123 insertions(+), 17 deletions(-)
base-commit: 93f51579e7df248780214094418f205253383cc5
--
2.56.0.rc1
next reply other threads:[~2026-09-21 14:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 14:18 Uwe Kleine-König (The Capable Hub) [this message]
2026-09-21 14:18 ` [PATCH v1 1/3] Move struct cpu_feature to <linux/cpufeature.h> Uwe Kleine-König (The Capable Hub)
2026-09-21 14:28 ` sashiko-bot
2026-09-21 14:18 ` [PATCH v1 2/3] devicetable-offsets: Include the needed device-id headers instead of the catch-all Uwe Kleine-König (The Capable Hub)
2026-09-21 14:18 ` [PATCH v1 3/3] file2alias: " Uwe Kleine-König (The Capable Hub)
2026-09-22 19:43 ` [PATCH v1 0/3] <linux/mod_devicetable.h> deprecation continues Armin Wolf
2026-10-05 15:23 ` Nathan Chancellor
2026-10-06 8:54 ` Nathan Chancellor
2026-10-06 22:39 ` Uwe Kleine-König (The Capable Hub)
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=cover.1789988540.git.u.kleine-koenig@baylibre.com \
--to=u.kleine-koenig@baylibre.com \
--cc=W_Armin@gmx.de \
--cc=basbunarhasan@gmail.com \
--cc=chenhuacai@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=dev-jorge.sanjuangarcia@duagon.com \
--cc=dev-josejavier.rodriguez@duagon.com \
--cc=geert@linux-m68k.org \
--cc=hkallweit1@gmail.com \
--cc=hughd@google.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jpoimboe@kernel.org \
--cc=kernel@xen0n.name \
--cc=kvm@vger.kernel.org \
--cc=legion@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=maobibo@loongson.cn \
--cc=mingo@kernel.org \
--cc=mkp@kernel.org \
--cc=nathan@kernel.org \
--cc=nsc@kernel.org \
--cc=o-takashi@sakamocchi.jp \
--cc=raag.jadav@intel.com \
--cc=sudeep.holla@kernel.org \
--cc=zhaotianrui@loongson.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 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.