Flush and invalidate caches on each CPU as part of handling IPI_STOP.
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Apr 2014 20:16:51 +0000 (20:16 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Apr 2014 20:16:51 +0000 (20:16 +0000)
commit43d4bc5240c71222a0d416cf1f847a09455a6559
tree399eff5fb954f5989d4ea00019ab828dcd86f4bf
parent812283bf4138d88c06096307dd1b9f993dd98f6b
Flush and invalidate caches on each CPU as part of handling IPI_STOP.

Flushing the caches is required before doing a panic dump, but ARM
doesn't provide a flavor of flush that gets broadcast to other cores.
However, all cores except one are stopped before doing a dump, so this
works around the lack of a global flush/invalidate by doing it locally
on each CPU as part of stopping.

Discussed with: cognet@

git-svn-id: svn://svn.freebsd.org/base/head@265024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/minidump_machdep.c
sys/arm/arm/mp_machdep.c