[PATCH] Update ioctl entries from linux v6.6
Gleb Fotengauer-Malinovskiy
glebfm at altlinux.org
Mon Oct 16 13:00:00 UTC 2023
* src/linux/32/ioctls_inc_align16.h: Update from linux v6.6-rc6 using
ioctls_gen.sh.
* src/linux/32/ioctls_inc_align32.h: Likewise.
* src/linux/32/ioctls_inc_align64.h: Likewise.
* src/linux/64/ioctls_inc.h: Likewise.
* src/linux/x32/ioctls_inc0.h: Likewise.
* NEWS: Mention this.
---
NEWS | 1 +
src/linux/32/ioctls_inc_align16.h | 22 +++++++++++++++++++++-
src/linux/32/ioctls_inc_align32.h | 22 +++++++++++++++++++++-
src/linux/32/ioctls_inc_align64.h | 22 +++++++++++++++++++++-
src/linux/64/ioctls_inc.h | 22 +++++++++++++++++++++-
src/linux/x32/ioctls_inc0.h | 22 +++++++++++++++++++++-
6 files changed, 106 insertions(+), 5 deletions(-)
diff --git a/NEWS b/NEWS
index 78a93fea9..b7fe9c48d 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Noteworthy changes in release ?.? (????-??-??)
UFFDIO_WRITEPROTECT ioctls.
* Updated lists of BPF_*, DEVCONF_*, IORING_*, KEXEC_*, NT_*, QFMT_*, SEGV_*,
UFFD_*, V4L2_*, and XDP_* constants.
+ * Updated lists of ioctl commands from Linux 6.6.
Noteworthy changes in release 6.5 (2023-09-01)
==============================================
diff --git a/src/linux/32/ioctls_inc_align16.h b/src/linux/32/ioctls_inc_align16.h
index 2a484bb68..63d7a398d 100644
--- a/src/linux/32/ioctls_inc_align16.h
+++ b/src/linux/32/ioctls_inc_align16.h
@@ -195,6 +195,7 @@
{ "drm/drm.h", "DRM_IOCTL_SWITCH_CTX", _IOC_WRITE, 0x6424, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_CREATE", _IOC_READ|_IOC_WRITE, 0x64bf, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_DESTROY", _IOC_READ|_IOC_WRITE, 0x64c0, 0x08 },
+{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_EVENTFD", _IOC_READ|_IOC_WRITE, 0x64cf, 0x18 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE", _IOC_READ|_IOC_WRITE, 0x64c2, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD", _IOC_READ|_IOC_WRITE, 0x64c1, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_QUERY", _IOC_READ|_IOC_WRITE, 0x64cb, 0x18 },
@@ -327,13 +328,19 @@
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_WAIT_FENCE", _IOC_WRITE, 0x6447, 0x1c },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC", _IOC_READ|_IOC_WRITE, 0x6442, 0x58 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_FREE", _IOC_WRITE, 0x6443, 0x04 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_EXEC", _IOC_READ|_IOC_WRITE, 0x6452, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_FINI", _IOC_WRITE, 0x6483, 0x04 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_PREP", _IOC_WRITE, 0x6482, 0x08 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6484, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6480, 0x30 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_PUSHBUF", _IOC_READ|_IOC_WRITE, 0x6481, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x10 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_BIND", _IOC_READ|_IOC_WRITE, 0x6451, 0x28 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_INIT", _IOC_READ|_IOC_WRITE, 0x6450, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_FINI", _IOC_WRITE, 0x6445, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_PREP", _IOC_WRITE, 0x6444, 0x08 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6446, 0x18 },
@@ -457,7 +464,7 @@
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_ATTACH", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_SIGNAL", _IOC_WRITE, 0x6442, 0x08 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 },
+{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x40 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
@@ -1127,6 +1134,7 @@
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c },
+{ "linux/fsi.h", "FSI_SBEFIFO_CMD_TIMEOUT_SECONDS", _IOC_WRITE, 0x7301, 0x04 },
{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x1e },
@@ -1339,6 +1347,8 @@
{ "linux/input.h", "EVIOCSMASK", _IOC_WRITE, 0x4593, 0x10 },
{ "linux/input.h", "EVIOCSREP", _IOC_WRITE, 0x4503, 0x08 },
{ "linux/iommufd.h", "IOMMU_DESTROY", _IOC_NONE, 0x3b80, 0x00 },
+{ "linux/iommufd.h", "IOMMU_GET_HW_INFO", _IOC_NONE, 0x3b8a, 0x00 },
+{ "linux/iommufd.h", "IOMMU_HWPT_ALLOC", _IOC_NONE, 0x3b89, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOC", _IOC_NONE, 0x3b81, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOW_IOVAS", _IOC_NONE, 0x3b82, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_COPY", _IOC_NONE, 0x3b83, 0x00 },
@@ -1776,6 +1786,9 @@
{ "linux/pr.h", "IOC_PR_REGISTER", _IOC_WRITE, 0x70c8, 0x18 },
{ "linux/pr.h", "IOC_PR_RELEASE", _IOC_WRITE, 0x70ca, 0x10 },
{ "linux/pr.h", "IOC_PR_RESERVE", _IOC_WRITE, 0x70c9, 0x10 },
+{ "linux/psp-dbc.h", "DBCIOCNONCE", _IOC_READ|_IOC_WRITE, 0x4401, 0x34 },
+{ "linux/psp-dbc.h", "DBCIOCPARAM", _IOC_READ|_IOC_WRITE, 0x4403, 0x28 },
+{ "linux/psp-dbc.h", "DBCIOCUID", _IOC_WRITE, 0x4402, 0x30 },
{ "linux/psp-sev.h", "SEV_ISSUE_CMD", _IOC_READ|_IOC_WRITE, 0x5300, 0x10 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS", _IOC_READ, 0x3d01, 0x50 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS2", _IOC_READ, 0x3d0a, 0x50 },
@@ -1869,7 +1882,9 @@
{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 },
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
+{ "linux/rpmsg.h", "RPMSG_GET_OUTGOING_FLOWCONTROL", _IOC_READ, 0xb505, 0x04 },
{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 },
+{ "linux/rpmsg.h", "RPMSG_SET_INCOMING_FLOWCONTROL", _IOC_READ, 0xb506, 0x04 },
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
@@ -1919,6 +1934,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
+{ "linux/sed-opal.h", "IOC_OPAL_DISCOVERY", _IOC_WRITE, 0x70ef, 0x10 },
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 },
@@ -1929,6 +1945,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
{ "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_PSID_REVERT_TPR", _IOC_WRITE, 0x70e8, 0x108 },
+{ "linux/sed-opal.h", "IOC_OPAL_REVERT_LSP", _IOC_WRITE, 0x70f0, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
@@ -2406,6 +2423,9 @@
{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 },
{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 },
{ "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_ATTACH_IOMMUFD_PT", _IOC_NONE, 0x3b77, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_BIND_IOMMUFD", _IOC_NONE, 0x3b76, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_DETACH_IOMMUFD_PT", _IOC_NONE, 0x3b78, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_INFO", _IOC_NONE, 0x3b6b, 0x00 },
diff --git a/src/linux/32/ioctls_inc_align32.h b/src/linux/32/ioctls_inc_align32.h
index 9c28582bd..75b5c887e 100644
--- a/src/linux/32/ioctls_inc_align32.h
+++ b/src/linux/32/ioctls_inc_align32.h
@@ -195,6 +195,7 @@
{ "drm/drm.h", "DRM_IOCTL_SWITCH_CTX", _IOC_WRITE, 0x6424, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_CREATE", _IOC_READ|_IOC_WRITE, 0x64bf, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_DESTROY", _IOC_READ|_IOC_WRITE, 0x64c0, 0x08 },
+{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_EVENTFD", _IOC_READ|_IOC_WRITE, 0x64cf, 0x18 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE", _IOC_READ|_IOC_WRITE, 0x64c2, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD", _IOC_READ|_IOC_WRITE, 0x64c1, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_QUERY", _IOC_READ|_IOC_WRITE, 0x64cb, 0x18 },
@@ -327,13 +328,19 @@
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_WAIT_FENCE", _IOC_WRITE, 0x6447, 0x1c },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC", _IOC_READ|_IOC_WRITE, 0x6442, 0x58 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_FREE", _IOC_WRITE, 0x6443, 0x04 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_EXEC", _IOC_READ|_IOC_WRITE, 0x6452, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_FINI", _IOC_WRITE, 0x6483, 0x04 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_PREP", _IOC_WRITE, 0x6482, 0x08 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6484, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6480, 0x30 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_PUSHBUF", _IOC_READ|_IOC_WRITE, 0x6481, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x10 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_BIND", _IOC_READ|_IOC_WRITE, 0x6451, 0x28 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_INIT", _IOC_READ|_IOC_WRITE, 0x6450, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_FINI", _IOC_WRITE, 0x6445, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_PREP", _IOC_WRITE, 0x6444, 0x08 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6446, 0x18 },
@@ -457,7 +464,7 @@
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_ATTACH", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_SIGNAL", _IOC_WRITE, 0x6442, 0x08 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 },
+{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x40 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
@@ -1127,6 +1134,7 @@
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c },
+{ "linux/fsi.h", "FSI_SBEFIFO_CMD_TIMEOUT_SECONDS", _IOC_WRITE, 0x7301, 0x04 },
{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 },
@@ -1339,6 +1347,8 @@
{ "linux/input.h", "EVIOCSMASK", _IOC_WRITE, 0x4593, 0x10 },
{ "linux/input.h", "EVIOCSREP", _IOC_WRITE, 0x4503, 0x08 },
{ "linux/iommufd.h", "IOMMU_DESTROY", _IOC_NONE, 0x3b80, 0x00 },
+{ "linux/iommufd.h", "IOMMU_GET_HW_INFO", _IOC_NONE, 0x3b8a, 0x00 },
+{ "linux/iommufd.h", "IOMMU_HWPT_ALLOC", _IOC_NONE, 0x3b89, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOC", _IOC_NONE, 0x3b81, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOW_IOVAS", _IOC_NONE, 0x3b82, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_COPY", _IOC_NONE, 0x3b83, 0x00 },
@@ -1776,6 +1786,9 @@
{ "linux/pr.h", "IOC_PR_REGISTER", _IOC_WRITE, 0x70c8, 0x18 },
{ "linux/pr.h", "IOC_PR_RELEASE", _IOC_WRITE, 0x70ca, 0x10 },
{ "linux/pr.h", "IOC_PR_RESERVE", _IOC_WRITE, 0x70c9, 0x10 },
+{ "linux/psp-dbc.h", "DBCIOCNONCE", _IOC_READ|_IOC_WRITE, 0x4401, 0x34 },
+{ "linux/psp-dbc.h", "DBCIOCPARAM", _IOC_READ|_IOC_WRITE, 0x4403, 0x28 },
+{ "linux/psp-dbc.h", "DBCIOCUID", _IOC_WRITE, 0x4402, 0x30 },
{ "linux/psp-sev.h", "SEV_ISSUE_CMD", _IOC_READ|_IOC_WRITE, 0x5300, 0x10 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS", _IOC_READ, 0x3d01, 0x50 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS2", _IOC_READ, 0x3d0a, 0x50 },
@@ -1869,7 +1882,9 @@
{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 },
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
+{ "linux/rpmsg.h", "RPMSG_GET_OUTGOING_FLOWCONTROL", _IOC_READ, 0xb505, 0x04 },
{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 },
+{ "linux/rpmsg.h", "RPMSG_SET_INCOMING_FLOWCONTROL", _IOC_READ, 0xb506, 0x04 },
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
@@ -1919,6 +1934,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
+{ "linux/sed-opal.h", "IOC_OPAL_DISCOVERY", _IOC_WRITE, 0x70ef, 0x10 },
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 },
@@ -1929,6 +1945,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
{ "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_PSID_REVERT_TPR", _IOC_WRITE, 0x70e8, 0x108 },
+{ "linux/sed-opal.h", "IOC_OPAL_REVERT_LSP", _IOC_WRITE, 0x70f0, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
@@ -2407,6 +2424,9 @@
{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 },
{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 },
{ "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_ATTACH_IOMMUFD_PT", _IOC_NONE, 0x3b77, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_BIND_IOMMUFD", _IOC_NONE, 0x3b76, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_DETACH_IOMMUFD_PT", _IOC_NONE, 0x3b78, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_INFO", _IOC_NONE, 0x3b6b, 0x00 },
diff --git a/src/linux/32/ioctls_inc_align64.h b/src/linux/32/ioctls_inc_align64.h
index 62f101b0c..9471e7638 100644
--- a/src/linux/32/ioctls_inc_align64.h
+++ b/src/linux/32/ioctls_inc_align64.h
@@ -195,6 +195,7 @@
{ "drm/drm.h", "DRM_IOCTL_SWITCH_CTX", _IOC_WRITE, 0x6424, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_CREATE", _IOC_READ|_IOC_WRITE, 0x64bf, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_DESTROY", _IOC_READ|_IOC_WRITE, 0x64c0, 0x08 },
+{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_EVENTFD", _IOC_READ|_IOC_WRITE, 0x64cf, 0x18 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE", _IOC_READ|_IOC_WRITE, 0x64c2, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD", _IOC_READ|_IOC_WRITE, 0x64c1, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_QUERY", _IOC_READ|_IOC_WRITE, 0x64cb, 0x18 },
@@ -327,13 +328,19 @@
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_WAIT_FENCE", _IOC_WRITE, 0x6447, 0x20 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC", _IOC_READ|_IOC_WRITE, 0x6442, 0x58 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_FREE", _IOC_WRITE, 0x6443, 0x04 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_EXEC", _IOC_READ|_IOC_WRITE, 0x6452, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_FINI", _IOC_WRITE, 0x6483, 0x04 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_PREP", _IOC_WRITE, 0x6482, 0x08 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6484, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6480, 0x30 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_PUSHBUF", _IOC_READ|_IOC_WRITE, 0x6481, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x10 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_BIND", _IOC_READ|_IOC_WRITE, 0x6451, 0x28 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_INIT", _IOC_READ|_IOC_WRITE, 0x6450, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_FINI", _IOC_WRITE, 0x6445, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_PREP", _IOC_WRITE, 0x6444, 0x08 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6446, 0x18 },
@@ -457,7 +464,7 @@
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_ATTACH", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_SIGNAL", _IOC_WRITE, 0x6442, 0x08 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 },
+{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x40 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
@@ -1127,6 +1134,7 @@
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c },
+{ "linux/fsi.h", "FSI_SBEFIFO_CMD_TIMEOUT_SECONDS", _IOC_WRITE, 0x7301, 0x04 },
{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 },
@@ -1339,6 +1347,8 @@
{ "linux/input.h", "EVIOCSMASK", _IOC_WRITE, 0x4593, 0x10 },
{ "linux/input.h", "EVIOCSREP", _IOC_WRITE, 0x4503, 0x08 },
{ "linux/iommufd.h", "IOMMU_DESTROY", _IOC_NONE, 0x3b80, 0x00 },
+{ "linux/iommufd.h", "IOMMU_GET_HW_INFO", _IOC_NONE, 0x3b8a, 0x00 },
+{ "linux/iommufd.h", "IOMMU_HWPT_ALLOC", _IOC_NONE, 0x3b89, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOC", _IOC_NONE, 0x3b81, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOW_IOVAS", _IOC_NONE, 0x3b82, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_COPY", _IOC_NONE, 0x3b83, 0x00 },
@@ -1776,6 +1786,9 @@
{ "linux/pr.h", "IOC_PR_REGISTER", _IOC_WRITE, 0x70c8, 0x18 },
{ "linux/pr.h", "IOC_PR_RELEASE", _IOC_WRITE, 0x70ca, 0x10 },
{ "linux/pr.h", "IOC_PR_RESERVE", _IOC_WRITE, 0x70c9, 0x10 },
+{ "linux/psp-dbc.h", "DBCIOCNONCE", _IOC_READ|_IOC_WRITE, 0x4401, 0x34 },
+{ "linux/psp-dbc.h", "DBCIOCPARAM", _IOC_READ|_IOC_WRITE, 0x4403, 0x28 },
+{ "linux/psp-dbc.h", "DBCIOCUID", _IOC_WRITE, 0x4402, 0x30 },
{ "linux/psp-sev.h", "SEV_ISSUE_CMD", _IOC_READ|_IOC_WRITE, 0x5300, 0x10 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS", _IOC_READ, 0x3d01, 0x50 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS2", _IOC_READ, 0x3d0a, 0x50 },
@@ -1869,7 +1882,9 @@
{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 },
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
+{ "linux/rpmsg.h", "RPMSG_GET_OUTGOING_FLOWCONTROL", _IOC_READ, 0xb505, 0x04 },
{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 },
+{ "linux/rpmsg.h", "RPMSG_SET_INCOMING_FLOWCONTROL", _IOC_READ, 0xb506, 0x04 },
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
@@ -1919,6 +1934,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
+{ "linux/sed-opal.h", "IOC_OPAL_DISCOVERY", _IOC_WRITE, 0x70ef, 0x10 },
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 },
@@ -1929,6 +1945,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
{ "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_PSID_REVERT_TPR", _IOC_WRITE, 0x70e8, 0x108 },
+{ "linux/sed-opal.h", "IOC_OPAL_REVERT_LSP", _IOC_WRITE, 0x70f0, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
@@ -2407,6 +2424,9 @@
{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 },
{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 },
{ "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_ATTACH_IOMMUFD_PT", _IOC_NONE, 0x3b77, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_BIND_IOMMUFD", _IOC_NONE, 0x3b76, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_DETACH_IOMMUFD_PT", _IOC_NONE, 0x3b78, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_INFO", _IOC_NONE, 0x3b6b, 0x00 },
diff --git a/src/linux/64/ioctls_inc.h b/src/linux/64/ioctls_inc.h
index e23758782..6db34e2e4 100644
--- a/src/linux/64/ioctls_inc.h
+++ b/src/linux/64/ioctls_inc.h
@@ -195,6 +195,7 @@
{ "drm/drm.h", "DRM_IOCTL_SWITCH_CTX", _IOC_WRITE, 0x6424, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_CREATE", _IOC_READ|_IOC_WRITE, 0x64bf, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_DESTROY", _IOC_READ|_IOC_WRITE, 0x64c0, 0x08 },
+{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_EVENTFD", _IOC_READ|_IOC_WRITE, 0x64cf, 0x18 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE", _IOC_READ|_IOC_WRITE, 0x64c2, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD", _IOC_READ|_IOC_WRITE, 0x64c1, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_QUERY", _IOC_READ|_IOC_WRITE, 0x64cb, 0x18 },
@@ -327,13 +328,19 @@
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_WAIT_FENCE", _IOC_WRITE, 0x6447, 0x20 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC", _IOC_READ|_IOC_WRITE, 0x6442, 0x58 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_FREE", _IOC_WRITE, 0x6443, 0x04 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_EXEC", _IOC_READ|_IOC_WRITE, 0x6452, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_FINI", _IOC_WRITE, 0x6483, 0x04 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_PREP", _IOC_WRITE, 0x6482, 0x08 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6484, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6480, 0x30 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_PUSHBUF", _IOC_READ|_IOC_WRITE, 0x6481, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x10 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_BIND", _IOC_READ|_IOC_WRITE, 0x6451, 0x28 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_INIT", _IOC_READ|_IOC_WRITE, 0x6450, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_FINI", _IOC_WRITE, 0x6445, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_PREP", _IOC_WRITE, 0x6444, 0x08 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6446, 0x18 },
@@ -457,7 +464,7 @@
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_ATTACH", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_SIGNAL", _IOC_WRITE, 0x6442, 0x08 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 },
+{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x40 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
@@ -1137,6 +1144,7 @@
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c },
+{ "linux/fsi.h", "FSI_SBEFIFO_CMD_TIMEOUT_SECONDS", _IOC_WRITE, 0x7301, 0x04 },
{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 },
@@ -1350,6 +1358,8 @@
{ "linux/input.h", "EVIOCSMASK", _IOC_WRITE, 0x4593, 0x10 },
{ "linux/input.h", "EVIOCSREP", _IOC_WRITE, 0x4503, 0x08 },
{ "linux/iommufd.h", "IOMMU_DESTROY", _IOC_NONE, 0x3b80, 0x00 },
+{ "linux/iommufd.h", "IOMMU_GET_HW_INFO", _IOC_NONE, 0x3b8a, 0x00 },
+{ "linux/iommufd.h", "IOMMU_HWPT_ALLOC", _IOC_NONE, 0x3b89, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOC", _IOC_NONE, 0x3b81, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOW_IOVAS", _IOC_NONE, 0x3b82, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_COPY", _IOC_NONE, 0x3b83, 0x00 },
@@ -1788,6 +1798,9 @@
{ "linux/pr.h", "IOC_PR_REGISTER", _IOC_WRITE, 0x70c8, 0x18 },
{ "linux/pr.h", "IOC_PR_RELEASE", _IOC_WRITE, 0x70ca, 0x10 },
{ "linux/pr.h", "IOC_PR_RESERVE", _IOC_WRITE, 0x70c9, 0x10 },
+{ "linux/psp-dbc.h", "DBCIOCNONCE", _IOC_READ|_IOC_WRITE, 0x4401, 0x34 },
+{ "linux/psp-dbc.h", "DBCIOCPARAM", _IOC_READ|_IOC_WRITE, 0x4403, 0x28 },
+{ "linux/psp-dbc.h", "DBCIOCUID", _IOC_WRITE, 0x4402, 0x30 },
{ "linux/psp-sev.h", "SEV_ISSUE_CMD", _IOC_READ|_IOC_WRITE, 0x5300, 0x10 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS", _IOC_READ, 0x3d01, 0x50 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS2", _IOC_READ, 0x3d0a, 0x50 },
@@ -1881,7 +1894,9 @@
{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 },
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
+{ "linux/rpmsg.h", "RPMSG_GET_OUTGOING_FLOWCONTROL", _IOC_READ, 0xb505, 0x04 },
{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 },
+{ "linux/rpmsg.h", "RPMSG_SET_INCOMING_FLOWCONTROL", _IOC_READ, 0xb506, 0x04 },
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
@@ -1931,6 +1946,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
+{ "linux/sed-opal.h", "IOC_OPAL_DISCOVERY", _IOC_WRITE, 0x70ef, 0x10 },
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 },
@@ -1941,6 +1957,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
{ "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_PSID_REVERT_TPR", _IOC_WRITE, 0x70e8, 0x108 },
+{ "linux/sed-opal.h", "IOC_OPAL_REVERT_LSP", _IOC_WRITE, 0x70f0, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
@@ -2425,6 +2442,9 @@
{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 },
{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 },
{ "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_ATTACH_IOMMUFD_PT", _IOC_NONE, 0x3b77, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_BIND_IOMMUFD", _IOC_NONE, 0x3b76, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_DETACH_IOMMUFD_PT", _IOC_NONE, 0x3b78, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_INFO", _IOC_NONE, 0x3b6b, 0x00 },
diff --git a/src/linux/x32/ioctls_inc0.h b/src/linux/x32/ioctls_inc0.h
index b1b0d89ee..cb6b30f0c 100644
--- a/src/linux/x32/ioctls_inc0.h
+++ b/src/linux/x32/ioctls_inc0.h
@@ -195,6 +195,7 @@
{ "drm/drm.h", "DRM_IOCTL_SWITCH_CTX", _IOC_WRITE, 0x6424, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_CREATE", _IOC_READ|_IOC_WRITE, 0x64bf, 0x08 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_DESTROY", _IOC_READ|_IOC_WRITE, 0x64c0, 0x08 },
+{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_EVENTFD", _IOC_READ|_IOC_WRITE, 0x64cf, 0x18 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE", _IOC_READ|_IOC_WRITE, 0x64c2, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD", _IOC_READ|_IOC_WRITE, 0x64c1, 0x10 },
{ "drm/drm.h", "DRM_IOCTL_SYNCOBJ_QUERY", _IOC_READ|_IOC_WRITE, 0x64cb, 0x18 },
@@ -327,13 +328,19 @@
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 },
{ "drm/msm_drm.h", "DRM_IOCTL_MSM_WAIT_FENCE", _IOC_WRITE, 0x6447, 0x20 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC", _IOC_READ|_IOC_WRITE, 0x6442, 0x58 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_CHANNEL_FREE", _IOC_WRITE, 0x6443, 0x04 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_EXEC", _IOC_READ|_IOC_WRITE, 0x6452, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_FINI", _IOC_WRITE, 0x6483, 0x04 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_CPU_PREP", _IOC_WRITE, 0x6482, 0x08 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6484, 0x28 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6480, 0x30 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GEM_PUSHBUF", _IOC_READ|_IOC_WRITE, 0x6481, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x10 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_BIND", _IOC_READ|_IOC_WRITE, 0x6451, 0x28 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_VM_INIT", _IOC_READ|_IOC_WRITE, 0x6450, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_FINI", _IOC_WRITE, 0x6445, 0x10 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_CPU_PREP", _IOC_WRITE, 0x6444, 0x08 },
{ "drm/omap_drm.h", "DRM_IOCTL_OMAP_GEM_INFO", _IOC_READ|_IOC_WRITE, 0x6446, 0x18 },
@@ -457,7 +464,7 @@
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_ATTACH", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
{ "drm/vgem_drm.h", "DRM_IOCTL_VGEM_FENCE_SIGNAL", _IOC_WRITE, 0x6442, 0x08 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 },
+{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x40 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 },
{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
@@ -1127,6 +1134,7 @@
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 },
{ "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c },
+{ "linux/fsi.h", "FSI_SBEFIFO_CMD_TIMEOUT_SECONDS", _IOC_WRITE, 0x7301, 0x04 },
{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 },
{ "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 },
@@ -1339,6 +1347,8 @@
{ "linux/input.h", "EVIOCSMASK", _IOC_WRITE, 0x4593, 0x10 },
{ "linux/input.h", "EVIOCSREP", _IOC_WRITE, 0x4503, 0x08 },
{ "linux/iommufd.h", "IOMMU_DESTROY", _IOC_NONE, 0x3b80, 0x00 },
+{ "linux/iommufd.h", "IOMMU_GET_HW_INFO", _IOC_NONE, 0x3b8a, 0x00 },
+{ "linux/iommufd.h", "IOMMU_HWPT_ALLOC", _IOC_NONE, 0x3b89, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOC", _IOC_NONE, 0x3b81, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_ALLOW_IOVAS", _IOC_NONE, 0x3b82, 0x00 },
{ "linux/iommufd.h", "IOMMU_IOAS_COPY", _IOC_NONE, 0x3b83, 0x00 },
@@ -1777,6 +1787,9 @@
{ "linux/pr.h", "IOC_PR_REGISTER", _IOC_WRITE, 0x70c8, 0x18 },
{ "linux/pr.h", "IOC_PR_RELEASE", _IOC_WRITE, 0x70ca, 0x10 },
{ "linux/pr.h", "IOC_PR_RESERVE", _IOC_WRITE, 0x70c9, 0x10 },
+{ "linux/psp-dbc.h", "DBCIOCNONCE", _IOC_READ|_IOC_WRITE, 0x4401, 0x34 },
+{ "linux/psp-dbc.h", "DBCIOCPARAM", _IOC_READ|_IOC_WRITE, 0x4403, 0x28 },
+{ "linux/psp-dbc.h", "DBCIOCUID", _IOC_WRITE, 0x4402, 0x30 },
{ "linux/psp-sev.h", "SEV_ISSUE_CMD", _IOC_READ|_IOC_WRITE, 0x5300, 0x10 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS", _IOC_READ, 0x3d01, 0x50 },
{ "linux/ptp_clock.h", "PTP_CLOCK_GETCAPS2", _IOC_READ, 0x3d0a, 0x50 },
@@ -1870,7 +1883,9 @@
{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 },
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
+{ "linux/rpmsg.h", "RPMSG_GET_OUTGOING_FLOWCONTROL", _IOC_READ, 0xb505, 0x04 },
{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 },
+{ "linux/rpmsg.h", "RPMSG_SET_INCOMING_FLOWCONTROL", _IOC_READ, 0xb506, 0x04 },
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
@@ -1920,6 +1935,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
+{ "linux/sed-opal.h", "IOC_OPAL_DISCOVERY", _IOC_WRITE, 0x70ef, 0x10 },
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 },
@@ -1930,6 +1946,7 @@
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
{ "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_PSID_REVERT_TPR", _IOC_WRITE, 0x70e8, 0x108 },
+{ "linux/sed-opal.h", "IOC_OPAL_REVERT_LSP", _IOC_WRITE, 0x70f0, 0x110 },
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
@@ -2408,6 +2425,9 @@
{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 },
{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 },
{ "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_ATTACH_IOMMUFD_PT", _IOC_NONE, 0x3b77, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_BIND_IOMMUFD", _IOC_NONE, 0x3b76, 0x00 },
+{ "linux/vfio.h", "VFIO_DEVICE_DETACH_IOMMUFD_PT", _IOC_NONE, 0x3b78, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 },
{ "linux/vfio.h", "VFIO_DEVICE_GET_INFO", _IOC_NONE, 0x3b6b, 0x00 },
--
glebfm
More information about the Strace-devel
mailing list