]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/tegra241-cmdqv: Update uAPI to clarify HYP_OWN requirement
authorNicolin Chen <nicolinc@nvidia.com>
Fri, 13 Mar 2026 00:36:35 +0000 (17:36 -0700)
committerWill Deacon <will@kernel.org>
Tue, 24 Mar 2026 14:04:35 +0000 (14:04 +0000)
commit9dcef98dbee35b8ae784df04c041efffdd42a69c
tree5c2318a972c8be79fa55d5ca6f6e1eafb5aed09f
parent803e41f36d227022ab9bbe780c82283fd4713b2e
iommu/tegra241-cmdqv: Update uAPI to clarify HYP_OWN requirement

>From hardware implementation perspective, a guest tegra241-cmdqv hardware
is different than the host hardware:
 - Host HW is backed by a VINTF (HYP_OWN=1)
 - Guest HW is backed by a VINTF (HYP_OWN=0)

The kernel driver has an implementation requirement of the HYP_OWN bit in
the VM. So, VMM must follow that to allow the same copy of Linux to work.

Add this requirement to the uAPI, which is currently missing.

Fixes: 4dc0d12474f9 ("iommu/tegra241-cmdqv: Add user-space use support")
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Will Deacon <will@kernel.org>
include/uapi/linux/iommufd.h