* [PATCH 01/12] docs: ioctl-number: update MM entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-15 16:58 ` David Hildenbrand (Arm)
2026-11-14 20:26 ` [PATCH 02/12] docs: ioctl-number: update sound entries Randy Dunlap
` (10 subsequent siblings)
11 siblings, 1 reply; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Add ioctl number entries for test_hmm_uapi and gup_test.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: David Hildenbrand <david@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Leon Romanovsky <leonro@nvidia.com>
Cc: linux-mm@kvack.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 4 ++++
1 file changed, 4 insertions(+)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -147,6 +147,8 @@ Code Seq# Include File
'G' 00-0F xen/gntalloc.h, xen/gntdev.h conflict!
'H' 00-7F linux/hiddev.h conflict!
'H' 00-0F linux/hidraw.h conflict!
+'H' 00-0F lib/test_hmm_uapi.h conflict!
+ <mailto:linux-mm@kvack.org>
'H' 01 linux/mei.h conflict!
'H' 02 linux/mei.h conflict!
'H' 03 linux/mei.h conflict!
@@ -252,6 +254,8 @@ Code Seq# Include File
'f' 81-8F linux/fsverity.h
'g' 00-0F linux/usb/gadgetfs.h
'g' 20-2F linux/usb/g_printer.h
+'g' 01-0F mm/gup_test.h conflict!
+ <mailto:linux-mm@kvack.org>
'h' 00-7F conflict! Charon filesystem
<mailto:zapman@interlan.net>
'h' 00-1F linux/hpet.h conflict!
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH 01/12] docs: ioctl-number: update MM entries
2026-11-14 20:26 ` [PATCH 01/12] docs: ioctl-number: update MM entries Randy Dunlap
@ 2026-11-15 16:58 ` David Hildenbrand (Arm)
2026-11-16 0:45 ` Randy Dunlap
0 siblings, 1 reply; 17+ messages in thread
From: David Hildenbrand (Arm) @ 2026-11-15 16:58 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: Jonathan Corbet, Shuah Khan, linux-doc, Andrew Morton,
Jason Gunthorpe, Leon Romanovsky, linux-mm, Jaroslav Kysela,
Takashi Iwai, linux-sound, Jens Axboe, linux-block,
Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
Willem de Bruijn, Jason Wang, David Heidelberg, oe-linux-nfc,
Chas Williams, linux-atm-general, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, netdev, Helge Deller, linux-fbdev,
dri-devel, MPT-FusionLinux.pdl, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
On 11/14/26 21:26, Randy Dunlap wrote:
> Add ioctl number entries for test_hmm_uapi and gup_test.
Just curious, why do we care about uapi for test interfaces that never see the
light of day in production kernels and their sole purpose is to go a long a
dedicated selftest?
--
Cheers,
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 01/12] docs: ioctl-number: update MM entries
2026-11-15 16:58 ` David Hildenbrand (Arm)
@ 2026-11-16 0:45 ` Randy Dunlap
0 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-16 0:45 UTC (permalink / raw)
To: David Hildenbrand (Arm), linux-kernel
Cc: Jonathan Corbet, Shuah Khan, linux-doc, Andrew Morton,
Jason Gunthorpe, Leon Romanovsky, linux-mm, Jaroslav Kysela,
Takashi Iwai, linux-sound, Jens Axboe, linux-block,
Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
Willem de Bruijn, Jason Wang, David Heidelberg, oe-linux-nfc,
Chas Williams, linux-atm-general, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, netdev, Helge Deller, linux-fbdev,
dri-devel, MPT-FusionLinux.pdl, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
On 11/15/26 8:58 AM, David Hildenbrand (Arm) wrote:
> On 11/14/26 21:26, Randy Dunlap wrote:
>> Add ioctl number entries for test_hmm_uapi and gup_test.
>
> Just curious, why do we care about uapi for test interfaces that never see the
> light of day in production kernels and their sole purpose is to go a long a
> dedicated selftest?
a. We don't control who builds/runs these tests.
b. There might be some USB gadget or HID driver running at the same time
as these tests.
c. It's preferable not to have conflicts, so any additions to this file
should try to avoid these documented ioctls.
--
~Randy
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 02/12] docs: ioctl-number: update sound entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
2026-11-14 20:26 ` [PATCH 01/12] docs: ioctl-number: update MM entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-15 1:19 ` Takashi Sakamoto
2026-11-14 20:26 ` [PATCH 03/12] docs: ioctl-number: update block entries Randy Dunlap
` (9 subsequent siblings)
11 siblings, 1 reply; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where sound ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 12 +++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -122,11 +122,14 @@ Code Seq# Include File
'A' 00-0F linux/agpgart.h, conflict!
drivers/char/agp/compat_ioctl.h
'A' 00-7F sound/asound.h conflict!
+'A' 20 sound/pcm.h conflict!
+'A' 20-53 sound/core/pcm_compat.c conflict!
'B' 00-1F linux/cciss_ioctl.h conflict!
'B' 00-0F include/linux/pmu.h conflict!
'B' C0-FF advanced bbus <mailto:maassen@uni-freiburg.de>
'B' 00-0F xen/xenbus_dev.h conflict!
'C' all linux/soundcard.h conflict!
+'C' 00-68 sound/compress_offload.h conflict!
'C' 01-2F linux/capi.h conflict!
'C' F0-FF drivers/net/wan/cosa.h conflict!
'D' all arch/s390/include/asm/dasd.h
@@ -152,6 +155,7 @@ Code Seq# Include File
'H' 01 linux/mei.h conflict!
'H' 02 linux/mei.h conflict!
'H' 03 linux/mei.h conflict!
+'H' 03 sound/core/hwdep_compat.c conflict!
'H' 00-0F sound/asound.h conflict!
'H' 20-40 sound/asound_fm.h conflict!
'H' 80-8F sound/sfnt_info.h conflict!
@@ -160,7 +164,9 @@ Code Seq# Include File
'H' 10-1F sound/hda_hwdep.h conflict!
'H' 40-4F sound/hdspm.h conflict!
'H' 40-4F sound/hdsp.h conflict!
+'H' 60-63 sound/scarlett2.h
'H' 90 sound/usb/usx2y/usb_stream.h
+'H' FC sound/pci/asihpi/hpios.h conflict!
'H' 00-0F uapi/misc/habanalabs.h conflict!
'H' A0 uapi/linux/usb/cdc-wdm.h
'H' C0-F0 net/bluetooth/hci.h conflict!
@@ -168,7 +174,7 @@ Code Seq# Include File
'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict!
'H' C0-DF net/bluetooth/bnep/bnep.h conflict!
'H' F1 linux/hid-roccat.h <mailto:erazor_de@users.sourceforge.net>
-'H' F8-FA sound/firewire.h
+'H' F8-FE sound/firewire.h conflict!
'I' all linux/isdn.h conflict!
'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict!
'I' 40-4F linux/mISDNif.h conflict!
@@ -204,6 +210,8 @@ Code Seq# Include File
'S' 80-81 scsi/scsi_ioctl.h conflict!
'S' 82-FF scsi/scsi.h conflict!
'S' 00-7F sound/asequencer.h conflict!
+'S' 21-23 sound/core/seq/seq_compat.c conflict!
+'S' 60-67 sound/fcp.h conflict!
'T' all linux/soundcard.h conflict!
'T' 00-AF sound/asound.h conflict!
'T' all arch/x86/include/asm/ioctls.h conflict!
@@ -219,7 +227,7 @@ Code Seq# Include File
'V' C0 media/si4713.h conflict!
'W' 00-1F linux/watchdog.h conflict!
'W' 00-1F linux/wanrouter.h conflict! (pre 3.9)
-'W' 00-3F sound/asound.h conflict!
+'W' 00-41 sound/asound.h conflict!
'W' 40-5F drivers/pci/switch/switchtec.c
'W' 60-61 linux/watch_queue.h
'X' all fs/xfs/xfs_fs.h, conflict!
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH 02/12] docs: ioctl-number: update sound entries
2026-11-14 20:26 ` [PATCH 02/12] docs: ioctl-number: update sound entries Randy Dunlap
@ 2026-11-15 1:19 ` Takashi Sakamoto
0 siblings, 0 replies; 17+ messages in thread
From: Takashi Sakamoto @ 2026-11-15 1:19 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Hi,
On Sat, Nov 14, 2026 at 12:26:40PM -0800, Randy Dunlap wrote:
> Update the list of files where sound ioctls are defined and update
> the ranges of function numbers that are used.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> [Since having multiple maintainers trying to merge these would
> cause some conflicts, it would be more manageable for Jon to
> take all of these through the docs-next tree.]
>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: linux-doc@vger.kernel.org
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.com>
> Cc: linux-sound@vger.kernel.org
>
> Documentation/userspace-api/ioctl/ioctl-number.rst | 12 +++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> --- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
> ...(snip)...
> @@ -168,7 +174,7 @@ Code Seq# Include File
> 'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict!
> 'H' C0-DF net/bluetooth/bnep/bnep.h conflict!
> 'H' F1 linux/hid-roccat.h <mailto:erazor_de@users.sourceforge.net>
> -'H' F8-FA sound/firewire.h
> +'H' F8-FE sound/firewire.h conflict!
> ...(snip)...
I overlooked this entry when inserting the additional ioctl commands in
the following commits:
* 90e8ac5c9d446 ("ALSA: firewire-tascam: add new hwdep ioctl command to get state image")
* 58b62ab702591 ("ALSA: firewire-motu: add ioctl command to read cached hardware meter")
* ca15a09ccc5bd ("ALSA: firewire-motu: add ioctl command to read cached parameters in register DSP model")
Thank you for catching and correcting this.
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Thanks
Takashi Sakamoto
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 03/12] docs: ioctl-number: update block entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
2026-11-14 20:26 ` [PATCH 01/12] docs: ioctl-number: update MM entries Randy Dunlap
2026-11-14 20:26 ` [PATCH 02/12] docs: ioctl-number: update sound entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 04/12] docs: ioctl-number: update networking entries Randy Dunlap
` (8 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where block ioctls are defined.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 4 ++++
1 file changed, 4 insertions(+)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -78,6 +78,7 @@ Code Seq# Include File
0x00 00-1F linux/fb.h conflict!
0x00 00-1F linux/wavefront.h conflict!
0x02 all linux/fd.h
+ drivers/block/floppy.c
0x03 all linux/hdreg.h
0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't reuse these.
0x06 all linux/lp.h
@@ -90,6 +91,9 @@ Code Seq# Include File
linux/blkpg.h
linux/blkzoned.h
linux/blk-crypto.h
+ linux/blkdev.h
+ linux/blktrace_api.h
+ block/ioctl.c
0x15 all linux/fs.h FS_IOC_* ioctls
0x1b all InfiniBand Subsystem
<http://infiniband.sourceforge.net/>
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 04/12] docs: ioctl-number: update networking entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (2 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 03/12] docs: ioctl-number: update block entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 05/12] docs: ioctl-number: update video/fbdev entries Randy Dunlap
` (7 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where networking ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: Jason Wang <jasowangio@gmail.com>
Cc: David Heidelberg <david@ixit.cz>
Cc: oe-linux-nfc@lists.linux.dev
Cc: Chas Williams <3chas3@gmail.com>
Cc: linux-atm-general@lists.sourceforge.net
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 19 +++++++----
1 file changed, 13 insertions(+), 6 deletions(-)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -132,6 +132,7 @@ Code Seq# Include File
'B' 00-0F include/linux/pmu.h conflict!
'B' C0-FF advanced bbus <mailto:maassen@uni-freiburg.de>
'B' 00-0F xen/xenbus_dev.h conflict!
+'B' C8-D4 net/bluetooth/bnep/bnep.h <mailto:linux-bluetooth@vger.kernel.org>
'C' all linux/soundcard.h conflict!
'C' 00-68 sound/compress_offload.h conflict!
'C' 01-2F linux/capi.h conflict!
@@ -173,7 +174,7 @@ Code Seq# Include File
'H' FC sound/pci/asihpi/hpios.h conflict!
'H' 00-0F uapi/misc/habanalabs.h conflict!
'H' A0 uapi/linux/usb/cdc-wdm.h
-'H' C0-F0 net/bluetooth/hci.h conflict!
+'H' C0-F0 net/bluetooth/hci_sock.h conflict!
'H' C0-DF net/bluetooth/hidp/hidp.h conflict!
'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict!
'H' C0-DF net/bluetooth/bnep/bnep.h conflict!
@@ -219,11 +220,12 @@ Code Seq# Include File
'T' all linux/soundcard.h conflict!
'T' 00-AF sound/asound.h conflict!
'T' all arch/x86/include/asm/ioctls.h conflict!
-'T' C0-DF linux/if_tun.h conflict!
+'T' C0-E3 linux/if_tun.h conflict!
'U' all sound/asound.h conflict!
'U' 00-CF linux/uinput.h conflict!
'U' 00-EF linux/usbdevice_fs.h
'U' C0-CF drivers/bluetooth/hci_uart.h
+'U' 00 net/nfc/nci_core.h conflict!
'V' all linux/vt.h conflict!
'V' all linux/videodev2.h conflict!
'V' C0 linux/ivtvfb.h conflict!
@@ -242,8 +244,8 @@ Code Seq# Include File
'Z' 14-15 drivers/message/fusion/mptctl.h
'[' 00-3F linux/usb/tmc.h USB Test and Measurement Devices
<mailto:gregkh@linuxfoundation.org>
-'a' all linux/atm*.h, linux/sonet.h ATM on linux
- <http://lrcwww.epfl.ch/>
+'a' all linux/atm*.h, linux/sonet.h, linux/atmbr2684.h ATM on linux
+ linux/atmdev.h, net/atm/ioctl.c <http://lrcwww.epfl.ch/>
'b' 00-FF conflict! bit3 vme host bridge
<mailto:natalia@nikhefk.nikhef.nl>
'b' 00-0F linux/dma-buf.h conflict!
@@ -264,6 +266,7 @@ Code Seq# Include File
'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict!
'f' 13-27 linux/fscrypt.h
'f' 81-8F linux/fsverity.h
+'f' 7b-7c arch/{alpha,mips,sh,xtensa}/include/uapi/asm/sockios.h
'g' 00-0F linux/usb/gadgetfs.h
'g' 20-2F linux/usb/g_printer.h
'g' 01-0F mm/gup_test.h conflict!
@@ -308,8 +311,11 @@ Code Seq# Include File
'q' 80-FF linux/telephony.h Internet PhoneJACK, Internet LineJACK
linux/ixjuser.h <http://web.archive.org/web/%2A/http://www.quicknet.net>
'r' 00-1F linux/msdos_fs.h and fs/fat/dir.c
-'s' all linux/cdk.h
+'s' all linux/cdk.h conflict!
+'s' 07-09 arch/{alpha,mips,sh,xtensa}/include/uapi/asm/sockios.h conflict!
+'s' 64-65 arch/sh/include/uapi/asm/sockios.h conflict!
't' 00-7F linux/ppp-ioctl.h
+'t' 46-4D drivers/net/ppp/ppp_generic.c
't' 80-8F linux/isdn_ppp.h
't' 90-91 linux/toshiba.h toshiba and toshiba_acpi SMM
'u' 00-1F linux/smb_fs.h gone
@@ -334,7 +340,8 @@ Code Seq# Include File
'|' 80-9F samples/ Any sample and example drivers
0x80 00-1F linux/fb.h
0x81 00-1F linux/vduse.h
-0x89 00-06 arch/x86/include/asm/sockios.h
+0x89 00-07 asm-generic/sockios.h
+0x89 06-07 linux/sockios.h
0x89 0B-DF linux/sockios.h
0x89 E0-EF linux/sockios.h SIOCPROTOPRIVATE range
0x89 F0-FF linux/sockios.h SIOCDEVPRIVATE range
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 05/12] docs: ioctl-number: update video/fbdev entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (3 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 04/12] docs: ioctl-number: update networking entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 06/12] docs: ioctl-number: update SCSI entries Randy Dunlap
` (6 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where video or fbdev ioctls are defined and
update the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 14 +++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -148,9 +148,13 @@ Code Seq# Include File
'F' 20 linux/ivtvfb.h conflict!
'F' 20 linux/matroxfb.h conflict!
'F' 20 drivers/video/aty/atyfb_base.c conflict!
+'F' 20 arch/powerpc/include/uapi/asm/ps3fb.h conflict!
+'F' 00-21 arch/m68k/include/asm/fbio.h conflict!
+'F' 00-21 arch/sparc/include/asm/fbio.h conflict!
'F' 00-0F video/da8xx-fb.h conflict!
'F' 80-8F linux/arcfb.h conflict!
'F' DD video/sstfb.h conflict!
+'G' 00-02 drivers/video/fbdev/pxa3xx-gcu.h conflict!
'G' 00-3F drivers/misc/sgi-gru/grulib.h conflict!
'G' 00-0F xen/gntalloc.h, xen/gntdev.h conflict!
'H' 00-7F linux/hiddev.h conflict!
@@ -188,10 +192,13 @@ Code Seq# Include File
'L' 10-1F drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
'L' E0-FF linux/ppdd.h encrypted disk device driver
<http://linux01.gwdg.de/~alatham/ppdd.html>
+'L' 35-38 arch/m68k/include/asm/fbio.h
+'L' 35-38 arch/sparc/include/asm/fbio.h
'M' all linux/soundcard.h conflict!
'M' 01-16 mtd/mtd-abi.h conflict!
and drivers/mtd/mtdchar.c
'M' 01-03 drivers/scsi/megaraid/megaraid_sas.h
+'M' 00-03 drivers/video/fbdev/mb862xx/mb862xxfb.h
'M' 00-0F drivers/video/fsl-diu-fb.h conflict!
'N' 00-1F drivers/usb/scanner.h
'N' 40-7F uapi/linux/nvme_ioctl.h
@@ -199,6 +206,7 @@ Code Seq# Include File
'N' 84-8F uapi/linux/ntsync.h NT synchronization primitives
<mailto:wine-devel@winehq.org>
'O' 00-06 mtd/ubi-user.h UBI
+'O' 1F-3F linux/omapfb.h
'P' all linux/soundcard.h conflict!
'P' 60-6F sound/sscape_ioctl.h conflict!
'P' 00-0F drivers/usb/class/usblp.c conflict!
@@ -295,6 +303,7 @@ Code Seq# Include File
'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c
'n' 80-8F uapi/linux/nilfs2_api.h NILFS2
'n' E0-FF linux/matroxfb.h matroxfb
+'n' F8-FA video/sisfb.h sisfb
'o' 00-1F fs/ocfs2/ocfs2_fs.h OCFS2
'o' 00-03 mtd/ubi-user.h conflict! (OCFS2 and UBI overlaps)
'o' 40-41 mtd/ubi-user.h UBI
@@ -311,6 +320,7 @@ Code Seq# Include File
'q' 80-FF linux/telephony.h Internet PhoneJACK, Internet LineJACK
linux/ixjuser.h <http://web.archive.org/web/%2A/http://www.quicknet.net>
'r' 00-1F linux/msdos_fs.h and fs/fat/dir.c
+'r' 01-06 arch/powerpc/include/uapi/asm/ps3fb.h
's' all linux/cdk.h conflict!
's' 07-09 arch/{alpha,mips,sh,xtensa}/include/uapi/asm/sockios.h conflict!
's' 64-65 arch/sh/include/uapi/asm/sockios.h conflict!
@@ -426,8 +436,8 @@ Code Seq# Include File
0xEC 00-01 linux/platform_data/cros_ec_chardev.h ChromeOS EC driver
0xEE 00-09 uapi/linux/pfrut.h Platform Firmware Runtime Update and Telemetry
0xEF 00-0F uapi/linux/ntfs.h NTFS
-0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development)
- <mailto:thomas@winischhofer.net>
+0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb
+0xF3 00-3F video/sisfb.h <mailto:thomas@winischhofer.net>
0xF6 all LTTng Linux Trace Toolkit Next Generation
<mailto:mathieu.desnoyers@efficios.com>
0xF8 all arch/x86/include/uapi/asm/amd_hsmp.h AMD HSMP EPYC system management interface driver
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 06/12] docs: ioctl-number: update SCSI entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (4 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 05/12] docs: ioctl-number: update video/fbdev entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 07/12] docs: ioctl-number: update MTD entries Randy Dunlap
` (5 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where SCSI ioctls are defined and update the
ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: MPT-FusionLinux.pdl@broadcom.com
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: "Martin K. Petersen" <mkp@kernel.org>
Cc: linux-scsi@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -189,7 +189,7 @@ Code Seq# Include File
'I' 40-4F linux/mISDNif.h conflict!
'K' all linux/kd.h
'L' 00-1F linux/loop.h conflict!
-'L' 10-1F drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
+'L' 10-21 drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
'L' E0-FF linux/ppdd.h encrypted disk device driver
<http://linux01.gwdg.de/~alatham/ppdd.html>
'L' 35-38 arch/m68k/include/asm/fbio.h
@@ -260,6 +260,7 @@ Code Seq# Include File
'c' 00-7F linux/comstats.h conflict!
'c' 00-7F linux/coda.h conflict!
'c' 00-1F linux/chio.h conflict!
+'c' 08 drivers/scsi/ch.c conflict!
'c' 80-9F arch/s390/include/asm/chsc.h conflict!
'c' A0-AF arch/x86/include/asm/msr.h conflict!
'd' 00-FF linux/char/drm/drm.h conflict!
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 07/12] docs: ioctl-number: update MTD entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (5 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 06/12] docs: ioctl-number: update SCSI entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 08/12] docs: ioctl-number: update USB entries Randy Dunlap
` (4 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where MTD ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: linux-mtd@lists.infradead.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -195,8 +195,8 @@ Code Seq# Include File
'L' 35-38 arch/m68k/include/asm/fbio.h
'L' 35-38 arch/sparc/include/asm/fbio.h
'M' all linux/soundcard.h conflict!
-'M' 01-16 mtd/mtd-abi.h conflict!
- and drivers/mtd/mtdchar.c
+'M' 01-1A mtd/mtd-abi.h conflict!
+'M' 03-04 drivers/mtd/mtdchar.c
'M' 01-03 drivers/scsi/megaraid/megaraid_sas.h
'M' 00-03 drivers/video/fbdev/mb862xx/mb862xxfb.h
'M' 00-0F drivers/video/fsl-diu-fb.h conflict!
@@ -306,7 +306,7 @@ Code Seq# Include File
'n' E0-FF linux/matroxfb.h matroxfb
'n' F8-FA video/sisfb.h sisfb
'o' 00-1F fs/ocfs2/ocfs2_fs.h OCFS2
-'o' 00-03 mtd/ubi-user.h conflict! (OCFS2 and UBI overlaps)
+'o' 00-06 mtd/ubi-user.h conflict! (OCFS2 and UBI overlap)
'o' 40-41 mtd/ubi-user.h UBI
'o' 01-A1 `linux/dvb/*.h` DVB
'p' 00-0F linux/phantom.h conflict! (OpenHaptics needs this)
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 08/12] docs: ioctl-number: update USB entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (6 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 07/12] docs: ioctl-number: update MTD entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 09/12] docs: ioctl-number: update virtualization entries Randy Dunlap
` (3 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where USB ioctls are defined.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Neill Kapron <nkapron@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 6 ++++++
1 file changed, 6 insertions(+)
--- linux-next-20261111.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261111/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -234,6 +234,9 @@ Code Seq# Include File
'U' 00-EF linux/usbdevice_fs.h
'U' C0-CF drivers/bluetooth/hci_uart.h
'U' 00 net/nfc/nci_core.h conflict!
+'U' 00-0F linux/usb/raw_gadget.h conflict!
+'U' 01 linux/usb/g_uvc.h conflict!
+'U' 64 drivers/usb/misc/usbtest.c conflict!
'V' all linux/vt.h conflict!
'V' all linux/videodev2.h conflict!
'V' C0 linux/ivtvfb.h conflict!
@@ -280,6 +283,9 @@ Code Seq# Include File
'g' 20-2F linux/usb/g_printer.h
'g' 01-0F mm/gup_test.h conflict!
<mailto:linux-mm@kvack.org>
+'g' 01-03 linux/usb/functionfs.h conflict!
+ 80-86
+'g' 41-42 linux/usb/g_hid.h
'h' 00-7F conflict! Charon filesystem
<mailto:zapman@interlan.net>
'h' 00-1F linux/hpet.h conflict!
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 09/12] docs: ioctl-number: update virtualization entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (7 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 08/12] docs: ioctl-number: update USB entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-16 14:26 ` Sean Christopherson
2026-11-14 20:26 ` [PATCH 10/12] docs: ioctl-number: update FS entries Randy Dunlap
` (2 subsequent siblings)
11 siblings, 1 reply; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where virtualization ioctls are defined.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org
Cc: Hans de Goede <hansg@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowangio@gmail.com>
Cc: Eugenio Pérez <eperezma@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux.dev
Documentation/userspace-api/ioctl/ioctl-number.rst | 6 ++++++
1 file changed, 6 insertions(+)
--- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -200,6 +200,7 @@ Code Seq# Include File
'M' 01-03 drivers/scsi/megaraid/megaraid_sas.h
'M' 00-03 drivers/video/fbdev/mb862xx/mb862xxfb.h
'M' 00-0F drivers/video/fsl-diu-fb.h conflict!
+'M' 01-03 xen/interface/xen-mca.h conflict!
'N' 00-1F drivers/usb/scanner.h
'N' 40-7F uapi/linux/nvme_ioctl.h
'N' 80-83 uapi/linux/ntsync.h and uapi/linux/nvme_ioctl.h conflict!
@@ -239,6 +240,7 @@ Code Seq# Include File
'U' 64 drivers/usb/misc/usbtest.c conflict!
'V' all linux/vt.h conflict!
'V' all linux/videodev2.h conflict!
+'V' 00-1F linux/vboxguest.h conflict!
'V' C0 linux/ivtvfb.h conflict!
'V' C0 linux/ivtv.h conflict!
'V' C0 media/si4713.h conflict!
@@ -357,6 +359,7 @@ Code Seq# Include File
'|' 80-9F samples/ Any sample and example drivers
0x80 00-1F linux/fb.h
0x81 00-1F linux/vduse.h
+ drivers/vdpa/vdpa_user/vduse_dev.c
0x89 00-07 asm-generic/sockios.h
0x89 06-07 linux/sockios.h
0x89 0B-DF linux/sockios.h
@@ -398,8 +401,11 @@ Code Seq# Include File
<mailto:kvm@vger.kernel.org>
0xAE 40-FF linux/kvm.h Kernel-based Virtual Machine
<mailto:kvm@vger.kernel.org>
+0xAE C6 arch/x86/kvm/x86.c X86 KVM
0xAE 20-3F linux/nitro_enclaves.h Nitro Enclaves
0xAF 00-1F linux/fsl_hypervisor.h Freescale hypervisor
+0xAF 00-8F linux/vhost.h conflict!
+0xAF 31-32 drivers/vhost/test.h conflict!
0xB0 all RATIO devices in development:
<mailto:vgo@ratio.de>
0xB1 00-1F PPPoX
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH 09/12] docs: ioctl-number: update virtualization entries
2026-11-14 20:26 ` [PATCH 09/12] docs: ioctl-number: update virtualization entries Randy Dunlap
@ 2026-11-16 14:26 ` Sean Christopherson
0 siblings, 0 replies; 17+ messages in thread
From: Sean Christopherson @ 2026-11-16 14:26 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Paolo Bonzini, kvm,
virtualization, Jan Kara, linux-fsdevel, Theodore Ts'o,
linux-ext4, Mike Marshall, devel, Paulo Alcantara, Namjae Jeon,
linux-cifs, Jaegeuk Kim, Chao Yu, linux-f2fs-devel,
Florian Fainelli, Broadcom internal kernel review list,
linux-rpi-kernel, linux-arm-kernel, Tzung-Bi Shih, Benson Leung,
David Airlie, Simona Vetter, Alex Deucher, Christian König,
amd-gfx, Jani Nikula, Joonas Lahtinen, Rodrigo Vivi,
Tvrtko Ursulin, intel-gfx, Matthew Brost, Thomas Hellström,
intel-xe
On Sat, Nov 14, 2026, Randy Dunlap wrote:
> Update the list of files where virtualization ioctls are defined.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> [Since having multiple maintainers trying to merge these would
> cause some conflicts, it would be more manageable for Jon to
> take all of these through the docs-next tree.]
>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: linux-doc@vger.kernel.org
> Cc: Juergen Gross <jgross@suse.com>
> Cc: Stefano Stabellini <sstabellini@kernel.org>
> Cc: xen-devel@lists.xenproject.org
> Cc: Hans de Goede <hansg@kernel.org>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Jason Wang <jasowangio@gmail.com>
> Cc: Eugenio Pérez <eperezma@redhat.com>
> Cc: Sean Christopherson <seanjc@google.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: kvm@vger.kernel.org
> Cc: virtualization@lists.linux.dev
>
> Documentation/userspace-api/ioctl/ioctl-number.rst | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> --- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@ -200,6 +200,7 @@ Code Seq# Include File
> 'M' 01-03 drivers/scsi/megaraid/megaraid_sas.h
> 'M' 00-03 drivers/video/fbdev/mb862xx/mb862xxfb.h
> 'M' 00-0F drivers/video/fsl-diu-fb.h conflict!
> +'M' 01-03 xen/interface/xen-mca.h conflict!
> 'N' 00-1F drivers/usb/scanner.h
> 'N' 40-7F uapi/linux/nvme_ioctl.h
> 'N' 80-83 uapi/linux/ntsync.h and uapi/linux/nvme_ioctl.h conflict!
> @@ -239,6 +240,7 @@ Code Seq# Include File
> 'U' 64 drivers/usb/misc/usbtest.c conflict!
> 'V' all linux/vt.h conflict!
> 'V' all linux/videodev2.h conflict!
> +'V' 00-1F linux/vboxguest.h conflict!
> 'V' C0 linux/ivtvfb.h conflict!
> 'V' C0 linux/ivtv.h conflict!
> 'V' C0 media/si4713.h conflict!
> @@ -357,6 +359,7 @@ Code Seq# Include File
> '|' 80-9F samples/ Any sample and example drivers
> 0x80 00-1F linux/fb.h
> 0x81 00-1F linux/vduse.h
> + drivers/vdpa/vdpa_user/vduse_dev.c
> 0x89 00-07 asm-generic/sockios.h
> 0x89 06-07 linux/sockios.h
> 0x89 0B-DF linux/sockios.h
> @@ -398,8 +401,11 @@ Code Seq# Include File
> <mailto:kvm@vger.kernel.org>
> 0xAE 40-FF linux/kvm.h Kernel-based Virtual Machine
> <mailto:kvm@vger.kernel.org>
> +0xAE C6 arch/x86/kvm/x86.c X86 KVM
I'd rather omit this entry. 0xAE C6 is covered by the entry above, and the horror
in arch/x86/kvm/x86.c is purely a 32-bit compatibility alias for an ioctl that is
defined in kvm.h (the structure payload defines an pointer instead of a __u64).
If it's a sticking point, e.g. this will trip automated tooling over and over, then
I vote to move the relevant definitions to uapi headers, e.g.
diff --git a/arch/x86/include/uapi/asm/kvm.h b/arch/x86/include/uapi/asm/kvm.h
index 00ce265391e1..e02ef7a39f7c 100644
--- a/arch/x86/include/uapi/asm/kvm.h
+++ b/arch/x86/include/uapi/asm/kvm.h
@@ -230,6 +230,18 @@ struct kvm_msr_filter {
struct kvm_msr_filter_range ranges[KVM_MSR_FILTER_MAX_RANGES];
};
+struct kvm_msr_filter_range_compat {
+ __u32 flags;
+ __u32 nmsrs;
+ __u32 base;
+ __u32 bitmap;
+};
+
+struct kvm_msr_filter_compat {
+ __u32 flags;
+ struct kvm_msr_filter_range_compat ranges[KVM_MSR_FILTER_MAX_RANGES];
+};
+
struct kvm_cpuid_entry {
__u32 function;
__u32 eax;
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 0771efaf94c8..ef9f92cba589 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4260,21 +4260,6 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,
}
#ifdef CONFIG_KVM_COMPAT
-/* for KVM_X86_SET_MSR_FILTER */
-struct kvm_msr_filter_range_compat {
- __u32 flags;
- __u32 nmsrs;
- __u32 base;
- __u32 bitmap;
-};
-
-struct kvm_msr_filter_compat {
- __u32 flags;
- struct kvm_msr_filter_range_compat ranges[KVM_MSR_FILTER_MAX_RANGES];
-};
-
-#define KVM_X86_SET_MSR_FILTER_COMPAT _IOW(KVMIO, 0xc6, struct kvm_msr_filter_compat)
-
long kvm_arch_vm_compat_ioctl(struct file *filp, unsigned int ioctl,
unsigned long arg)
{
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 8dff2fc1972e..54dbdabd0e9b 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1477,6 +1477,7 @@ struct kvm_enc_region {
/* Available with KVM_CAP_X86_MSR_FILTER */
#define KVM_X86_SET_MSR_FILTER _IOW(KVMIO, 0xc6, struct kvm_msr_filter)
+#define KVM_X86_SET_MSR_FILTER_COMPAT _IOW(KVMIO, 0xc6, struct kvm_msr_filter_compat)
/* Available with KVM_CAP_DIRTY_LOG_RING */
#define KVM_RESET_DIRTY_RINGS _IO(KVMIO, 0xc7)
> 0xAE 20-3F linux/nitro_enclaves.h Nitro Enclaves
> 0xAF 00-1F linux/fsl_hypervisor.h Freescale hypervisor
> +0xAF 00-8F linux/vhost.h conflict!
> +0xAF 31-32 drivers/vhost/test.h conflict!
> 0xB0 all RATIO devices in development:
> <mailto:vgo@ratio.de>
> 0xB1 00-1F PPPoX
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 10/12] docs: ioctl-number: update FS entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (8 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 09/12] docs: ioctl-number: update virtualization entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 11/12] docs: ioctl-number: update platform entries Randy Dunlap
2026-11-14 20:26 ` [PATCH 12/12] docs: ioctl-number: update DRM entries Randy Dunlap
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where filesystem ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel@vger.kernel.org
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org
Cc: Mike Marshall <hubcap@omnibond.com>
Cc: devel@lists.orangefs.org
Cc: Paulo Alcantara <pc@manguebit.org>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Chao Yu <chao@kernel.org>
Cc: linux-f2fs-devel@lists.sourceforge.net
Documentation/userspace-api/ioctl/ioctl-number.rst | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -187,6 +187,7 @@ Code Seq# Include File
'I' all linux/isdn.h conflict!
'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict!
'I' 40-4F linux/mISDNif.h conflict!
+'I' 00 linux/inotify.h
'K' all linux/kd.h
'L' 00-1F linux/loop.h conflict!
'L' 10-21 drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
@@ -275,7 +276,7 @@ Code Seq# Include File
'f' 00-1F linux/ext2_fs.h conflict!
'f' 00-1F linux/ext3_fs.h conflict!
'f' 00-0F fs/jfs/jfs_dinode.h conflict!
-'f' 00-0F fs/ext4/ext4.h conflict!
+'f' 00-2F fs/ext4/ext4.h conflict!
'f' 00-0F linux/fs.h conflict!
'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict!
'f' 13-27 linux/fscrypt.h
@@ -300,6 +301,7 @@ Code Seq# Include File
'k' 00-0F linux/spi/spidev.h conflict!
'k' 00-05 video/kyro.h conflict!
'k' 10-17 linux/hsi/hsi_char.h HSI character device
+'k' 01-0F fs/orangefs/protocol.h <mailto:devel@lists.orangefs.org>
'l' 00-3F linux/tcfs_fs.h transparent cryptographic file system
<http://web.archive.org/web/%2A/http://mikonos.dia.unisa.it/tcfs>
'l' 40-7F linux/udf_fs_i.h in development:
@@ -373,7 +375,7 @@ Code Seq# Include File
0x92 00-0F drivers/usb/mon/mon_bin.c
0x93 60-7F linux/auto_fs.h
0x94 all fs/btrfs/ioctl.h Btrfs filesystem
- and linux/fs.h some lifted to vfs/generic
+0x94 all linux/fs.h some lifted from Btrfs to vfs/generic
0x97 00-7F fs/ceph/ioctl.h Ceph file system
0x99 00-0F 537-Addinboard driver
<mailto:buk@buks.ipn.de>
@@ -442,7 +444,7 @@ Code Seq# Include File
0xCC 00-0F drivers/misc/ibmvmc.h pseries VMC driver
0xCD 01 linux/reiserfs_fs.h Dead since 6.13
0xCE 01-02 uapi/linux/cxl_mem.h Compute Express Link Memory Devices
-0xCF 02 fs/smb/client/cifs_ioctl.h
+0xCF 01-0F fs/smb/client/cifs_ioctl.h <mailto:linux-cifs@vger.kernel.org>
0xDD 00-3F ZFCP device driver see drivers/s390/scsi/
<mailto:aherrman@de.ibm.com>
0xE5 00-3F linux/fuse.h
@@ -451,6 +453,7 @@ Code Seq# Include File
0xEF 00-0F uapi/linux/ntfs.h NTFS
0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb
0xF3 00-3F video/sisfb.h <mailto:thomas@winischhofer.net>
+0xF5 01-1F uapi/linux/f2fs.h <mailto:linux-f2fs-devel@lists.sourceforge.net>
0xF6 all LTTng Linux Trace Toolkit Next Generation
<mailto:mathieu.desnoyers@efficios.com>
0xF8 all arch/x86/include/uapi/asm/amd_hsmp.h AMD HSMP EPYC system management interface driver
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 11/12] docs: ioctl-number: update platform entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (9 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 10/12] docs: ioctl-number: update FS entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
2026-11-14 20:26 ` [PATCH 12/12] docs: ioctl-number: update DRM entries Randy Dunlap
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of platform/ files where ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Cc: Benson Leung <bleung@chromium.org>
Documentation/userspace-api/ioctl/ioctl-number.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -436,6 +436,7 @@ Code Seq# Include File
0xBA 00-0F uapi/linux/liveupdate.h Pasha Tatashin
<mailto:pasha.tatashin@soleen.com>
0xC0 00-0F linux/usb/iowarrior.h
+0xC4 00-1F platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
0xCA 00-0F uapi/misc/cxl.h Dead since 6.15
0xCA 10-2F uapi/misc/ocxl.h
0xCA 80-BF uapi/scsi/cxlflash_ioctl.h Dead since 6.15
@@ -448,7 +449,7 @@ Code Seq# Include File
0xDD 00-3F ZFCP device driver see drivers/s390/scsi/
<mailto:aherrman@de.ibm.com>
0xE5 00-3F linux/fuse.h
-0xEC 00-01 linux/platform_data/cros_ec_chardev.h ChromeOS EC driver
+0xEC 00-02 linux/platform_data/cros_ec_chardev.h ChromeOS EC driver
0xEE 00-09 uapi/linux/pfrut.h Platform Firmware Runtime Update and Telemetry
0xEF 00-0F uapi/linux/ntfs.h NTFS
0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb
^ permalink raw reply [flat|nested] 17+ messages in thread* [PATCH 12/12] docs: ioctl-number: update DRM entries
2026-11-14 20:26 [PATCH 00/12] docs: ioctl-number: update entries Randy Dunlap
` (10 preceding siblings ...)
2026-11-14 20:26 ` [PATCH 11/12] docs: ioctl-number: update platform entries Randy Dunlap
@ 2026-11-14 20:26 ` Randy Dunlap
11 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-14 20:26 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc,
David Hildenbrand, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm, Jaroslav Kysela, Takashi Iwai,
linux-sound, Jens Axboe, linux-block, Marcel Holtmann,
Luiz Augusto von Dentz, linux-bluetooth, Willem de Bruijn,
Jason Wang, David Heidelberg, oe-linux-nfc, Chas Williams,
linux-atm-general, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, Helge Deller, linux-fbdev, dri-devel,
MPT-FusionLinux.pdl, James E.J. Bottomley, Martin K. Petersen,
linux-scsi, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Zhihao Cheng, linux-mtd, Neill Kapron,
Andrey Konovalov, Greg Kroah-Hartman, linux-usb, Juergen Gross,
Stefano Stabellini, xen-devel, Hans de Goede, Arnd Bergmann,
Michael S. Tsirkin, Eugenio Pérez, Sean Christopherson,
Paolo Bonzini, kvm, virtualization, Jan Kara, linux-fsdevel,
Theodore Ts'o, linux-ext4, Mike Marshall, devel,
Paulo Alcantara, Namjae Jeon, linux-cifs, Jaegeuk Kim, Chao Yu,
linux-f2fs-devel, Florian Fainelli,
Broadcom internal kernel review list, linux-rpi-kernel,
linux-arm-kernel, Tzung-Bi Shih, Benson Leung, David Airlie,
Simona Vetter, Alex Deucher, Christian König, amd-gfx,
Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
intel-gfx, Matthew Brost, Thomas Hellström, intel-xe
Update the list of files where DRM ioctls are defined.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: David Airlie <airlied@gmail.com>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tursulin@ursulin.net>
Cc: intel-gfx@lists.freedesktop.org
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: intel-xe@lists.freedesktop.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -98,6 +98,7 @@ Code Seq# Include File
0x1b all InfiniBand Subsystem
<http://infiniband.sourceforge.net/>
0x20 all drivers/cdrom/cm206.h
+0x20 00-01 drivers/gpu/drm/amd/amdgpu/amdgpu_umr.h
0x22 all scsi/sg.h
0x3E 00-0F linux/counter.h <mailto:linux-iio@vger.kernel.org>
'!' 00-1F uapi/linux/seccomp.h
@@ -269,7 +270,7 @@ Code Seq# Include File
'c' 08 drivers/scsi/ch.c conflict!
'c' 80-9F arch/s390/include/asm/chsc.h conflict!
'c' A0-AF arch/x86/include/asm/msr.h conflict!
-'d' 00-FF linux/char/drm/drm.h conflict!
+'d' 00-FF drm/drm.h conflict!
'd' 02-40 pcmcia/ds.h conflict!
'd' F0-FF linux/digi1.h
'e' all linux/digi1.h conflict!
@@ -293,6 +294,8 @@ Code Seq# Include File
<mailto:zapman@interlan.net>
'h' 00-1F linux/hpet.h conflict!
'h' 80-8F fs/hfsplus/ioctl.c
+'i' 00-02 drm/i915_drm.h
+'i' 00-04 drm/xe_drm.h
'i' 00-3F linux/i2o-dev.h conflict!
'i' 0B-1F linux/ipmi.h conflict!
'i' 80-8F linux/i8k.h
^ permalink raw reply [flat|nested] 17+ messages in thread