[PATCH 2/2] Update ioctl entries from linux v5.16

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Mon Dec 13 10:40:55 UTC 2021


* src/linux/32/ioctls_inc_align16.h: Update from linux v5.16-rc5
  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.
* src/linux/i386/ioctls_arch0.h: Likewise.
* src/linux/x86_64/ioctls_arch0.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/i386/ioctls_arch0.h     |  1 +
 src/linux/x32/ioctls_inc0.h       | 22 ++++++++++++++++++----
 src/linux/x86_64/ioctls_arch0.h   |  1 +
 8 files changed, 93 insertions(+), 20 deletions(-)

diff --git a/NEWS b/NEWS
index e9ca7c816..a57c530a5 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??)
 ===============================================
 
 * Improvements
+  * Updated lists of ioctl commands from Linux 5.16.
 
 * Bug fixes
 
diff --git a/src/linux/32/ioctls_inc_align16.h b/src/linux/32/ioctls_inc_align16.h
index 864261c71..ebe63bb27 100644
--- a/src/linux/32/ioctls_inc_align16.h
+++ b/src/linux/32/ioctls_inc_align16.h
@@ -466,9 +466,9 @@
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x40 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x44 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x54 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 },
@@ -501,7 +501,8 @@
 { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 },
+{ "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_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 },
@@ -511,13 +512,17 @@
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 },
+{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x22 },
 { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 },
+{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x22 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 },
 { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 },
@@ -822,6 +827,7 @@
 { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 },
 { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 },
 { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 },
+{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 },
 { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 },
 { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 },
 { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 },
@@ -854,6 +860,9 @@
 { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 },
 { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 },
 { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 },
+{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 },
+{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 },
+{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 },
 { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 },
 { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 },
 { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 },
@@ -1835,6 +1844,8 @@
 { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 },
+{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 },
+{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 },
 { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 },
 { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 },
 { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c },
@@ -2916,6 +2927,9 @@
 { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 },
 { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 },
diff --git a/src/linux/32/ioctls_inc_align32.h b/src/linux/32/ioctls_inc_align32.h
index b45d8f664..85eec3bf2 100644
--- a/src/linux/32/ioctls_inc_align32.h
+++ b/src/linux/32/ioctls_inc_align32.h
@@ -466,9 +466,9 @@
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x40 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x44 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x54 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 },
@@ -501,7 +501,8 @@
 { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 },
+{ "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_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 },
@@ -511,13 +512,17 @@
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 },
+{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 },
+{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 },
 { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 },
@@ -822,6 +827,7 @@
 { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 },
 { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 },
 { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 },
+{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 },
 { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 },
 { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 },
 { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 },
@@ -854,6 +860,9 @@
 { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 },
 { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 },
 { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 },
+{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 },
+{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 },
+{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 },
 { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 },
 { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 },
 { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 },
@@ -1835,6 +1844,8 @@
 { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 },
+{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 },
+{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 },
 { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 },
 { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 },
 { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c },
@@ -2917,6 +2928,9 @@
 { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 },
 { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 },
diff --git a/src/linux/32/ioctls_inc_align64.h b/src/linux/32/ioctls_inc_align64.h
index e4722b3ec..8101bf300 100644
--- a/src/linux/32/ioctls_inc_align64.h
+++ b/src/linux/32/ioctls_inc_align64.h
@@ -466,9 +466,9 @@
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x40 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 },
@@ -501,7 +501,8 @@
 { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 },
+{ "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_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 },
@@ -511,13 +512,17 @@
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 },
+{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 },
+{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 },
 { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 },
@@ -822,6 +827,7 @@
 { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 },
 { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 },
 { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 },
+{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 },
 { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 },
 { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 },
 { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 },
@@ -854,6 +860,9 @@
 { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 },
 { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 },
 { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 },
+{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 },
+{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 },
+{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 },
 { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 },
 { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 },
 { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 },
@@ -1835,6 +1844,8 @@
 { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 },
+{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 },
+{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 },
 { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 },
 { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 },
 { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c },
