Page MenuHomeFreeBSD

Put other CPUs into tight loop when updating microcode from loaded OS.
ClosedPublic

Authored by kib on May 8 2019, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 2:11 PM
Unknown Object (File)
Sat, Apr 27, 2:11 PM
Unknown Object (File)
Sat, Apr 27, 2:11 PM
Unknown Object (File)
Sat, Apr 27, 1:17 PM
Unknown Object (File)
Sat, Apr 27, 12:07 PM
Unknown Object (File)
Sat, Apr 20, 6:03 AM
Unknown Object (File)
Feb 6 2024, 7:56 AM
Unknown Object (File)
Jan 30 2024, 10:43 PM
Subscribers

Details

Summary

This should prevent at least some theoretical issues whith code execution on HT sibling of the core where the update is loaded.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/dev/cpuctl/cpuctl.c
387 ↗(On Diff #57193)

I believe you can simply pass NULL instead of null_st for the same effect.

kib marked an inline comment as done.May 8 2019, 7:43 PM
kib added inline comments.
sys/dev/cpuctl/cpuctl.c
387 ↗(On Diff #57193)

Ah yes, smp_rendezvous() requires special value, not NULL, to skip spinning.

kib marked an inline comment as done.

Simplify.

This revision is now accepted and ready to land.May 8 2019, 7:48 PM
This revision was automatically updated to reflect the committed changes.