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)
Wed, Nov 19, 11:21 PM
Unknown Object (File)
Mon, Nov 3, 11:30 PM
Unknown Object (File)
Wed, Oct 29, 2:41 AM
Unknown Object (File)
Sun, Oct 26, 10:21 PM
Unknown Object (File)
Oct 22 2025, 7:26 AM
Unknown Object (File)
Oct 21 2025, 2:32 AM
Unknown Object (File)
Oct 14 2025, 7:23 PM
Unknown Object (File)
Oct 14 2025, 7:23 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.