[PATCH 5.15 184/402] dmaengine: idma64: Add check for dma_set_max_seg_size