diff mbox series

xen: update missing ioctl magic numers documentation

Message ID 20220130192305.14523-1-rdunlap@infradead.org (mailing list archive)
State Superseded
Headers show
Series xen: update missing ioctl magic numers documentation | expand

Commit Message

Randy Dunlap Jan. 30, 2022, 7:23 p.m. UTC
Add missing ioctl "magic numbers" for various Xen interfaces
(xenbus_dev.h, gntalloc.h, gntdev.h, and privcmd.h).

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org
---
 Documentation/userspace-api/ioctl/ioctl-number.rst |    3 +++
 1 file changed, 3 insertions(+)

Comments

Jürgen Groß Jan. 31, 2022, 6:55 a.m. UTC | #1
On 30.01.22 20:23, Randy Dunlap wrote:
> Add missing ioctl "magic numbers" for various Xen interfaces
> (xenbus_dev.h, gntalloc.h, gntdev.h, and privcmd.h).
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Juergen Gross <jgross@suse.com>
> Cc: Stefano Stabellini <sstabellini@kernel.org>
> Cc: xen-devel@lists.xenproject.org
> ---
>   Documentation/userspace-api/ioctl/ioctl-number.rst |    3 +++
>   1 file changed, 3 insertions(+)
> 
> --- linux-next-20220128.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ linux-next-20220128/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@ -115,6 +115,7 @@ Code  Seq#    Include File
>   '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!

Hmm, shouldn't xenbus_dev.h be moved to include/uapi/xen ?

>   'C'   all    linux/soundcard.h                                       conflict!
>   'C'   01-2F  linux/capi.h                                            conflict!
>   'C'   F0-FF  drivers/net/wan/cosa.h                                  conflict!
> @@ -134,6 +135,7 @@ Code  Seq#    Include File
>   'F'   80-8F  linux/arcfb.h                                           conflict!
>   'F'   DD     video/sstfb.h                                           conflict!
>   'G'   00-3F  drivers/misc/sgi-gru/grulib.h                           conflict!
> +'E'   00-0F  xen/gntalloc.h, xen/gntdev.h                            conflict!

Should be 'G' IMO.

>   'H'   00-7F  linux/hiddev.h                                          conflict!
>   'H'   00-0F  linux/hidraw.h                                          conflict!
>   'H'   01     linux/mei.h                                             conflict!
> @@ -176,6 +178,7 @@ Code  Seq#    Include File
>   'P'   60-6F  sound/sscape_ioctl.h                                    conflict!
>   'P'   00-0F  drivers/usb/class/usblp.c                               conflict!
>   'P'   01-09  drivers/misc/pci_endpoint_test.c                        conflict!
> +'P'   00-0F  xen/privcmd.h                                           conflict!
>   'Q'   all    linux/soundcard.h
>   'R'   00-1F  linux/random.h                                          conflict!
>   'R'   01     linux/rfkill.h                                          conflict!
> 


Juergen
Randy Dunlap Jan. 31, 2022, 4:15 p.m. UTC | #2
Hi--

On 1/30/22 22:55, Juergen Gross wrote:
> On 30.01.22 20:23, Randy Dunlap wrote:
>> Add missing ioctl "magic numbers" for various Xen interfaces
>> (xenbus_dev.h, gntalloc.h, gntdev.h, and privcmd.h).
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
>> Cc: Juergen Gross <jgross@suse.com>
>> Cc: Stefano Stabellini <sstabellini@kernel.org>
>> Cc: xen-devel@lists.xenproject.org
>> ---
>>   Documentation/userspace-api/ioctl/ioctl-number.rst |    3 +++
>>   1 file changed, 3 insertions(+)
>>
>> --- linux-next-20220128.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
>> +++ linux-next-20220128/Documentation/userspace-api/ioctl/ioctl-number.rst
>> @@ -115,6 +115,7 @@ Code  Seq#    Include File
>>   '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!
> 
> Hmm, shouldn't xenbus_dev.h be moved to include/uapi/xen ?

Probably. That should be done in a different patch and probably/preferably
done using git (which I am not using). So if someone else could take care
of that, that would be good.

> 
>>   'C'   all    linux/soundcard.h                                       conflict!
>>   'C'   01-2F  linux/capi.h                                            conflict!
>>   'C'   F0-FF  drivers/net/wan/cosa.h                                  conflict!
>> @@ -134,6 +135,7 @@ Code  Seq#    Include File
>>   'F'   80-8F  linux/arcfb.h                                           conflict!
>>   'F'   DD     video/sstfb.h                                           conflict!
>>   'G'   00-3F  drivers/misc/sgi-gru/grulib.h                           conflict!
>> +'E'   00-0F  xen/gntalloc.h, xen/gntdev.h                            conflict!
> 
> Should be 'G' IMO.

Indeed it should. I'll send a v2.

> 
>>   'H'   00-7F  linux/hiddev.h                                          conflict!
>>   'H'   00-0F  linux/hidraw.h                                          conflict!
>>   'H'   01     linux/mei.h                                             conflict!
>> @@ -176,6 +178,7 @@ Code  Seq#    Include File
>>   'P'   60-6F  sound/sscape_ioctl.h                                    conflict!
>>   'P'   00-0F  drivers/usb/class/usblp.c                               conflict!
>>   'P'   01-09  drivers/misc/pci_endpoint_test.c                        conflict!
>> +'P'   00-0F  xen/privcmd.h                                           conflict!
>>   'Q'   all    linux/soundcard.h
>>   'R'   00-1F  linux/random.h                                          conflict!
>>   'R'   01     linux/rfkill.h                                          conflict!
>>
> 
> 
> Juergen

thanks.
diff mbox series

Patch

--- linux-next-20220128.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20220128/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -115,6 +115,7 @@  Code  Seq#    Include File
 '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'   01-2F  linux/capi.h                                            conflict!
 'C'   F0-FF  drivers/net/wan/cosa.h                                  conflict!
@@ -134,6 +135,7 @@  Code  Seq#    Include File
 'F'   80-8F  linux/arcfb.h                                           conflict!
 'F'   DD     video/sstfb.h                                           conflict!
 'G'   00-3F  drivers/misc/sgi-gru/grulib.h                           conflict!
+'E'   00-0F  xen/gntalloc.h, xen/gntdev.h                            conflict!
 'H'   00-7F  linux/hiddev.h                                          conflict!
 'H'   00-0F  linux/hidraw.h                                          conflict!
 'H'   01     linux/mei.h                                             conflict!
@@ -176,6 +178,7 @@  Code  Seq#    Include File
 'P'   60-6F  sound/sscape_ioctl.h                                    conflict!
 'P'   00-0F  drivers/usb/class/usblp.c                               conflict!
 'P'   01-09  drivers/misc/pci_endpoint_test.c                        conflict!
+'P'   00-0F  xen/privcmd.h                                           conflict!
 'Q'   all    linux/soundcard.h
 'R'   00-1F  linux/random.h                                          conflict!
 'R'   01     linux/rfkill.h                                          conflict!