[PATCH] Update ioctl entries from linux v5.1

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Wed May 8 13:28:24 UTC 2019


* linux/32/ioctls_inc_align16.h: Update from linux v5.1
using ioctls_gen.sh.
* linux/32/ioctls_inc_align32.h: Likewise.
* linux/32/ioctls_inc_align64.h: Likewise.
* linux/64/ioctls_inc.h: Likewise.
* linux/x32/ioctls_inc0.h: Likewise.
* NEWS: Mention this.
---
 NEWS                          |  1 +
 linux/32/ioctls_inc_align16.h | 17 +++++++++++++++++
 linux/32/ioctls_inc_align32.h | 17 +++++++++++++++++
 linux/32/ioctls_inc_align64.h | 17 +++++++++++++++++
 linux/64/ioctls_inc.h         | 17 +++++++++++++++++
 linux/x32/ioctls_inc0.h       | 17 +++++++++++++++++
 6 files changed, 86 insertions(+)

diff --git a/NEWS b/NEWS
index d527fcae3..070d2702d 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ Noteworthy changes in release ?.? (????-??-??)
     and xtensa.
   * Wired up direct ipc syscalls on m68k, mips o32, powerpc, powerpc64,
     s390, s390x, sh, sparc, sparc64, and x86.
+  * Updated lists of ioctl commands from Linux 5.1.
 
 Noteworthy changes in release 5.0 (2019-03-19)
 ==============================================
