diff options
author | Horia Geantă <[email protected]> | 2018-10-08 14:09:37 +0300 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-10-17 14:14:46 +0800 |
commit | 29e83c757006fd751966bdc53392bb22d74179c6 (patch) | |
tree | d66f2708bd317cae2087a29645d5606e10f571f6 /security/selinux/hooks.c | |
parent | 58c8a863550b19ab3559dd5f5e27cc698c03e53b (diff) |
crypto: caam/qi - simplify CGR allocation, freeing
CGRs (Congestion Groups) have to be freed by the same CPU that
initialized them.
This is why currently the driver takes special measures; however, using
set_cpus_allowed_ptr() is incorrect - as reported by Sebastian.
Instead of the generic solution of replacing set_cpus_allowed_ptr() with
work_on_cpu_safe(), we use the qman_delete_cgr_safe() QBMan API instead
of qman_delete_cgr() - which internally takes care of proper CGR
deletion.
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Horia Geantă <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions