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)
Oct 20 2024, 5:11 AM
Unknown Object (File)
Sep 18 2024, 6:37 AM
Unknown Object (File)
Sep 10 2024, 8:55 AM
Unknown Object (File)
Sep 8 2024, 6:37 AM
Unknown Object (File)
Sep 5 2024, 6:32 PM
Unknown Object (File)
Sep 1 2024, 3:41 AM
Unknown Object (File)
Aug 31 2024, 9:46 PM
Unknown Object (File)
Aug 7 2024, 11: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 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.