aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2025-05-06 15:59:39 +0000
committerPaolo Abeni <[email protected]>2025-05-08 09:33:30 +0000
commitf34343cc11afc7bb1f881c3492bee3484016bf71 (patch)
tree4bb7d480f8e2bd09235ed19dc0d3deb695e9b342 /net/unix/af_unix.c
parentMerge branch 'net-dsa-b53-accumulated-fixes' (diff)
downloadkernel-f34343cc11afc7bb1f881c3492bee3484016bf71.tar.gz
kernel-f34343cc11afc7bb1f881c3492bee3484016bf71.zip
fbnic: Fix initialization of mailbox descriptor rings
Address to issues with the FW mailbox descriptor initialization. We need to reverse the order of accesses when we invalidate an entry versus writing an entry. When writing an entry we write upper and then lower as the lower 32b contain the valid bit that makes the entire address valid. However for invalidation we should write it in the reverse order so that the upper is marked invalid before we update it. Without this change we may see FW attempt to access pages with the upper 32b of the address set to 0 which will likely result in DMAR faults due to write access failures on mailbox shutdown. Fixes: da3cde08209e ("eth: fbnic: Add FW communication mechanism") Signed-off-by: Alexander Duyck <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/174654717972.499179.8083789731819297034.stgit@ahduyck-xeon-server.home.arpa Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions