summaryrefslogtreecommitdiff
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>2025-09-02 16:21:30 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-09-13 12:11:05 +0800
commit27eaada08c8c94f0d89225c8fd982320c68b9a80 (patch)
treee968a86890c99cceb35045048cfcd6474569c7b5 /rust/kernel/irq/request.rs
parentcedb1e9e9a6465ce0568588d6b8ff10b9826603e (diff)
crypto: sun8i-ce - move bounce_iv and backup_iv to request context
Currently, the iv buffers are allocated per flow during driver probe, which means that the buffers are shared by all requests. This works because the driver is not yet truly asynchronous, since it waits inside do_one_request() for the completion irq. However, the iv data is request-specific, so it should be part of the request context. Move iv buffers to request context. The bounce_iv buffer is aligned to sizeof(u32) to match the 'word address' requirement for the task descriptor's iv field. Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions