Re: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is already initialized

From: Bryan O'Donoghue
Date: Fri Feb 02 2018 - 06:21:16 EST


On 01/02/18 12:16, Horia Geantă wrote:
If the loop cannot exit based on value of "ret" != -EAGAIN, then it means
caam_probe() will eventually fail due to ret == -EAGAIN:
if (ret) {
dev_err(dev, "failed to instantiate RNG");
goto caam_remove;
}

For me it's an endless loop applying the first two

https://patchwork.ozlabs.org/patch/866460/
https://patchwork.ozlabs.org/patch/866462/

but not this one

https://patchwork.ozlabs.org/patch/865890/

Please provide more details, so that the root cause is found and fixed.

np

---
bod