CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/12 07:22:16
Modified files:
sys/arch/sparc64/sparc64: locore.s
Log message:
Fix possible reace in ipi_drop_fpstate()
ipi_drop_fpstate() needs to check if the current fpu context matches the
expected one sent via IPI. Only after that %fprs should be cleared.
Use the same asm in ipi_drop_fpstate() as in the start of ipi_save_fpstate().
Also simplify ipi_drop_fpstate() and clearfpstate() since there is no need
to enable the FPU before clearing %fprs.
OK miod@ kettenis@ deraadt@