* [PATCH 0/3] docs: ioctl: Update ioctl-number.rst
@ 2019-11-05 15:59 Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 1/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table Aleksandar Markovic
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Aleksandar Markovic @ 2019-11-05 15:59 UTC (permalink / raw)
To: linux-kernel, linux-doc, corbet; +Cc: Aleksandar Markovic
From: Aleksandar Markovic <amarkovic@wavecomp.com>
This is my attempt to bring ioctl-number.rst more up to date.
Still work in progress. Will send v2 when I add more updates.
Aleksandar Markovic (3):
docs: ioctl: Update ioctl-number.rst ioctl ranges table
docs: ioctl: Update ioctl-number.rst ioctl ranges table preamble
docs: ioctl: Update ioctl-number.rst 'last updated' date
Documentation/ioctl/ioctl-number.rst | 59 +++++++++++++++++++-----------------
1 file changed, 31 insertions(+), 28 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table
2019-11-05 15:59 [PATCH 0/3] docs: ioctl: Update ioctl-number.rst Aleksandar Markovic
@ 2019-11-05 15:59 ` Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 2/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table preamble Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date Aleksandar Markovic
2 siblings, 0 replies; 5+ messages in thread
From: Aleksandar Markovic @ 2019-11-05 15:59 UTC (permalink / raw)
To: linux-kernel, linux-doc, corbet; +Cc: Aleksandar Markovic
From: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Attempt to update ioctl ranges table to reflect reality better.
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
---
Documentation/ioctl/ioctl-number.rst | 51 ++++++++++++++++++------------------
1 file changed, 26 insertions(+), 25 deletions(-)
diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst
index bef79cd..f8768c7 100644
--- a/Documentation/ioctl/ioctl-number.rst
+++ b/Documentation/ioctl/ioctl-number.rst
@@ -70,26 +70,25 @@ no attempt to list non-X86 architectures or ioctls from drivers/staging/.
Code Seq# Include File Comments
(hex)
==== ===== ======================================================= ================================================================
-0x00 00-1F linux/fs.h conflict!
-0x00 00-1F scsi/scsi_ioctl.h conflict!
-0x00 00-1F linux/fb.h conflict!
-0x00 00-1F linux/wavefront.h conflict!
-0x02 all linux/fd.h
-0x03 all linux/hdreg.h
+0x00 00-1F linux/fs.h Filesystem BMAP support
+0x02 all linux/fd.h Floppy drive
+0x03 all linux/hdreg.h Hard drive
0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't reuse these.
-0x06 all linux/lp.h
+0x06 all linux/lp.h Parallel printer driver
+0x07 9F-CB linux/vmw_vmci_defs.h VMware VMCI Driver
0x09 all linux/raid/md_u.h
0x10 00-0F drivers/char/s390/vmcp.h
0x10 10-1F arch/s390/include/uapi/sclp_ctl.h
0x10 20-2F arch/s390/include/uapi/asm/hypfs.h
0x12 all linux/fs.h
linux/blkpg.h
-0x1b all InfiniBand Subsystem
+ linux/blkzoned.h
+0x1b all rdma/rdma_user_ioctl.h InfiniBand Subsystem
<http://infiniband.sourceforge.net/>
-0x20 all drivers/cdrom/cm206.h
+0x21 00-02 linux/seccomp.h Seccomp BPF
0x22 all scsi/sg.h
'!' 00-1F uapi/linux/seccomp.h
-'#' 00-3F IEEE 1394 Subsystem
+'#' 00-3F linux/firewire-cdev.h IEEE 1394 Subsystem
Block for the entire subsystem
'$' 00-0F linux/perf_counter.h, linux/perf_event.h
'%' 00-0F include/uapi/linux/stm.h System Trace Module subsystem
@@ -97,13 +96,14 @@ Code Seq# Include File Comments
'&' 00-07 drivers/firewire/nosy-user.h
'1' 00-1F linux/timepps.h PPS kit from Ulrich Windl
<ftp://ftp.de.kernel.org/pub/linux/daemons/ntp/PPS/>
-'2' 01-04 linux/i2o.h
'3' 00-0F drivers/s390/char/raw3270.h conflict!
'3' 00-1F linux/suspend_ioctls.h, conflict!
kernel/power/user.c
'8' all SNP8023 advanced NIC card
<mailto:mcr@solidum.com>
-';' 64-7F linux/vfio.h
+';' 64-7F linux/vfio.h Virtual Function I/O (VFIO)
+'=' 01-09 linux/ptp_clock.h PTP 1588 clock
+'>' 03-04 linux/sync_file.h Sync file
'@' 00-0F linux/radeonfb.h conflict!
'@' 00-0F drivers/video/aty/aty128fb.c conflict!
'A' 00-1F linux/apm_bios.h conflict!
@@ -111,7 +111,7 @@ Code Seq# Include File Comments
drivers/char/agp/compat_ioctl.h
'A' 00-7F sound/asound.h conflict!
'B' 00-1F linux/cciss_ioctl.h conflict!
-'B' 00-0F include/linux/pmu.h conflict!
+'B' 00-0F linux/pmu.h conflict!
'B' C0-FF advanced bbus <mailto:maassen@uni-freiburg.de>
'C' all linux/soundcard.h conflict!
'C' 01-2F linux/capi.h conflict!
@@ -148,17 +148,15 @@ Code Seq# Include File Comments
'H' 40-4F sound/hdsp.h conflict!
'H' 90 sound/usb/usx2y/usb_stream.h
'H' A0 uapi/linux/usb/cdc-wdm.h
-'H' C0-F0 net/bluetooth/hci.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!
+'H' C0-F0 net/bluetooth/hci_sock.h Bluetooth HCI
'H' F1 linux/hid-roccat.h <mailto:erazor_de@users.sourceforge.net>
'H' F8-FA sound/firewire.h
'I' all linux/isdn.h conflict!
'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict!
'I' 40-4F linux/mISDNif.h conflict!
'J' 00-1F drivers/scsi/gdth_ioctl.h
-'K' all linux/kd.h
+'K' 01-1D linux/kfd_ioctl.h
+'K' 2F-FB linux/kd.h
'L' 00-1F linux/loop.h conflict!
'L' 10-1F drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
'L' 20-2F linux/lightnvm.h
@@ -171,7 +169,8 @@ Code Seq# Include File Comments
'M' 00-0F drivers/video/fsl-diu-fb.h conflict!
'N' 00-1F drivers/usb/scanner.h
'N' 40-7F drivers/block/nvme.c
-'O' 00-06 mtd/ubi-user.h UBI
+'O' 00-08 mtd/ubi-user.h UBI
+'O' 1F-3F linux/omapfb.h OMAP framebuffer
'P' all linux/soundcard.h conflict!
'P' 60-6F sound/sscape_ioctl.h conflict!
'P' 00-0F drivers/usb/class/usblp.c conflict!
@@ -337,10 +336,11 @@ Code Seq# Include File Comments
0xB4 00-0F linux/gpio.h <mailto:linux-gpio@vger.kernel.org>
0xB5 00-0F uapi/linux/rpmsg.h <mailto:linux-remoteproc@vger.kernel.org>
0xB6 all linux/fpga-dfl.h
-0xC0 00-0F linux/usb/iowarrior.h
-0xCA 00-0F uapi/misc/cxl.h
-0xCA 10-2F uapi/misc/ocxl.h
-0xCA 80-BF uapi/scsi/cxlflash_ioctl.h
+0xB7 01-04 linux/nsfs.h Namespaces
+0xC0 00-0F linux/usb/iowarrior.h I/O-Warrior USB devices
+0xCA 00-0F uapi/misc/cxl.h Coherent Accelerator Interface (CXL)
+0xCA 10-2F uapi/misc/ocxl.h Open Coherent Accelerator Processor Interface (OpenCAPI)
+0xCA 80-BF uapi/scsi/cxlflash_ioctl.h Coherent Accelerator (CXL) Flash
0xCB 00-1F CBM serial IEC bus in development:
<mailto:michael.klein@puffin.lb.shuttle.de>
0xCC 00-0F drivers/misc/ibmvmc.h pseries VMC driver
@@ -353,10 +353,11 @@ Code Seq# Include File Comments
0xEC 00-01 drivers/platform/chrome/cros_ec_dev.h ChromeOS EC driver
0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development)
<mailto:thomas@winischhofer.net>
-0xF4 00-1F video/mbxfb.h mbxfb
+0xF4 00-1F video/mbxfb.h Intel 2700G (Marathon) Frame Buffer Driver
<mailto:raph@8d.com>
+0xF5 00-08 staging/android/vsoc_shm.h
0xF6 all LTTng Linux Trace Toolkit Next Generation
<mailto:mathieu.desnoyers@efficios.com>
-0xFD all linux/dm-ioctl.h
+0xFD all linux/dm-ioctl.h Device mapper
0xFE all linux/isst_if.h
==== ===== ======================================================= ================================================================
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table preamble
2019-11-05 15:59 [PATCH 0/3] docs: ioctl: Update ioctl-number.rst Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 1/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table Aleksandar Markovic
@ 2019-11-05 15:59 ` Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date Aleksandar Markovic
2 siblings, 0 replies; 5+ messages in thread
From: Aleksandar Markovic @ 2019-11-05 15:59 UTC (permalink / raw)
To: linux-kernel, linux-doc, corbet; +Cc: Aleksandar Markovic
From: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Update introductory paragraph of ioctl ranges table.
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
---
Documentation/ioctl/ioctl-number.rst | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst
index f8768c7..799b90b 100644
--- a/Documentation/ioctl/ioctl-number.rst
+++ b/Documentation/ioctl/ioctl-number.rst
@@ -63,8 +63,10 @@ Following this convention is good because:
code to copy the parameters between user and kernel space.
This table lists ioctls visible from user land for Linux/x86. It contains
-most drivers up to 2.6.31, but I know I am missing some. There has been
-no attempt to list non-X86 architectures or ioctls from drivers/staging/.
+most drivers up to 2.6.31, with some updates from 5.3 kernel, but I know I
+am missing some. There has been no attempt to list non-X86 architectures
+(except some s390 ioctls). Only some ioctls from drivers/staging/ are
+covered.
==== ===== ======================================================= ================================================================
Code Seq# Include File Comments
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date
2019-11-05 15:59 [PATCH 0/3] docs: ioctl: Update ioctl-number.rst Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 1/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 2/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table preamble Aleksandar Markovic
@ 2019-11-05 15:59 ` Aleksandar Markovic
2019-11-06 6:22 ` Jani Nikula
2 siblings, 1 reply; 5+ messages in thread
From: Aleksandar Markovic @ 2019-11-05 15:59 UTC (permalink / raw)
To: linux-kernel, linux-doc, corbet; +Cc: Aleksandar Markovic
From: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Update info on the date of the last update of ioctl-number.rst.
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
---
Documentation/ioctl/ioctl-number.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst
index 799b90b..f501467 100644
--- a/Documentation/ioctl/ioctl-number.rst
+++ b/Documentation/ioctl/ioctl-number.rst
@@ -2,7 +2,7 @@
Ioctl Numbers
=============
-19 October 1999
+Last update: 5th November, 2019
Michael Elizabeth Chastain
<mec@shout.net>
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date
2019-11-05 15:59 ` [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date Aleksandar Markovic
@ 2019-11-06 6:22 ` Jani Nikula
0 siblings, 0 replies; 5+ messages in thread
From: Jani Nikula @ 2019-11-06 6:22 UTC (permalink / raw)
To: Aleksandar Markovic, linux-kernel, linux-doc, corbet; +Cc: Aleksandar Markovic
On Tue, 05 Nov 2019, Aleksandar Markovic <aleksandar.markovic@rt-rk.com> wrote:
> From: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
>
> Update info on the date of the last update of ioctl-number.rst.
>
> Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
> ---
> Documentation/ioctl/ioctl-number.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst
> index 799b90b..f501467 100644
> --- a/Documentation/ioctl/ioctl-number.rst
> +++ b/Documentation/ioctl/ioctl-number.rst
> @@ -2,7 +2,7 @@
> Ioctl Numbers
> =============
>
> -19 October 1999
> +Last update: 5th November, 2019
Pretty sure nobody has cared about the date for about 20 years...
BR,
Jani.
>
> Michael Elizabeth Chastain
> <mec@shout.net>
--
Jani Nikula, Intel Open Source Graphics Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-11-06 6:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 15:59 [PATCH 0/3] docs: ioctl: Update ioctl-number.rst Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 1/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 2/3] docs: ioctl: Update ioctl-number.rst ioctl ranges table preamble Aleksandar Markovic
2019-11-05 15:59 ` [PATCH 3/3] docs: ioctl: Update ioctl-number.rst 'last updated' date Aleksandar Markovic
2019-11-06 6:22 ` Jani Nikula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).