On Mon, Dec 06, 2021 at 10:24:47PM -0800, Dmitry Torokhov wrote: > > That is what I am confused about: why can't it be a part of API? Users > that are running in atomic contexts would not be able to use it, but we > have a lot of precedents for it. See for example spi_sync() vs > spi_async(). Callers have a choice as to which one to use, based on > their needs. We already have a helper in the form of crypto_wait_req. If you have any suggestions of making this easier to use then I'm more than happy to consider them. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt