Public bug reported:
SRU Justification:
[Impact]
In the existing PKA driver implementation, in function
pka_dev_init_shim, the shim->mutex is first used in the
pka_dev_trng_read function. However, the mutex is initialized after the
pka_dev_trng_read function. This causes runtime kernel panic.
[Fix]
* Move the mutex initialization before the TRNG related function calls.
[Test Case]
* Verify the PKA devices can be successfully probed during kernel boot.
[Other]
* This code is likely to change depending on feedback we received from
maintainers.
** Affects: linux-bluefield (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127200
Title:
mlxbf-pka: fix the PKA shim mutex initialization issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2127200/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs