Page MenuHomeFreeBSD

arm64: Flush the spintable release address
ClosedPublic

Authored by andrew on May 3 2024, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 20, 12:22 PM
Unknown Object (File)
Tue, Jul 9, 9:47 PM
Unknown Object (File)
Sat, Jun 29, 12:28 PM
Unknown Object (File)
May 11 2024, 1:26 AM
Unknown Object (File)
May 8 2024, 5:43 AM
Unknown Object (File)
May 8 2024, 5:43 AM
Unknown Object (File)
May 8 2024, 4:26 AM
Unknown Object (File)
May 8 2024, 2:09 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