diff --git a/linux/32/ioctls_inc_align16.h b/linux/32/ioctls_inc_align16.h
index 65afef804..a58d10d9e 100644
--- a/linux/32/ioctls_inc_align16.h
+++ b/linux/32/ioctls_inc_align16.h
@@ -325,6 +325,8 @@
 { "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_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 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 },
@@ -502,6 +504,7 @@
 { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 },
 { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
+{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR_EXT", _IOC_WRITE, 0x620d, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
 { "linux/android/binder.h", "BINDER_SET_MAX_THREADS", _IOC_WRITE, 0x6205, 0x04 },
@@ -526,6 +529,7 @@
 { "linux/android/binder.h", "BR_SPAWN_LOOPER", _IOC_NONE, 0x720d, 0x00 },
 { "linux/android/binder.h", "BR_TRANSACTION", _IOC_READ, 0x7202, 0x40 },
 { "linux/android/binder.h", "BR_TRANSACTION_COMPLETE", _IOC_NONE, 0x7206, 0x00 },
+{ "linux/android/binder.h", "BR_TRANSACTION_SEC_CTX", _IOC_READ, 0x7202, 0x48 },
 { "linux/android/binderfs.h", "BINDER_CTL_ADD", _IOC_READ|_IOC_WRITE, 0x6201, 0x108 },
 { "linux/apm_bios.h", "APM_IOC_STANDBY", _IOC_NONE, 0x4101, 0x00 },
 { "linux/apm_bios.h", "APM_IOC_SUSPEND", _IOC_NONE, 0x4102, 0x00 },
@@ -628,6 +632,7 @@
 { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa22 },
 { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 },
+{ "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_DEV_STATS", _IOC_READ|_IOC_WRITE, 0x9434, 0x408 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_FEATURES", _IOC_READ, 0x9439, 0x18 },
@@ -2407,6 +2412,16 @@
 { "misc/cxl.h", "CXL_IOCTL_GET_PROCESS_ELEMENT", _IOC_READ, 0xca01, 0x04 },
 { "misc/cxl.h", "CXL_IOCTL_START_WORK", _IOC_WRITE, 0xca00, 0x40 },
 { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 },
+{ "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x2c },
+{ "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 },
+{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 },
 { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 },
@@ -2447,8 +2462,10 @@
 { "mtd/ubi-user.h", "UBI_IOCMKVOL", _IOC_WRITE, 0x6f00, 0x98 },
 { "mtd/ubi-user.h", "UBI_IOCRMVOL", _IOC_WRITE, 0x6f01, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRNVOL", _IOC_WRITE, 0x6f03, 0x1110 },
+{ "mtd/ubi-user.h", "UBI_IOCRPEB", _IOC_WRITE, 0x6f04, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRSVOL", _IOC_WRITE, 0x6f02, 0x0c },
 { "mtd/ubi-user.h", "UBI_IOCSETVOLPROP", _IOC_WRITE, 0x4f06, 0x10 },
+{ "mtd/ubi-user.h", "UBI_IOCSPEB", _IOC_WRITE, 0x6f05, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCVOLCRBLK", _IOC_WRITE, 0x4f07, 0x80 },
 { "mtd/ubi-user.h", "UBI_IOCVOLRMBLK", _IOC_NONE, 0x4f08, 0x00 },
 { "mtd/ubi-user.h", "UBI_IOCVOLUP", _IOC_WRITE, 0x4f00, 0x08 },
diff --git a/linux/32/ioctls_inc_align32.h b/linux/32/ioctls_inc_align32.h
index f7dacc08d..92c8c186c 100644
--- a/linux/32/ioctls_inc_align32.h
+++ b/linux/32/ioctls_inc_align32.h
@@ -325,6 +325,8 @@
 { "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_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 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 },
@@ -502,6 +504,7 @@
 { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 },
 { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
+{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR_EXT", _IOC_WRITE, 0x620d, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
 { "linux/android/binder.h", "BINDER_SET_MAX_THREADS", _IOC_WRITE, 0x6205, 0x04 },
@@ -526,6 +529,7 @@
 { "linux/android/binder.h", "BR_SPAWN_LOOPER", _IOC_NONE, 0x720d, 0x00 },
 { "linux/android/binder.h", "BR_TRANSACTION", _IOC_READ, 0x7202, 0x40 },
 { "linux/android/binder.h", "BR_TRANSACTION_COMPLETE", _IOC_NONE, 0x7206, 0x00 },
+{ "linux/android/binder.h", "BR_TRANSACTION_SEC_CTX", _IOC_READ, 0x7202, 0x48 },
 { "linux/android/binderfs.h", "BINDER_CTL_ADD", _IOC_READ|_IOC_WRITE, 0x6201, 0x108 },
 { "linux/apm_bios.h", "APM_IOC_STANDBY", _IOC_NONE, 0x4101, 0x00 },
 { "linux/apm_bios.h", "APM_IOC_SUSPEND", _IOC_NONE, 0x4102, 0x00 },
@@ -628,6 +632,7 @@
 { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa24 },
 { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 },
+{ "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_DEV_STATS", _IOC_READ|_IOC_WRITE, 0x9434, 0x408 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_FEATURES", _IOC_READ, 0x9439, 0x18 },
@@ -2407,6 +2412,16 @@
 { "misc/cxl.h", "CXL_IOCTL_GET_PROCESS_ELEMENT", _IOC_READ, 0xca01, 0x04 },
 { "misc/cxl.h", "CXL_IOCTL_START_WORK", _IOC_WRITE, 0xca00, 0x40 },
 { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 },
+{ "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x2c },
+{ "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 },
+{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 },
 { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 },
@@ -2447,8 +2462,10 @@
 { "mtd/ubi-user.h", "UBI_IOCMKVOL", _IOC_WRITE, 0x6f00, 0x98 },
 { "mtd/ubi-user.h", "UBI_IOCRMVOL", _IOC_WRITE, 0x6f01, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRNVOL", _IOC_WRITE, 0x6f03, 0x1110 },
+{ "mtd/ubi-user.h", "UBI_IOCRPEB", _IOC_WRITE, 0x6f04, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRSVOL", _IOC_WRITE, 0x6f02, 0x0c },
 { "mtd/ubi-user.h", "UBI_IOCSETVOLPROP", _IOC_WRITE, 0x4f06, 0x10 },
+{ "mtd/ubi-user.h", "UBI_IOCSPEB", _IOC_WRITE, 0x6f05, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCVOLCRBLK", _IOC_WRITE, 0x4f07, 0x80 },
 { "mtd/ubi-user.h", "UBI_IOCVOLRMBLK", _IOC_NONE, 0x4f08, 0x00 },
 { "mtd/ubi-user.h", "UBI_IOCVOLUP", _IOC_WRITE, 0x4f00, 0x08 },
diff --git a/linux/32/ioctls_inc_align64.h b/linux/32/ioctls_inc_align64.h
index df04f1617..7df239e1a 100644
--- a/linux/32/ioctls_inc_align64.h
+++ b/linux/32/ioctls_inc_align64.h
@@ -325,6 +325,8 @@
 { "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_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 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 },
@@ -502,6 +504,7 @@
 { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 },
 { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
+{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR_EXT", _IOC_WRITE, 0x620d, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
 { "linux/android/binder.h", "BINDER_SET_MAX_THREADS", _IOC_WRITE, 0x6205, 0x04 },
@@ -526,6 +529,7 @@
 { "linux/android/binder.h", "BR_SPAWN_LOOPER", _IOC_NONE, 0x720d, 0x00 },
 { "linux/android/binder.h", "BR_TRANSACTION", _IOC_READ, 0x7202, 0x40 },
 { "linux/android/binder.h", "BR_TRANSACTION_COMPLETE", _IOC_NONE, 0x7206, 0x00 },
+{ "linux/android/binder.h", "BR_TRANSACTION_SEC_CTX", _IOC_READ, 0x7202, 0x48 },
 { "linux/android/binderfs.h", "BINDER_CTL_ADD", _IOC_READ|_IOC_WRITE, 0x6201, 0x108 },
 { "linux/apm_bios.h", "APM_IOC_STANDBY", _IOC_NONE, 0x4101, 0x00 },
 { "linux/apm_bios.h", "APM_IOC_SUSPEND", _IOC_NONE, 0x4102, 0x00 },
@@ -628,6 +632,7 @@
 { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 },
 { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 },
+{ "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_DEV_STATS", _IOC_READ|_IOC_WRITE, 0x9434, 0x408 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_FEATURES", _IOC_READ, 0x9439, 0x18 },
@@ -2407,6 +2412,16 @@
 { "misc/cxl.h", "CXL_IOCTL_GET_PROCESS_ELEMENT", _IOC_READ, 0xca01, 0x04 },
 { "misc/cxl.h", "CXL_IOCTL_START_WORK", _IOC_WRITE, 0xca00, 0x40 },
 { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 },
+{ "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x30 },
+{ "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 },
+{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 },
 { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 },
@@ -2447,8 +2462,10 @@
 { "mtd/ubi-user.h", "UBI_IOCMKVOL", _IOC_WRITE, 0x6f00, 0x98 },
 { "mtd/ubi-user.h", "UBI_IOCRMVOL", _IOC_WRITE, 0x6f01, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRNVOL", _IOC_WRITE, 0x6f03, 0x1110 },
+{ "mtd/ubi-user.h", "UBI_IOCRPEB", _IOC_WRITE, 0x6f04, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRSVOL", _IOC_WRITE, 0x6f02, 0x0c },
 { "mtd/ubi-user.h", "UBI_IOCSETVOLPROP", _IOC_WRITE, 0x4f06, 0x10 },
+{ "mtd/ubi-user.h", "UBI_IOCSPEB", _IOC_WRITE, 0x6f05, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCVOLCRBLK", _IOC_WRITE, 0x4f07, 0x80 },
 { "mtd/ubi-user.h", "UBI_IOCVOLRMBLK", _IOC_NONE, 0x4f08, 0x00 },
 { "mtd/ubi-user.h", "UBI_IOCVOLUP", _IOC_WRITE, 0x4f00, 0x08 },
diff --git a/linux/64/ioctls_inc.h b/linux/64/ioctls_inc.h
index ae8be650c..bc5ba746a 100644
--- a/linux/64/ioctls_inc.h
+++ b/linux/64/ioctls_inc.h
@@ -325,6 +325,8 @@
 { "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_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 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 },
@@ -502,6 +504,7 @@
 { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 },
 { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
+{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR_EXT", _IOC_WRITE, 0x620d, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
 { "linux/android/binder.h", "BINDER_SET_MAX_THREADS", _IOC_WRITE, 0x6205, 0x04 },
@@ -526,6 +529,7 @@
 { "linux/android/binder.h", "BR_SPAWN_LOOPER", _IOC_NONE, 0x720d, 0x00 },
 { "linux/android/binder.h", "BR_TRANSACTION", _IOC_READ, 0x7202, 0x40 },
 { "linux/android/binder.h", "BR_TRANSACTION_COMPLETE", _IOC_NONE, 0x7206, 0x00 },
+{ "linux/android/binder.h", "BR_TRANSACTION_SEC_CTX", _IOC_READ, 0x7202, 0x48 },
 { "linux/android/binderfs.h", "BINDER_CTL_ADD", _IOC_READ|_IOC_WRITE, 0x6201, 0x108 },
 { "linux/apm_bios.h", "APM_IOC_STANDBY", _IOC_NONE, 0x4101, 0x00 },
 { "linux/apm_bios.h", "APM_IOC_SUSPEND", _IOC_NONE, 0x4102, 0x00 },
@@ -628,6 +632,7 @@
 { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 },
 { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 },
+{ "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_DEV_STATS", _IOC_READ|_IOC_WRITE, 0x9434, 0x408 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_FEATURES", _IOC_READ, 0x9439, 0x18 },
@@ -2407,6 +2412,16 @@
 { "misc/cxl.h", "CXL_IOCTL_GET_PROCESS_ELEMENT", _IOC_READ, 0xca01, 0x04 },
 { "misc/cxl.h", "CXL_IOCTL_START_WORK", _IOC_WRITE, 0xca00, 0x40 },
 { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 },
+{ "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x30 },
+{ "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 },
+{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 },
 { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 },
@@ -2447,8 +2462,10 @@
 { "mtd/ubi-user.h", "UBI_IOCMKVOL", _IOC_WRITE, 0x6f00, 0x98 },
 { "mtd/ubi-user.h", "UBI_IOCRMVOL", _IOC_WRITE, 0x6f01, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRNVOL", _IOC_WRITE, 0x6f03, 0x1110 },
+{ "mtd/ubi-user.h", "UBI_IOCRPEB", _IOC_WRITE, 0x6f04, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRSVOL", _IOC_WRITE, 0x6f02, 0x0c },
 { "mtd/ubi-user.h", "UBI_IOCSETVOLPROP", _IOC_WRITE, 0x4f06, 0x10 },
+{ "mtd/ubi-user.h", "UBI_IOCSPEB", _IOC_WRITE, 0x6f05, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCVOLCRBLK", _IOC_WRITE, 0x4f07, 0x80 },
 { "mtd/ubi-user.h", "UBI_IOCVOLRMBLK", _IOC_NONE, 0x4f08, 0x00 },
 { "mtd/ubi-user.h", "UBI_IOCVOLUP", _IOC_WRITE, 0x4f00, 0x08 },
diff --git a/linux/x32/ioctls_inc0.h b/linux/x32/ioctls_inc0.h
index d94e20258..0706d019e 100644
--- a/linux/x32/ioctls_inc0.h
+++ b/linux/x32/ioctls_inc0.h
@@ -325,6 +325,8 @@
 { "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_SVM_BIND", _IOC_READ|_IOC_WRITE, 0x6449, 0x40 },
+{ "drm/nouveau_drm.h", "DRM_IOCTL_NOUVEAU_SVM_INIT", _IOC_READ|_IOC_WRITE, 0x6448, 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 },
@@ -502,6 +504,7 @@
 { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 },
 { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
+{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR_EXT", _IOC_WRITE, 0x620d, 0x18 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
 { "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
 { "linux/android/binder.h", "BINDER_SET_MAX_THREADS", _IOC_WRITE, 0x6205, 0x04 },
@@ -526,6 +529,7 @@
 { "linux/android/binder.h", "BR_SPAWN_LOOPER", _IOC_NONE, 0x720d, 0x00 },
 { "linux/android/binder.h", "BR_TRANSACTION", _IOC_READ, 0x7202, 0x40 },
 { "linux/android/binder.h", "BR_TRANSACTION_COMPLETE", _IOC_NONE, 0x7206, 0x00 },
+{ "linux/android/binder.h", "BR_TRANSACTION_SEC_CTX", _IOC_READ, 0x7202, 0x48 },
 { "linux/android/binderfs.h", "BINDER_CTL_ADD", _IOC_READ|_IOC_WRITE, 0x6201, 0x108 },
 { "linux/apm_bios.h", "APM_IOC_STANDBY", _IOC_NONE, 0x4101, 0x00 },
 { "linux/apm_bios.h", "APM_IOC_SUSPEND", _IOC_NONE, 0x4102, 0x00 },
@@ -628,6 +632,7 @@
 { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 },
 { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 },
+{ "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 },
 { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_DEV_STATS", _IOC_READ|_IOC_WRITE, 0x9434, 0x408 },
 { "linux/btrfs.h", "BTRFS_IOC_GET_FEATURES", _IOC_READ, 0x9439, 0x18 },
@@ -2407,6 +2412,16 @@
 { "misc/cxl.h", "CXL_IOCTL_GET_PROCESS_ELEMENT", _IOC_READ, 0xca01, 0x04 },
 { "misc/cxl.h", "CXL_IOCTL_START_WORK", _IOC_WRITE, 0xca00, 0x40 },
 { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 },
+{ "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 },
+{ "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x30 },
+{ "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 },
+{ "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 },
+{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 },
 { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 },
 { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 },
@@ -2447,8 +2462,10 @@
 { "mtd/ubi-user.h", "UBI_IOCMKVOL", _IOC_WRITE, 0x6f00, 0x98 },
 { "mtd/ubi-user.h", "UBI_IOCRMVOL", _IOC_WRITE, 0x6f01, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRNVOL", _IOC_WRITE, 0x6f03, 0x1110 },
+{ "mtd/ubi-user.h", "UBI_IOCRPEB", _IOC_WRITE, 0x6f04, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCRSVOL", _IOC_WRITE, 0x6f02, 0x0c },
 { "mtd/ubi-user.h", "UBI_IOCSETVOLPROP", _IOC_WRITE, 0x4f06, 0x10 },
+{ "mtd/ubi-user.h", "UBI_IOCSPEB", _IOC_WRITE, 0x6f05, 0x04 },
 { "mtd/ubi-user.h", "UBI_IOCVOLCRBLK", _IOC_WRITE, 0x4f07, 0x80 },
 { "mtd/ubi-user.h", "UBI_IOCVOLRMBLK", _IOC_NONE, 0x4f08, 0x00 },
 { "mtd/ubi-user.h", "UBI_IOCVOLUP", _IOC_WRITE, 0x4f00, 0x08 },

-- 
glebfm


More information about the Strace-devel mailing list