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
F84384329: D20201.diff
Thu, May 23, 3:20 AM
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)
Apr 20 2024, 6:03 AM
Unknown Object (File)
Feb 6 2024, 7:56 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 24162

Event Timeline

sys/dev/cpuctl/cpuctl.c
382

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
382

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.