https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270816

--- Comment #9 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=e769bc77184312b6137a9b180c97b87c0760b849

commit e769bc77184312b6137a9b180c97b87c0760b849
Author:     Marius Strobl <[email protected]>
AuthorDate: 2026-01-26 13:58:57 +0000
Commit:     Marius Strobl <[email protected]>
CommitDate: 2026-01-26 15:54:48 +0000

    sym(4): Employ memory barriers also on x86

    In an MP world, it doesn't hold that x86 requires no memory barriers.

    This change should also fix panics due to out-of-sync data seen with
    FreeBSD VMs on top of OpenStack and HBAs of type lsiLogic. [1]

    While at it:
    - Improve the granularity somewhat by distinguishing between read and
      write memory barriers as well as refer to existing *mb(9) functions
      instead of duplicating these [2], unless IO barriers are also used.
    - Nuke the unused SYM_DRIVER_NAME macro.

    PR:             270816 [1]
    Obtained from:  BSD-licensed Linux sym53c8xx driver [2]
    MFC after:      1 week

 sys/dev/sym/sym_hipd.c | 42 +++++++++++++++---------------------------
 1 file changed, 15 insertions(+), 27 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to