2nd question on highmem in lldd
Hi,
how are failures of dma_map_sg supposed to be reported to higher layers?
Regards
Oliver
Quoted 1 line · Oliver Neukum
how are failures of
dma_map_sgsupposed to be reported to higher layers?
return DID_REQUEUE in the host byte of the command result is probably closest to the behaviour you want: it will requeue until another command returns for the host which (presumably) frees up some IOMMU resources.
James