Hi there,
there is a typo in kernel code that prevents it from building – function signature declared incorrect. It’s in all versions of Jetpack including 35.3.1.
Here is the patch:
diff --git a/drivers/iommu/virtio-iommu.c b/drivers/iommu/virtio-iommu.c
index 81dea4caf561..498f20b764a6 100644
--- a/drivers/iommu/virtio-iommu.c
+++ b/drivers/iommu/virtio-iommu.c
@@ -724,7 +724,7 @@ static int viommu_attach_dev(struct iommu_domain *domain, struct device *dev)
}
static int viommu_map(struct iommu_domain *domain, unsigned long iova,
- phys_addr_t paddr, size_t size, int prot, gfp_t gfp)
+ phys_addr_t paddr, size_t size, int prot, gfp_t gfp, struct iommu_iotlb_gather *gather)
{
int ret;
u32 flags;