pr_err("Saved iova=%pa for future PTE commands\n",&iova);
out:
mutex_unlock(&ddev->debug_dev_lock);
returnretval;
invalid_format:
pr_err("Invalid format. Expected: addr,len,dma attr where 'dma attr' is\n0: normal mapping\n1: force coherent\n2: force non-cohernet\n3: use system cache\n");
mutex_unlock(&ddev->debug_dev_lock);
returnretval;
invalid_addr:
pr_err("Invalid addr given! Address should be within 1MB size from start addr returned by doing 'cat test_virt_addr'.\n");