Post

Chris Blume
Chris Blume@ProgramMax·
I feel like this might be a question for @lauriewired Suppose I am running my own local server. I might not want microcode updates that slow down my CPU. The mitigation is a non-issue here. And suppose one CPU is just perfect for my specific case. Market for non-updated CPUs??
English
4
1
118
21.1K
LaurieWired
LaurieWired@lauriewired·
microcode get's hot-loaded every boot actually (for x86 at least), it's not persistent to the CPU itself it's the BIOS that loads the patch, and then often the OS on top of that so raw cpu -> bios (patch) -> os (patch again) really, if you want "old" microcode, that means an old BIOS + mitigations=off in the kernel, not an "old" CPU per se. (I think there might be some anti-rollback protections/fuses in some circumstances, but those are still rare-ish)
English
6
4
430
19.4K
Chris Blume
Chris Blume@ProgramMax·
@lauriewired I don't know why, but I had in my mind that it was an elaborate fuse network. On-boot patching makes a lot more sense. Well now I'm curious about the internals of how a CPU handles patchable instructions. I had the wrong mental model. *off to the reading chair*
English
5
0
26
2.2K
Brendan G Bohannon
Brendan G Bohannon@cr88192·
@ProgramMax @lauriewired Can't answer for mainstream CPUs, but for a soft-processor on FPGA, it can make sense to only implement core parts of the ISA in hardware; and effectively implement the rest as firmware. Using such an instruction effectively invokes an invisible trap handler, that fakes the op.
English
1
0
0
234
Paweł Lasek
Paweł Lasek@pawel_lasek·
@ProgramMax @lauriewired The CPU microcode is essentially a big lookup table that takes decoder output and turns it into sequence of microinstructions - the fast path ones are simply ones that map to single "line". The microcode mechanism has space to apply patches per instruction
English
1
0
1
98
Pat Dennis
Pat Dennis@patdennis·
@ProgramMax @lauriewired Budget gaming build YouTubers do this to get extra performance out of old intel cpus, usually rolling back the Meltdown and Spectre patches. Channel called budget builds does it all the time to get defunct hardware performing better
English
0
0
2
141
Paylaş