iommu_iotlb_gather_add_page(9)
π iommu_iotlb_gather_add_page(9) π
okay so bestie, welcome to the kernel API manual, this one's from the <pink>Kernel API Manual</pink> girlies and it's literally all about gathering up page-based TLB invalidation. stay with me, it's giving lowkey iconic β¨
πΈ NAME πΈ
iommu_iotlb_gather_add_page β gather for page-based TLB invalidation π
π¦ SYNOPSIS π¦
void iommu_iotlb_gather_add_page (struct iommu_domain *domain , struct
iommu_iotlb_gather *gather , unsigned long iova , size_t size );
like, that's the whole signature bestie, no cap π
π ARGUMENTS π
domainβ the IOMMU domain that's getting invalidated, that's the main character here πgatherβ the TLB gather data, yes it's literally called gather, we love a self-descriptive name π«Άiovaβ start of the page to invalidate πsizeβ size of the page to invalidate π
β¨ DESCRIPTION β¨
so this is a helper for IOMMU drivers to build invalidation commands based on individual pages π§ β or, and this is the important bit, with page size/table level hints which cannot be gathered if they differ. like, if the hints differ, they can't be merged together, periodt π so the function sorts that out for you π
π SEE ALSO π
Kernel file ./include/linux/iommu.h β and honestly the whole friend group showed up for this one:
struct iommu_fault_page_request(9)struct iommu_fault(9)enum iommu_page_response_code(9)struct iommu_page_response(9)struct iopf_queue(9)struct iommu_resv_region(9)struct iommu_iotlb_gather(9)struct iommu_dirty_bitmap(9)struct iommu_dirty_ops(9)struct iommu_user_data(9)struct iommu_user_data_array(9)__iommu_copy_struct_from_user(9)iommu_copy_struct_from_user(9)__iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_full_user_array(9)__iommu_copy_struct_to_user(9)iommu_copy_struct_to_user(9)struct iommu_ops(9)struct iommu_domain_ops(9)struct iommu_device(9)struct iommu_fault_param(9)struct dev_iommu(9)iommu_iotlb_gather_is_disjoint(9)iommu_iotlb_gather_add_range(9)struct iommu_fwspec(9)struct iommu_sva(9)iommu_map_sgtable(9)
and that's the whole page bestie, ate and left no crumbs π β¨
shoutout to the ./include/linux girlies for hosting this one, dated October 2026, straight from the Kernel API Manual β mwah, see u in the next manpage π«Άππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms