From 400732e21bdb27e4c3e1c2cf933c4f57fab7d4f8 Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Wed, 7 Feb 2024 12:52:16 -0400 Subject: sys/linux: add IOMMUFD_CMD_HWPT_ALLOC New ioctl to create hwpt objects directly with two forms. --- sys/linux/dev_iommu.txt.const | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/linux/dev_iommu.txt.const') diff --git a/sys/linux/dev_iommu.txt.const b/sys/linux/dev_iommu.txt.const index 830b696d5..4483b88da 100644 --- a/sys/linux/dev_iommu.txt.const +++ b/sys/linux/dev_iommu.txt.const @@ -2,6 +2,11 @@ arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x AT_FDCWD = 18446744073709551516 IOMMU_DESTROY = 15232, mips64le:ppc64le:536886144 +IOMMU_HWPT_ALLOC = 15241, mips64le:ppc64le:536886153 +IOMMU_HWPT_ALLOC_DIRTY_TRACKING = 2 +IOMMU_HWPT_ALLOC_NEST_PARENT = 1 +IOMMU_HWPT_DATA_NONE = 0 +IOMMU_HWPT_DATA_SELFTEST = 57005 IOMMU_IOAS_ALLOC = 15233, mips64le:ppc64le:536886145 IOMMU_IOAS_ALLOW_IOVAS = 15234, mips64le:ppc64le:536886146 IOMMU_IOAS_COPY = 15235, mips64le:ppc64le:536886147 -- cgit mrf-deployment