ACK: [SRU][J:linux-bluefield][PATCH v1 0/2] pinctrl-mlxbf3: should enable 'const pinctrl_desc' in Jammy

Kuba Pawlak kuba.pawlak at canonical.com
Mon Aug 18 13:01:30 UTC 2025


On 13.08.2025 22:41, David Thompson wrote:
> BugLink: https://bugs.launchpad.net/bugs/2120587
>
> SRU Justification:
>
> [Impact]
> Recent upstream changes to kernel and the BlueField-3 pin control driver,
> pinctrl-mlxbf3, support the use of "const pinctrl_desc". This critical
> driver structure should make use of this technique for improved stability.
>
> [Fix]
> The fix is to cherry pick the following upstream patch:
>      490bfd1ca556 pinctrl: Constify static 'pinctrl_desc'
> It may be required to cherry pick other upstream patches so that
> everything applies cleanly.
>
> [Test Case]
> * Boot BlueField-3 platform with software containing fix
> * Verify that pinctrl-mlxbf3 modules is loaded properly
> * Check the kernel log via dmesg for proper messages from pinctrl subsystem
> * Verify that there are no kernel faults caused by pinctrl-mlxbf3
> * Reboot several times and keep checking log
>
> [Regression Potential]
> This fix is upstreamed and tested well.
>
> Krzysztof Kozlowski (2):
>    pinctrl: Constify pointers to 'pinctrl_desc'
>    pinctrl: Constify static 'pinctrl_desc'
>
>   drivers/pinctrl/berlin/berlin.c   |  2 +-
>   drivers/pinctrl/core.c            | 13 +++++++------
>   drivers/pinctrl/core.h            |  2 +-
>   drivers/pinctrl/pinctrl-artpec6.c |  2 +-
>   drivers/pinctrl/pinctrl-bm1880.c  |  2 +-
>   drivers/pinctrl/pinctrl-k210.c    |  2 +-
>   drivers/pinctrl/pinctrl-lpc18xx.c |  2 +-
>   drivers/pinctrl/pinctrl-mlxbf3.c  |  2 +-
>   drivers/pinctrl/pinctrl-tb10x.c   |  2 +-
>   drivers/pinctrl/pinctrl-zynq.c    |  2 +-
>   include/linux/pinctrl/pinctrl.h   |  8 ++++----
>   11 files changed, 20 insertions(+), 19 deletions(-)
>
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/20250818/8ee7d90f/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/20250818/8ee7d90f/attachment.sig>


More information about the kernel-team mailing list