From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
Cc: "Linus Torvalds" <torvalds@linux-foundation.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Mark Brown" <broonie@kernel.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Desaulniers" <nick.desaulniers+lkml@gmail.com>,
"Bill Wendling" <morbo@google.com>,
"Justin Stitt" <justinstitt@google.com>,
"Raag Jadav" <raag.jadav@intel.com>,
"Sohil Mehta" <sohil.mehta@intel.com>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
"Rob Herring" <robh@kernel.org>,
"Saravana Kannan" <saravanak@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Len Brown" <lenb@kernel.org>,
"Andi Shyti" <andi.shyti@kernel.org>,
linux-kernel@vger.kernel.org,
"Yemike Abhilash Chandra" <y-abhilashchandra@ti.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
linux-media@vger.kernel.org,
"Nicolas Frattaroli" <nicolas.frattaroli@collabora.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
"Heiko Stuebner" <heiko@sntech.de>,
linux-rockchip@lists.infradead.org, linux-sound@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
"Danilo Krummrich" <dakr@kernel.org>,
driver-core@lists.linux.dev,
"Jonathan Cameron" <jic23@kernel.org>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Bartosz Golaszewski" <bartosz.golaszewski@oss.qualcomm.com>,
"Pei Xiao" <xiaopei01@kylinos.cn>,
"Shashank Balaji" <shashank.mahadasyam@sony.com>,
"Ben Horgan" <ben.horgan@arm.com>,
"Johan Hovold" <johan@kernel.org>,
linux-usb@vger.kernel.org, "Nikita Kravets" <teackot@gmail.com>,
"Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
platform-driver-x86@vger.kernel.org, devicetree@vger.kernel.org,
linux-i2c@vger.kernel.org,
"Daniel Scally" <dan.scally@ideasonboard.com>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
"Minas Harutyunyan" <hminas@synopsys.com>,
"Tianrui Zhao" <zhaotianrui@loongson.cn>,
"Bibo Mao" <maobibo@loongson.cn>,
"Huacai Chen" <chenhuacai@kernel.org>,
"WANG Xuerui" <kernel@xen0n.name>,
kvm@vger.kernel.org, loongarch@lists.linux.dev
Subject: Re: [PATCH v3 00/16] mod_devicetable.h: Split into per subsystem headers
Date: Tue, 30 Jun 2026 08:58:04 +0900 [thread overview]
Message-ID: <20260629235804.GA414914@sakamocchi.jp> (raw)
In-Reply-To: <cover.1782682124.git.ukleinek@kernel.org>
Hi,
On Sun, Jun 28, 2026 at 11:58:35PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Hello,
>
> v2 is available at
> https://lore.kernel.org/lkml/cover.1782490566.git.u.kleine-koenig@baylibre.com
> .
>
> Changes since then:
>
> - rebased to v7.2-rc1
> - rename the directory containing the new per device-id headers from
> "mod_device_id" to "device-id".
> - Adding Acks received
> - ASoC patch (formerly patch #3) dropped as it was already merged as
> commit 83d53eca7e55 ("ASoC: rockchip: rockchip_sai: #include
> <linux/platform_device.h> explicitly") in v7.2-rc1.
>
> This series survived an allmodconfig build on alpha, arc, arm64,
> loongarch, m68k, mips, powerpc, riscv, s390, sh, sparc, and x86_64.
> (Well, some failures, but I see these also on vanilla v7.2-rc1.)
>
> There are a few headers left that include <linux/mod_devicetable.h>, but
> these can be addressed in the next dev cycle without much impact as all
> the much included headers are covered here.
>
> I will apply this series to
>
> https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git device-id-rework
>
> which is included in next to expose it to the build bots and testers (in
> the hope that there won't occur much merge conflict with v7.3 material).
> I will add review tags and address (the hopefully very few) build issues
> that might pop up. My plan is to let Linus merge it end of the week for
> -rc2.
>
> Best regards
> Uwe
>
> Uwe Kleine-König (The Capable Hub) (16):
> mod_devicetable.h: Split into per subsystem headers
> media: ti: vpe: #include <linux/platform_device.h> explicitly
> driver: core: Include headers for acpi_device_id and of_device_id for
> struct device_driver
> driver core: platform: Include header for struct platform_device_id
> usb: serial: Include <linux/usb.h> in <linux/usb/serial.h>
> platform/x86: msi-ec: Ensure dmi_system_id is defined
> of: Explicitly include <linux/types.h> and <linux/err.h>
> i2c: Let i2c-core.h include <linux/i2c.h>
> platform/x86: x86-android-tablets: Add include defining struct
> dmi_system_id
> platform/x86: int3472: Add include defining struct dmi_system_id
> usb: dwc2: Add include defining struct pci_device_id
> ALSA: hda/core: Add include defining struct hda_device_id
> LoongArch: KVM: Add include defining struct cpu_feature
> media: em28xx: Add include for struct usb_device_id
> Replace <linux/mod_devicetable.h> by more specific
> <linux/device-id/*.h> (headers)
> Replace <linux/mod_devicetable.h> by more specific
> <linux/device-id/*.h> (c files)
>
> ...
> drivers/firewire/core-device.c | 1 -
> drivers/firewire/net.c | 1 -
> drivers/firewire/sbp2.c | 1 -
> ...
> drivers/media/firewire/firedtv-fw.c | 1 -
> ...
> include/linux/firewire.h | 3 +-
> ...
> sound/firewire/isight.c | 1 -
> ...
> 1649 files changed, 1575 insertions(+), 2544 deletions(-)
> ...
> create mode 100644 include/linux/device-id/ieee1394.h
I have no objection to the above changes relevant to firewire subsystem.
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Consequently, unit drivers just include include/linux/firewire.h to refer
to 'struct ieee1394_device_id'. After merging the changes, I'll post more
patches to modify the following unit drivers, since they are left from the
patchset.
* drivers/media/firewire/firedtv.h
* sound/firewire/bebob/bebob.h
* sound/firewire/dice/dice.h
* sound/firewire/digi00x/digi00x.h
* sound/firewire/fireface/ff.h
* sound/firewire/fireworks/fireworks.h
* sound/firewire/motu/motu.h
* sound/firewire/oxfw/oxfw.h
* sound/firewire/tascam/tascam.h
By the way, the changes touch so many files. If it takes more time to
apply, I think it better to make steps to modify across several kernel
generation. For example, getting rid of direct reference of
mod_devicetable.h from drivers at first (in the case of firewire
subsystem, for 'Replace <linux/mod_devicetable.h> by more specific
<linux/device-id/*.h> (headers))', then adding these per-subsystem
headers and applying relevant changes.
Of course, I don't mind to apply the v3 patchset as is in upstream.
Thanks
Takashi Sakamoto
next prev parent reply other threads:[~2026-06-29 23:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-28 21:58 [PATCH v3 00/16] mod_devicetable.h: Split into per subsystem headers Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 05/16] usb: serial: Include <linux/usb.h> in <linux/usb/serial.h> Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 11/16] usb: dwc2: Add include defining struct pci_device_id Uwe Kleine-König (The Capable Hub)
2026-06-29 23:58 ` Takashi Sakamoto [this message]
2026-06-30 6:04 ` [PATCH v3 00/16] mod_devicetable.h: Split into per subsystem headers 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=20260629235804.GA414914@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=andi.shyti@kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=ben.horgan@arm.com \
--cc=bhelgaas@google.com \
--cc=broonie@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=dakr@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=dave.hansen@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=driver-core@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--cc=heiko@sntech.de \
--cc=hminas@synopsys.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jic23@kernel.org \
--cc=johan@kernel.org \
--cc=justinstitt@google.com \
--cc=kernel@xen0n.name \
--cc=kvm@vger.kernel.org \
--cc=lenb@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=maobibo@loongson.cn \
--cc=mchehab@kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=nicolas.frattaroli@collabora.com \
--cc=perex@perex.cz \
--cc=platform-driver-x86@vger.kernel.org \
--cc=raag.jadav@intel.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=saravanak@kernel.org \
--cc=shashank.mahadasyam@sony.com \
--cc=sohil.mehta@intel.com \
--cc=teackot@gmail.com \
--cc=tiwai@suse.com \
--cc=torvalds@linux-foundation.org \
--cc=u.kleine-koenig@baylibre.com \
--cc=xiaopei01@kylinos.cn \
--cc=y-abhilashchandra@ti.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox