ACK: [SRU][J/N:linux-bluefield][PATCH v1 0/1] platform/mellanox: mlxbf-pka: fix the PKA shim mutex initialization issue
Kuba Pawlak
kuba.pawlak at canonical.com
Mon Oct 20 07:31:08 UTC 2025
On 10/9/25 19:56, Ron Li wrote:
> BugLink: https://bugs.launchpad.net/bugs/2127200
>
> 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 lock warning.
>
> [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.
>
> Ron Li (1):
> UBUNTU: SAUCE: platform/mellanox: fix the PKA shim mutex
> initialization issue
>
> drivers/platform/mellanox/mlxbf_pka/mlxbf_pka_dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Kuba Pawlak <kuba.pawlak at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x216A9D7E3B63DCB4.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251020/b22a0906/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251020/b22a0906/attachment.sig>
More information about the kernel-team
mailing list