]> Gentwo Git Trees - linux/.git/commit
iommupt: Add basic support for SW bits in the page table
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 23 Oct 2025 18:22:30 +0000 (15:22 -0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 5 Nov 2025 08:47:44 +0000 (09:47 +0100)
commitbcc64b57b48e1c79fe6a53fec3427e14bc2054e7
tree3f245c5d46d5614a704b1eea6ca50b521e5e3737
parent36ae67b13976f8fe1fed2bbbc45ed09d0d113d45
iommupt: Add basic support for SW bits in the page table

SW bits can be placed on items, including table entries, single OA's and
individual items within a contiguous OA. They are guaranteed to be ignored
by the HW. The API is very basic since the only use case so far is a
single bit.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/generic_pt/pt_common.h
drivers/iommu/generic_pt/pt_fmt_defaults.h