On Tue, 7 Dec 2021 19:33:15 +0800, yf.wang@xxxxxxxxxxxx wrote: > From: Yunfei Wang <yf.wang@xxxxxxxxxxxx> > > In __arm_v7s_alloc_table function: > iommu call kmem_cache_alloc to allocate page table, this function > allocate memory may fail, when kmem_cache_alloc fails to allocate > table, call virt_to_phys will be abnomal and return unexpected phys > and goto out_free, then call kmem_cache_free to release table will > trigger KE, __get_free_pages and free_pages have similar problem, > so add error handle for page table allocation failure. > > [...] Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure https://git.kernel.org/will/c/a556cfe4cabc Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev