On Wed, May 19, 2021 at 01:36:37PM +0200, Ard Biesheuvel wrote: > > So if we do need to check this, we should check it here. If we don't, > then we can drop these patches. Historically other things would break in nasty ways if you tried to do crypto in hard IRQ contexts, e.g., overwritten kmap slots back when we had individual slots for each context, but I don't think we've ever found anyone crazy enough to do that to warrant a run-time check. I'd just leave it out for now. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt