HomeFreeBSD

arm64: Flush the spintable release address

Description

arm64: Flush the spintable release address

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.

Reviewed by: jhibbits, kevans
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45083

Details

Provenance
andrewAuthored on May 3 2024, 4:17 PM
Reviewer
jhibbits
Differential Revision
D45083: arm64: Flush the spintable release address
Parents
rGc78ebc69c2aa: arm64: Support a shared release for spin-table
Branches
Unknown
Tags
Unknown