s390/uvdevice: Add info IOCTL
authorSteffen Eiden <seiden@linux.ibm.com>
Thu, 15 Jun 2023 10:05:28 +0000 (12:05 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Fri, 16 Jun 2023 09:08:09 +0000 (11:08 +0200)
commitea9d97163523d299022fc78258eccc466d92102a
treeb1bd8569a17886d840b7e4b6678bee6a9c877f3a
parent4255ce017723238dddbb63ba06d760d73b57896a
s390/uvdevice: Add info IOCTL

Add an IOCTL that allows userspace to find out which IOCTLs the uvdevice
supports without trial and error.

Explicitly expose the IOCTL nr for the request types.

Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20230615100533.3996107-3-seiden@linux.ibm.com
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20230615100533.3996107-3-seiden@linux.ibm.com>
arch/s390/include/uapi/asm/uvdevice.h
drivers/s390/char/Kconfig
drivers/s390/char/uvdevice.c