Page MenuHomeFreeBSD

arm64: Flush the spintable release address
ClosedPublic

Authored by andrew on May 3 2024, 4:24 PM.
Tags
None
Referenced Files
F131668544: D45083.diff
Fri, Oct 10, 4:50 AM
F131637174: D45083.diff
Thu, Oct 9, 10:52 PM
Unknown Object (File)
Sun, Oct 5, 4:15 PM
Unknown Object (File)
Tue, Sep 23, 3:16 AM
Unknown Object (File)
Fri, Sep 19, 7:25 PM
Unknown Object (File)
Thu, Sep 18, 8:32 PM
Unknown Object (File)
Wed, Sep 17, 1:57 AM
Unknown Object (File)
Sat, Sep 13, 10:35 AM
Subscribers

Details

Summary

Ensure the spintable release address is written back from the cache
to memory. The other CPUs reading this may not be reading it with the
cache enabled so ensure it is written to the point of coherency
before issuing the wakeup sev.

As cpu_dcache_wbinv_range includes the needed barrier remove it from
the inline asm before the sev instruction.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable