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
WARNING: multiple messages have this Message-ID (diff)
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
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2026-06-29 23:58 UTC|newest]
Thread overview: 43+ 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 ` Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 01/16] " Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 02/16] media: ti: vpe: #include <linux/platform_device.h> explicitly Uwe Kleine-König (The Capable Hub)
2026-06-29 5:42 ` Yemike Abhilash Chandra
2026-06-28 21:58 ` [PATCH v3 03/16] driver: core: Include headers for acpi_device_id and of_device_id for struct device_driver Uwe Kleine-König (The Capable Hub)
2026-06-29 13:43 ` Rafael J. Wysocki (Intel)
2026-06-28 21:58 ` [PATCH v3 04/16] driver core: platform: Include header for struct platform_device_id 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 06/16] platform/x86: msi-ec: Ensure dmi_system_id is defined Uwe Kleine-König (The Capable Hub)
2026-06-29 11:39 ` Ilpo Järvinen
2026-06-28 21:58 ` [PATCH v3 07/16] of: Explicitly include <linux/types.h> and <linux/err.h> Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 08/16] i2c: Let i2c-core.h include <linux/i2c.h> Uwe Kleine-König (The Capable Hub)
2026-06-29 6:31 ` Wolfram Sang
2026-06-29 10:09 ` Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 09/16] platform/x86: x86-android-tablets: Add include defining struct dmi_system_id Uwe Kleine-König (The Capable Hub)
2026-06-29 11:38 ` Ilpo Järvinen
2026-06-29 13:36 ` Uwe Kleine-König (The Capable Hub)
2026-06-30 14:58 ` Ilpo Järvinen
2026-06-30 17:30 ` Uwe Kleine-König (The Capable Hub)
2026-06-30 18:07 ` Ilpo Järvinen
2026-07-01 9:52 ` Uwe Kleine-König (The Capable Hub)
2026-07-01 10:15 ` Ilpo Järvinen
2026-06-28 21:58 ` [PATCH v3 10/16] platform/x86: int3472: " Uwe Kleine-König (The Capable Hub)
2026-06-29 12:18 ` Ilpo Järvinen
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-28 21:58 ` [PATCH v3 12/16] ALSA: hda/core: Add include defining struct hda_device_id Uwe Kleine-König (The Capable Hub)
2026-07-01 11:52 ` Takashi Iwai
2026-07-01 13:54 ` "Uwe Kleine-König (The Capable Hub)"
2026-06-28 21:58 ` [PATCH v3 13/16] LoongArch: KVM: Add include defining struct cpu_feature Uwe Kleine-König (The Capable Hub)
2026-06-28 22:15 ` sashiko-bot
2026-06-29 10:01 ` Uwe Kleine-König
2026-06-29 2:20 ` Bibo Mao
2026-06-28 21:58 ` [PATCH v3 14/16] media: em28xx: Add include for struct usb_device_id Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 15/16] Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers) Uwe Kleine-König (The Capable Hub)
2026-06-28 21:58 ` [PATCH v3 16/16] Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) Uwe Kleine-König (The Capable Hub)
2026-06-30 19:37 ` Bjorn Helgaas
2026-06-29 23:58 ` Takashi Sakamoto [this message]
2026-06-29 23:58 ` [PATCH v3 00/16] mod_devicetable.h: Split into per subsystem headers Takashi Sakamoto
2026-06-30 6:04 ` Uwe Kleine-König (The Capable Hub)
2026-06-30 6:04 ` Uwe Kleine-König (The Capable Hub)
2026-06-30 13:11 ` Takashi Sakamoto
2026-06-30 13:11 ` Takashi Sakamoto
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 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.