@@ -2917,6 +2928,9 @@
 { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 },
 { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 },
diff --git a/src/linux/64/ioctls_inc.h b/src/linux/64/ioctls_inc.h
index 6a4912041..fe74348c0 100644
--- a/src/linux/64/ioctls_inc.h
+++ b/src/linux/64/ioctls_inc.h
@@ -466,9 +466,9 @@
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x40 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 },
@@ -501,7 +501,8 @@
 { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x28 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x10 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x18 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 },
+{ "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_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 },
@@ -511,13 +512,17 @@
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 },
+{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 },
+{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 },
 { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 },
@@ -823,6 +828,7 @@
 { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 },
 { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 },
 { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 },
+{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 },
 { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 },
 { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 },
 { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 },
@@ -855,6 +861,9 @@
 { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 },
 { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x08 },
 { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x08 },
+{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 },
+{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 },
+{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 },
 { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 },
 { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 },
 { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 },
@@ -1842,6 +1851,8 @@
 { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x08 },
 { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x08 },
 { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x08 },
+{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 },
+{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 },
 { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 },
 { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 },
 { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x20 },
@@ -2930,6 +2941,9 @@
 { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 },
 { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 },
diff --git a/src/linux/i386/ioctls_arch0.h b/src/linux/i386/ioctls_arch0.h
index 594ee54aa..c6014ac01 100644
--- a/src/linux/i386/ioctls_arch0.h
+++ b/src/linux/i386/ioctls_arch0.h
@@ -18,6 +18,7 @@
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_CREATE", _IOC_WRITE, 0xa400, 0x08 },
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_INIT", _IOC_WRITE, 0xa402, 0x08 },
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_PROVISION", _IOC_WRITE, 0xa403, 0x08 },
+{ "asm/sgx.h", "SGX_IOC_VEPC_REMOVE_ALL", _IOC_NONE, 0xa404, 0x00 },
 { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 },
 { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 },
 { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 },
diff --git a/src/linux/x32/ioctls_inc0.h b/src/linux/x32/ioctls_inc0.h
index 5f492b879..cc8cea82d 100644
--- a/src/linux/x32/ioctls_inc0.h
+++ b/src/linux/x32/ioctls_inc0.h
@@ -466,9 +466,9 @@
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x40 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 },
-{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 },
+{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 },
 { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 },
 { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 },
@@ -501,7 +501,8 @@
 { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 },
 { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 },
-{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 },
+{ "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_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 },
@@ -511,13 +512,17 @@
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c },
 { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 },
+{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 },
+{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 },
 { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 },
+{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 },
 { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 },
 { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 },
 { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 },
@@ -822,6 +827,7 @@
 { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 },
 { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 },
 { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 },
+{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 },
 { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 },
 { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 },
 { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 },
@@ -854,6 +860,9 @@
 { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 },
 { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 },
 { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 },
+{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 },
+{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 },
+{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 },
 { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 },
 { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 },
 { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 },
@@ -1836,6 +1845,8 @@
 { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 },
 { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 },
+{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 },
+{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 },
 { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 },
 { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 },
 { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c },
@@ -2918,6 +2929,9 @@
 { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 },
+{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 },
 { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 },
 { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 },
diff --git a/src/linux/x86_64/ioctls_arch0.h b/src/linux/x86_64/ioctls_arch0.h
index 20d2f760f..06a0d8bc6 100644
--- a/src/linux/x86_64/ioctls_arch0.h
+++ b/src/linux/x86_64/ioctls_arch0.h
@@ -18,6 +18,7 @@
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_CREATE", _IOC_WRITE, 0xa400, 0x08 },
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_INIT", _IOC_WRITE, 0xa402, 0x08 },
 { "asm/sgx.h", "SGX_IOC_ENCLAVE_PROVISION", _IOC_WRITE, 0xa403, 0x08 },
+{ "asm/sgx.h", "SGX_IOC_VEPC_REMOVE_ALL", _IOC_NONE, 0xa404, 0x00 },
 { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 },
 { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 },
 { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 },
-- 
glebfm



More information about the Strace-devel mailing list