Page MenuHomeFreeBSD

arm64: Flush the spintable release address
ClosedPublic

Authored by andrew on Fri, May 3, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 11, 1:26 AM
Unknown Object (File)
Wed, May 8, 5:43 AM
Unknown Object (File)
Wed, May 8, 5:43 AM
Unknown Object (File)
Wed, May 8, 4:26 AM
Unknown Object (File)
Wed, May 8, 2:09 AM
Unknown Object (File)
Sun, May 5, 10:55 PM
Unknown Object (File)
Sat, May 4, 9:39 PM
Unknown Object (File)
Sat, May 4, 4:19 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