[PATCH] Update ioctl entries from linux v6.10
Dmitry V. Levin
ldv at strace.io
Wed Jul 3 06:28:49 UTC 2024
On Wed, Jun 26, 2024 at 05:29:01PM +0000, Gleb Fotengauer-Malinovskiy wrote:
[...]
> @@ -2287,6 +2289,7 @@
> { "linux/tps6594_pfsm.h", "PMIC_SET_MCU_ONLY_STATE", _IOC_WRITE, 0x5004, 0x03 },
> { "linux/tps6594_pfsm.h", "PMIC_SET_RETENTION_STATE", _IOC_WRITE, 0x5005, 0x03 },
> { "linux/tps6594_pfsm.h", "PMIC_UPDATE_PGM", _IOC_NONE, 0x5002, 0x00 },
> +{ "linux/trace_mmap.h", "TRACE_MMAP_IOCTL_GET_READER", _IOC_NONE, 0x5401, 0x00 },
> { "linux/ublk_cmd.h", "UBLK_U_CMD_ADD_DEV", _IOC_READ|_IOC_WRITE, 0x7504, 0x20 },
> { "linux/ublk_cmd.h", "UBLK_U_CMD_DEL_DEV", _IOC_READ|_IOC_WRITE, 0x7505, 0x20 },
> { "linux/ublk_cmd.h", "UBLK_U_CMD_DEL_DEV_ASYNC", _IOC_READ, 0x7514, 0x20 },
This new ioctl appeared to be problematic because of collision with TCGETS,
I started a discussion upstream, iand the value is being changed now
from _IO('T', 0x1) to _IO('R', 0x20):
https://lore.kernel.org/lkml/20240702153354.367861db@rorschach.local.home/T/#u
It is expected to land before -rc7.
> @@ -2626,6 +2629,7 @@
> { "linux/videodev2.h", "VIDIOC_QUERYSTD", _IOC_READ, 0x563f, 0x08 },
> { "linux/videodev2.h", "VIDIOC_QUERY_DV_TIMINGS", _IOC_READ, 0x5663, 0x84 },
> { "linux/videodev2.h", "VIDIOC_QUERY_EXT_CTRL", _IOC_READ|_IOC_WRITE, 0x5667, 0xe8 },
> +{ "linux/videodev2.h", "VIDIOC_REMOVE_BUFS", _IOC_READ|_IOC_WRITE, 0x5668, 0x40 },
> { "linux/videodev2.h", "VIDIOC_REQBUFS", _IOC_READ|_IOC_WRITE, 0x5608, 0x14 },
> { "linux/videodev2.h", "VIDIOC_STREAMOFF", _IOC_WRITE, 0x5613, 0x04 },
> { "linux/videodev2.h", "VIDIOC_STREAMON", _IOC_WRITE, 0x5612, 0x04 },
This new ioctl required tests/ioctl_v4l2.c to be updated,
I pushed an update yesterday.
--
ldv
More information about the Strace-devel
mailing list