ACK: [PATCH v1 0/1] [SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: mlxbf-tmfifo: fix potential race
Andrei Gherzan
andrei.gherzan at canonical.com
Mon Jun 26 11:40:10 UTC 2023
On 23/06/22 09:06AM, Liming Sun wrote:
> BugLink: https://bugs.launchpad.net/bugs/2016039
>
> SRU Justification:
>
> [Impact]
> This commit is ported from Jammy repo (commit eeeee955aefe).
> This change is needed to avoid potential race of accessing the 'vq' pointer
>
> [Fix]
> The fix adds memory barrier for the is_ready flag and the 'vq' pointer access in mlxbf_tmfifo_virtio_find_vqs(), so updated in vq will be visible before accessing this pointer.
>
> [Test Case]
> Same functionality and testing as on BlueField-1/2/3. No functionality change.
>
> [Regression Potential]
> Same behavior from user perspective
>
> Liming Sun (1):
> UBUNTU: SAUCE: mlxbf-tmfifo: fix potential race
>
> drivers/platform/mellanox/mlxbf-tmfifo.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> --
> 2.30.1
Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>
--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230626/ef0c413b/attachment-0001.sig>
More information about the kernel-team
mailing list